openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jupiter <jupiter....@gmail.com>
Subject Re: Build source from svn repository errors
Date Fri, 14 Nov 2014 23:32:49 GMT
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 <jza@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.hce@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-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> >
> >
>
>
> --
> Alexandro Colorado
> Apache OpenOffice Contributor
> 882C 4389 3C27 E8DF 41B9  5C4C 1DB7 9D1C 7F4C 2614
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message