Apache OpenOffice (AOO) Bugzilla – Issue 69774
make_installer.pl glitch with multi-language installer and Cygwin md5sum
Last modified: 2007-01-04 16:48:14 UTC
In make_installer.pl is the code: my $loglanguagestring_orig = $loglanguagestring; if (length($loglanguagestring) > 120) { chomp(my $shorter = `echo $loglanguagestring | md5sum | sed -e "s/ -//g"`); $loglanguagestring = $shorter; } As such I don't understand what's so magic with the length 120, but anyway, the problem on a Cygwin-based build is that the md5sum output looks like: 04d214ac94b0d2f46c621ac6bd6cc8b1 *- Note just one space and an asterisk after the hex digits. Thus the sed command fails to remove them. Trivial fix: --- solenv/bin/make_installer.pl +++ solenv/bin/make_installer.pl @@ -549,7 +549,7 @@ my $loglanguagestring_orig = $loglanguagestring; if (length($loglanguagestring) > 120) { - chomp(my $shorter = `echo $loglanguagestring | md5sum | sed -e "s/ -//g"`); + chomp(my $shorter = `echo $loglanguagestring | md5sum | sed -e "s/ .*//g"`); $loglanguagestring = $shorter; } Of course, the Perl way would be to use Digest::MD5's md5_hex() function for this instead of running three external programs, but I digress... After fixing this there are still other problems that pop up if one includes "too many" languages in a multi-language installer, but I'll open separate issues for those once I have investigated further.
Ingo, I guess this is something for you.
Yes, a simple fix. Try to find a cws for 2.1 .
Setting taret 2.2, perhaps 2.1 is still possible.
Accepted
Fixed in cws native72
Verified in cws native72.
Integrated in m198. Closing issue.