Re: Build source from svn repository errors

2014-11-16 Thread jupiter
On 11/16/14, Andrea Pescetti pesce...@apache.org wrote:
 jupiter wrote:
 $ svn info
 Path: .
 URL: https://svn.apache.org/repos/asf/incubator/ooo/trunk

 This is wrong. Where did you find the incubator URL? It's been obsolete
 since 2012.

 svn co https://svn.apache.org/repos/asf/openoffice/trunk from
 https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO.
 The URL seems correct.

 This would be the right one, but your checkout is from the obsolete
 incubator tree. The problem is there.


Hmm, it is my friend's computer, I am helping him to compile the code.
I'll check with my friend.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Build source from svn repository errors

2014-11-15 Thread jupiter
On 11/15/14, Andrea Pescetti pesce...@apache.org wrote:
 jupiter wrote:
 Sorry for a dumb question, it is my first time to build the open office.
 I
 guess the binary executable file is openoffice.org, but I could not find
 it..
 $ ls aoo/main/instsetoo_native/
 unxlngx6.pro/OpenOffice/installed/install/en-US/openoffice.org
 basis3.5  ure

 The executable is
 main/instsetoo_native/unxlngx6.pro/Apache_OpenOffice/installed/install/en/openoffice4/program/soffice
 (if you configured with --with-package-format=installed ).

Hmm, I indeed configured with  --with-package-format=installed, but
could not find 
main/instsetoo_native/unxlngx6.pro/Apache_OpenOffice/installed/install/en/openoffice4.

 but the above seems to show that you are possibly building the wrong
 thing (and maybe this explains the errors you got too). Can you run svn
 info and give us the URL?

$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/incubator/ooo/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1639158
Node Kind: directory
Schedule: normal
Last Changed Author: wanglf
Last Changed Rev: 1413470
Last Changed Date: 2012-11-26 14:25:15 +1100 (Mon, 26 Nov 2012)

[aoo/.svn]$ vi entries

10

dir
1639158
https://svn.apache.org/repos/asf/incubator/ooo/trunk
https://svn.apache.org/repos/asf

2012-11-26T03:25:15.756526Z
1413470
wanglf
has-props

 Does it contain incubator? Where did you
 find it? We may need to update some documentation. Here
 https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO you
 should find the right URLs to use.

svn co https://svn.apache.org/repos/asf/openoffice/trunk from
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO.

The URL seems correct.

Thanks.

Regards.

- hce

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Build source from svn repository errors

2014-11-15 Thread Andrea Pescetti

jupiter wrote:

$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/incubator/ooo/trunk


This is wrong. Where did you find the incubator URL? It's been obsolete 
since 2012.



svn co https://svn.apache.org/repos/asf/openoffice/trunk from
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO.
The URL seems correct.


This would be the right one, but your checkout is from the obsolete 
incubator tree. The problem is there.


Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Build source from svn repository errors

2014-11-14 Thread Alexandro Colorado
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


Re: Build source from svn repository errors

2014-11-14 Thread jupiter
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



Re: Build source from svn repository errors

2014-11-14 Thread Kay Schenk


On 11/14/2014 03:32 PM, jupiter wrote:
 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

You could try adding --

VERBOSE_PACKIMG=TRUE

to your environment script (the one sourced before building), also
include this in the export set at the bottom of that script.

Then try a rebuild (clean build) -- see Build Cleanup
(https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#Build_Cleanup)

When you review output for packimages, you should then see output
messages of the images that are to be archived along with their paths.

This would help us determine what paths are checked and why this happened.

To my knowledge, I don't think this has been reported before.

 
 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

 

-- 
-
MzK

One must still have chaos in oneself to be able to give birth
 to a dancing star.
 -- Friedrich Nietzsche

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Build source from svn repository errors

2014-11-14 Thread jupiter
On Sat, Nov 15, 2014 at 11:06 AM, Kay Schenk kay.sch...@gmail.com wrote:



 On 11/14/2014 03:32 PM, jupiter wrote:
  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

 You could try adding --

 VERBOSE_PACKIMG=TRUE

 to your environment script (the one sourced before building), also
 include this in the export set at the bottom of that script.

 Then try a rebuild (clean build) -- see Build Cleanup
 (
 https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#Build_Cleanup
 )

 When you review output for packimages, you should then see output
 messages of the images that are to be archived along with their paths.

 This would help us determine what paths are checked and why this happened.

 To my knowledge, I don't think this has been reported before.

 Will do it.

Sorry for a dumb question, it is my first time to build the open office. I
guess the binary executable file is openoffice.org, but I could not find
it..

$ ls aoo/main/instsetoo_native/
unxlngx6.pro/OpenOffice/installed/install/en-US/openoffice.org
basis3.5  ure

- hce


Re: Build source from svn repository errors

2014-11-14 Thread Andrea Pescetti

jupiter wrote:

Sorry for a dumb question, it is my first time to build the open office. I
guess the binary executable file is openoffice.org, but I could not find
it..
$ ls aoo/main/instsetoo_native/
unxlngx6.pro/OpenOffice/installed/install/en-US/openoffice.org
basis3.5  ure


The executable is
main/instsetoo_native/unxlngx6.pro/Apache_OpenOffice/installed/install/en/openoffice4/program/soffice
(if you configured with --with-package-format=installed ).

but the above seems to show that you are possibly building the wrong 
thing (and maybe this explains the errors you got too). Can you run svn 
info and give us the URL? Does it contain incubator? Where did you 
find it? We may need to update some documentation. Here 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO you 
should find the right URLs to use.


Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Build source from svn repository errors

2014-11-13 Thread jupiter
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