You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "John Kinsella (JIRA)" <ji...@apache.org> on 2014/02/16 20:12:19 UTC
[jira] [Resolved] (CLOUDSTACK-6123) package.sh fails when env var
GREP=--color=always
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Kinsella resolved CLOUDSTACK-6123.
---------------------------------------
Resolution: Fixed
Fixed with commit. Tested builds on master and 4.2 branches.
> 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)