Thanks Alexandro, yes I did follow the build guides. Anyway, I had a quick look at the code packimages.pl and found following invalid path passed to $zip->addFile, the file /Build2/aoo/main/default_images/res/helpimg|/area1.png was fine, but following path was wrong. My gut felling is at least the packimages.pl should check the path before passing to the $zip->addFile. I added a check statement next unless (-e $path); which completed the build process, but did not fix the issue why an invalid path was generated.
/Build2/aoo/main/default_images/res/|-dir=/Build2/aoo/main/default_images/res/helpimg|/area1.png' Thank you. - hce On Fri, Nov 14, 2014 at 11:30 PM, Alexandro Colorado <j...@oooes.org> wrote: > Have you followed the Build Guide with the notes for your distro? > > This notes might be outdated, any updates are appreciated: > https://wiki.openoffice.org/wiki/Fedora_Build_Instructions > > On Fri, Nov 14, 2014 at 1:57 AM, jupiter <jupiter....@gmail.com> wrote: > > > Hi, > > > > I have just fetched source code from svn, but failed to build it in > > CentOS 6 where I installed Archive::Zip version 1.39. See following > > error: > > > > /usr/bin/perl /Build2/aoo/main/solenv/bin/packimages.pl -g > > /Build2/OPENOFFICE/aoo/main/default_images -m > > /Build2/aoo/main/default_images -c .. -l > > /Build2/aoo/main/solver/350/unxlngx6.pro/res/img -s > > ../unxlngx6.pro/res/img/sorted.lst -l ../unxlngx6.pro/res/img -o > > ../unxlngx6.pro/bin/images.zip > > packimages -- version: 1.17 > > > > Can't call method "desiredCompressionLevel" on an undefined value at > > /usr/local/share/perl5/Archive/Zip/Archive.pm line 257. > > > > 1 module(s): > > packimages > > need(s) to be rebuilt > > > > Reason(s): > > > > ERROR: error 65280 occurred while making /Build2/aoo/main/packimages/pack > > > > Is the source broken or is the perl issue? Any workaround to fix it? > > > > Thank you. > > > > - hce > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > > > > -- > Alexandro Colorado > Apache OpenOffice Contributor > 882C 4389 3C27 E8DF 41B9 5C4C 1DB7 9D1C 7F4C 2614 >