Chameleon

Issue 364: Package builder: sed doesn't like tiff files

Reported by Chuck Fry, Jan 7, 2014

I had been seeing the error message during 'make installer' in my 
branch after "Translating Resources":

sed: RE error: illegal byte sequence

It turns out to be caused by the makeSubstitutions function in 
package/buildpackage.sh attempting to do text substitutions on the 
contents of a .tiff file, in this case 
.../sym/package/Chameleon/Resources/background.tiff.in .

I put in an 'echo' to capture the erring 'sed' command, here it is 
(sorry about the formatting):

sed 

s&%CHAMELEONVERSION%&2.2svn&g
s&%CHAMELEONREVISION%&2315&g
s&%CHAMELEONSTAGE%&2.2svn&g
s&%DEVELOP%&zef, Turbo, dfe, netkas, mackerintel, 
mercurysquad, fassl, Kabyl, Crazor, Dense, kaitek, iNDi, munky, DHP, 
JrCs, asereBLN, rekursor, mozodojo, meklort, AnV, valv, AzimutZ, 
Slice, cosmo1t, cparm, Conti, ErmaC&g
s&%CREDITS%&bumby, kalyway, Krazubu, Eddie11c, JaS, fassl, 
XyZ, SMF, flama, Galaxy, sckevyn, MasterChief, smith@@, blackosx, 
DHP, nawcom, scorpius, macman, dmazar&g
s&%PKGDEV%&kalyway, AzimutZ, blackosx, ErmaC, scrax, 
JrCs&g
s&%CPRYEAR%&2008-2014&g
s&%WHOBUILD%&chucko&g
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s&@LOG_FILENAME@&Chameleon_Installer_Log.txt&g;t t
 



















/OSX86/Chameleon/svn/branches/chucko/sym/package/Chameleon/Resources/background.tiff.in 
> 
/OSX86/Chameleon/svn/branches/chucko/sym/package/Chameleon/Resources/
background.tiff


The erring call is at line 1206 of package/buildpackage.sh.

Comment 1 by Chuck Fry, Jan 7, 2014

I failed to mention that this is under OS X 10.9.1, latest Xcode, 
branches/chucko as of svn r2315.

Created: 10 years 3 months ago by Chuck Fry

Updated: 10 years 3 months ago

Status: New

Labels:
Priority:Medium
Type:Defect