cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Kinsella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-6123) package.sh fails when env var GREP=--color=always
Date Sun, 16 Feb 2014 03:03:19 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Kinsella updated CLOUDSTACK-6123:
--------------------------------------

    Description: 
When attempting to build CloudStack RPMs on a system where the user's shell environment is
setting grep's colors to always on via the GREP environment variable, 

$ ./package.sh
4.2.1-SNAPSHOT
error: line 37: Illegal char in: Version:   4.2.1

Looking at the source directory and tarball built for the RPM build process, the issue becomes
more clear:

$ ls -l dist/rpmbuild/SOURCES/
total 533172
drwx------. 32 build build      4096 Feb 15 17:54 cloudstack-?[01;31m?[K4.?[m?[K2.1-SNAPSHOT
-rw-------.  1 build build 545959884 Feb 15 18:45 cloudstack-?[01;31m?[K4.?[m?[K2.1-SNAPSHOT.tgz

  was:
When attempting to build CloudStack RPMs on a system where the user's shell environment is
setting grep's colors to always on via the GREP environment variable, 

$ ./package.sh
4.2.1-SNAPSHOT
error: line 37: Illegal char in: Version:   4.2.1

Looking at the source directory and tarball built for the RPM build process, the issue becomes
more clear:

{noformat}
$ ls -l dist/rpmbuild/SOURCES/
total 533172
drwx------. 32 build build      4096 Feb 15 17:54 cloudstack-?[01;31m?[K4.?[m?[K2.1-SNAPSHOT
-rw-------.  1 build build 545959884 Feb 15 18:45 cloudstack-?[01;31m?[K4.?[m?[K2.1-SNAPSHOT.tgz
{noformat}



> package.sh fails when env var GREP=--color=always
> -------------------------------------------------
>
>                 Key: CLOUDSTACK-6123
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6123
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Packaging
>    Affects Versions: 4.2.1, 4.3.0, 4.4.0
>         Environment: CentOS 6.4
> Shell environment variable GREP="--color=always"
>            Reporter: John Kinsella
>            Assignee: John Kinsella
>            Priority: Minor
>
> When attempting to build CloudStack RPMs on a system where the user's shell environment
is setting grep's colors to always on via the GREP environment variable, 
> $ ./package.sh
> 4.2.1-SNAPSHOT
> error: line 37: Illegal char in: Version:   4.2.1
> Looking at the source directory and tarball built for the RPM build process, the issue
becomes more clear:
> $ ls -l dist/rpmbuild/SOURCES/
> total 533172
> drwx------. 32 build build      4096 Feb 15 17:54 cloudstack-?[01;31m?[K4.?[m?[K2.1-SNAPSHOT
> -rw-------.  1 build build 545959884 Feb 15 18:45 cloudstack-?[01;31m?[K4.?[m?[K2.1-SNAPSHOT.tgz



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message