Re: [LINUX-BUILD] problem with unoxml

2011-09-25 Thread Carl Marcum

Ariel ,

On 09/24/2011 07:36 PM, Ariel Constenla-Haile wrote:

On Sat, Sep 24, 2011 at 08:57:26AM -0400, TJ Frazier wrote:

Hi, Carl, Ariel,
This looks like a recent change by hdu (on CC). He may have some
good words on the subject. --/tj/


I guess he read this list, no need to CC him


If I got it right, the problem is in solenv/inc/unxlngx.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxlngx.mk?r1=1162288r2=1174164diff_format=h

DLLPOSTFIX=

before

DLLPOSTFIX=lx

If the DLLPOSTFIX is changed there, I guess it should be changed also in
solenv/gbuild/platform/linux.mk.


http://svn.apache.org/viewvc?diff_format=hview=revisionrevision=1174164
emptied almost every DLLPOSTFIX in solenv/inc/

There are three DLLPOSTFIXes remaining:

* trunk/main/solenv/inc/os2.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/os2.mk?annotate=1174164diff_format=hpathrev=1174164#l237
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/os2.mk?annotate=1174164diff_format=hpathrev=1174164#l318

* trunk/main/solenv/inc/wntgcci.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/wntgcci.mk?annotate=1174164diff_format=hpathrev=1174164#l185

* gb_Library_OOOEXT should be modified in solenv/gbuild/platform/*.mk to
   reflect the changes in the gbuild env.

A path is attached, I only tested it on Linux x86-64


Regards


I confirmed the patch worked for me on fedora 15 x86_64.

It looks like hdu committed r1175305 while I slept and my build was running.

Best regards,
Carl


Re: [LINUX-BUILD] problem with unoxml

2011-09-24 Thread TJ Frazier

Hi, Carl, Ariel,
This looks like a recent change by hdu (on CC). He may have some good 
words on the subject. --/tj/


On 9/24/2011 00:33, Ariel Constenla-Haile wrote:

On Sat, Sep 24, 2011 at 01:12:18AM -0300, Ariel Constenla-Haile wrote:

I can see that error too. This is the problem:

* the sax module is a dependency of unoxml, see unoxml/prj/build.lst
* solver/340/unxlngx6.pro/lib/libsaxlx.so does not exist, though it
   should have been built in sax module. Looking there, the library is
   now named libsax.so instead of libsaxlx.so, see sax/unxlngx6.pro/lib;
   and is so copied to the solver.
   When checking for the dependencies, the library is not found;
   output of make -rd in unoxml:

Considering target file
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
File
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
does not exist.
Looking for an implicit rule for
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Trying pattern rule with stem `libsaxlx'.
Found an implicit rule for
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Finished prerequisites of target file
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Must remake target
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Invoking recipe from
/mnt/build/openoffice/apache/trunk/main/solenv/gbuild/Library.mk:53 to
update target
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
R=/mnt/build/openoffice/apache/trunk  S=$R/main
O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p $O/lib/
/bin/cp --remove-destination --force --preserve=timestamps
$O/lib/libsaxlx.so

bin/cp: missing destination file operand after
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
Try `/bin/cp --help' for more information.


libsaxlx.so does not exist, so make tries to build it with a gbuild
recipe!
Yes, the cp command is wrong, but that's not the root cause of the
error.
It looks libsax.so should be named libsaxlx.so and delivered to the
solver with that name.
IMO we should investigate why the name has changed.



If I got it right, the problem is in solenv/inc/unxlngx.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxlngx.mk?r1=1162288r2=1174164diff_format=h

DLLPOSTFIX=

before

DLLPOSTFIX=lx

If the DLLPOSTFIX is changed there, I guess it should be changed also in
solenv/gbuild/platform/linux.mk.


Regards





Re: [LINUX-BUILD] problem with unoxml

2011-09-24 Thread Carl Marcum

Ariel,

I will test it on my build.

Thanks,
Carl

On 09/24/2011 07:36 PM, Ariel Constenla-Haile wrote:

On Sat, Sep 24, 2011 at 08:57:26AM -0400, TJ Frazier wrote:

Hi, Carl, Ariel,
This looks like a recent change by hdu (on CC). He may have some
good words on the subject. --/tj/


I guess he read this list, no need to CC him


If I got it right, the problem is in solenv/inc/unxlngx.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxlngx.mk?r1=1162288r2=1174164diff_format=h

DLLPOSTFIX=

before

DLLPOSTFIX=lx

If the DLLPOSTFIX is changed there, I guess it should be changed also in
solenv/gbuild/platform/linux.mk.


http://svn.apache.org/viewvc?diff_format=hview=revisionrevision=1174164
emptied almost every DLLPOSTFIX in solenv/inc/

There are three DLLPOSTFIXes remaining:

* trunk/main/solenv/inc/os2.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/os2.mk?annotate=1174164diff_format=hpathrev=1174164#l237
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/os2.mk?annotate=1174164diff_format=hpathrev=1174164#l318

* trunk/main/solenv/inc/wntgcci.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/wntgcci.mk?annotate=1174164diff_format=hpathrev=1174164#l185

* gb_Library_OOOEXT should be modified in solenv/gbuild/platform/*.mk to
   reflect the changes in the gbuild env.

A path is attached, I only tested it on Linux x86-64


Regards


Re: [LINUX-BUILD] problem with unoxml

2011-09-23 Thread Ariel Constenla-Haile
Hello Carl,

On Fri, Sep 23, 2011 at 09:19:09PM -0400, Carl Marcum wrote:
 How can I get better error information because the error below isn't
 very descriptive?
 
 Background is I'm building using:
 autoconf
 ./configure
 ./bootstrap
 source LinuxX86-64Env.Set.sh
 cd instsetoo_native  build --all

I always add --html
This way I get useful logs in [module]/unxlngx6[.pro]/misc/logs

 
 =
 Building module unoxml
 =
 
 Entering /home/carl/dev-svn/ooo-trunk/main/unoxml/prj
 
 cd ..  make -s -r -j1

that -s tells make to be quiet; from make --help:

 -s, --silent, --quiet   Don't echo recipes.

I always configure with --enable-verbose, which sets VERBOSE so that
make is invoked without -s (see /unoxml/prj/makefile.mk)

 [ build DEP ] LNK:Library/libunoxmllx.so
 [ build DEP ] LNK:Library/libunordflx.so
 /bin/cp: missing destination file operand after 
 `/home/carl/dev-svn/ooo-trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
 Try `/bin/cp --help' for more information.

something is wrong with the generated command, cp expects two arguments:

cp SOURCE DESTINATION

the error says the command is missing the DESTINATION operand.
Please rebuild unoxml and see what cp command is generated.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpJ0B45NLd0f.pgp
Description: PGP signature


Re: [LINUX-BUILD] problem with unoxml

2011-09-23 Thread Carl Marcum

Ariel,

Thank you for your help.

On 09/23/2011 10:32 PM, Ariel Constenla-Haile wrote:

Hello Carl,

On Fri, Sep 23, 2011 at 09:19:09PM -0400, Carl Marcum wrote:

How can I get better error information because the error below isn't
very descriptive?

Background is I'm building using:
autoconf
./configure
./bootstrap
source LinuxX86-64Env.Set.sh
cd instsetoo_native  build --all


I always add --html
This way I get useful logs in [module]/unxlngx6[.pro]/misc/logs



=
Building module unoxml
=

Entering /home/carl/dev-svn/ooo-trunk/main/unoxml/prj

cd ..  make -s -r -j1


that -s tells make to be quiet; from make --help:

  -s, --silent, --quiet   Don't echo recipes.

I always configure with --enable-verbose, which sets VERBOSE so that
make is invoked without -s (see /unoxml/prj/makefile.mk)


[ build DEP ] LNK:Library/libunoxmllx.so
[ build DEP ] LNK:Library/libunordflx.so
/bin/cp: missing destination file operand after 
`/home/carl/dev-svn/ooo-trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
Try `/bin/cp --help' for more information.


something is wrong with the generated command, cp expects two arguments:

cp SOURCE DESTINATION

the error says the command is missing the DESTINATION operand.
Please rebuild unoxml and see what cp command is generated.


Regards



This time with
./configure --enable-verbose
and
cd instsetoo_native  build --all --html

It appears no destination is called after $O/lib/libsaxlx.so in the cp 
command.


output from /main/unoxml/unxlngx6.pro/misc/logs/prj.txt near error

[ build DEP ] LNK:Library/libunordflx.so
R=/home/carl/dev-svn/ooo-trunk  S=$R/main  
O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p 
$W/Dep/LinkTarget/Library/  RESPONSEFILE=/tmp/gbuild.9rgSNY  cat 
${RESPONSEFILE} /dev/null | xargs -n 200 cat  
$W/Dep/LinkTarget/Library/libunordflx.so.d  rm -f ${RESPONSEFILE}
R=/home/carl/dev-svn/ooo-trunk  S=$R/main  
O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p $O/lib/  
/bin/cp --remove-destination --force --preserve=timestamps 
$O/lib/libsaxlx.so
/bin/cp: missing destination file operand after 
`/home/carl/dev-svn/ooo-trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'

Try `/bin/cp --help' for more information.
make: *** 
[/home/carl/dev-svn/ooo-trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so] 
Error 1

dmake:  Error code 2, while making 'all'

Thanks,
Carl


Re: [LINUX-BUILD] problem with unoxml

2011-09-23 Thread Ariel Constenla-Haile

Hello Carl,

On Fri, Sep 23, 2011 at 11:40:56PM -0400, Carl Marcum wrote:
 This time with
 ./configure --enable-verbose
 and
 cd instsetoo_native  build --all --html
 
 It appears no destination is called after $O/lib/libsaxlx.so in the
 cp command.
 
 output from /main/unoxml/unxlngx6.pro/misc/logs/prj.txt near error
 
 [ build DEP ] LNK:Library/libunordflx.so
 R=/home/carl/dev-svn/ooo-trunk  S=$R/main 
 O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p
 $W/Dep/LinkTarget/Library/  RESPONSEFILE=/tmp/gbuild.9rgSNY  cat
 ${RESPONSEFILE} /dev/null | xargs -n 200 cat 
 $W/Dep/LinkTarget/Library/libunordflx.so.d  rm -f ${RESPONSEFILE}
 R=/home/carl/dev-svn/ooo-trunk  S=$R/main 
 O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p $O/lib/ 
 /bin/cp --remove-destination --force --preserve=timestamps
 $O/lib/libsaxlx.so
 /bin/cp: missing destination file operand after 
 `/home/carl/dev-svn/ooo-trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
 Try `/bin/cp --help' for more information.
 make: *** 
 [/home/carl/dev-svn/ooo-trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so]
 Error 1
 dmake:  Error code 2, while making 'all'
 
 Thanks,
 Carl

I can see that error too. This is the problem:

* the sax module is a dependency of unoxml, see unoxml/prj/build.lst
* solver/340/unxlngx6.pro/lib/libsaxlx.so does not exist, though it
  should have been built in sax module. Looking there, the library is
  now named libsax.so instead of libsaxlx.so, see sax/unxlngx6.pro/lib; 
  and is so copied to the solver. 
  When checking for the dependencies, the library is not found; 
  output of make -rd in unoxml:

Considering target file
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
File
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
does not exist.
Looking for an implicit rule for
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Trying pattern rule with stem `libsaxlx'.
Found an implicit rule for
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Finished prerequisites of target file
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Must remake target
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
Invoking recipe from
/mnt/build/openoffice/apache/trunk/main/solenv/gbuild/Library.mk:53 to
update target
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
R=/mnt/build/openoffice/apache/trunk  S=$R/main 
O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p $O/lib/ 
/bin/cp --remove-destination --force --preserve=timestamps
$O/lib/libsaxlx.so 

bin/cp: missing destination file operand after
`/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
Try `/bin/cp --help' for more information.


libsaxlx.so does not exist, so make tries to build it with a gbuild
recipe!
Yes, the cp command is wrong, but that's not the root cause of the
error.
It looks libsax.so should be named libsaxlx.so and delivered to the
solver with that name.
IMO we should investigate why the name has changed.

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpLIFRFhPwId.pgp
Description: PGP signature


Re: [LINUX-BUILD] problem with unoxml

2011-09-23 Thread Ariel Constenla-Haile
On Sat, Sep 24, 2011 at 01:12:18AM -0300, Ariel Constenla-Haile wrote:
 I can see that error too. This is the problem:
 
 * the sax module is a dependency of unoxml, see unoxml/prj/build.lst
 * solver/340/unxlngx6.pro/lib/libsaxlx.so does not exist, though it
   should have been built in sax module. Looking there, the library is
   now named libsax.so instead of libsaxlx.so, see sax/unxlngx6.pro/lib; 
   and is so copied to the solver. 
   When checking for the dependencies, the library is not found; 
   output of make -rd in unoxml:
 
 Considering target file
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
 File
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
 does not exist.
 Looking for an implicit rule for
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
 Trying pattern rule with stem `libsaxlx'.
 Found an implicit rule for
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
 Finished prerequisites of target file
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
 Must remake target
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
 Invoking recipe from
 /mnt/build/openoffice/apache/trunk/main/solenv/gbuild/Library.mk:53 to
 update target
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
 R=/mnt/build/openoffice/apache/trunk  S=$R/main 
 O=$S/solver/340/unxlngx6.pro  W=$O/workdir   mkdir -p $O/lib/ 
 /bin/cp --remove-destination --force --preserve=timestamps
 $O/lib/libsaxlx.so 
 
 bin/cp: missing destination file operand after
 `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
 Try `/bin/cp --help' for more information.
 
 
 libsaxlx.so does not exist, so make tries to build it with a gbuild
 recipe!
 Yes, the cp command is wrong, but that's not the root cause of the
 error.
 It looks libsax.so should be named libsaxlx.so and delivered to the
 solver with that name.
 IMO we should investigate why the name has changed.


If I got it right, the problem is in solenv/inc/unxlngx.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxlngx.mk?r1=1162288r2=1174164diff_format=h

DLLPOSTFIX=

before

DLLPOSTFIX=lx

If the DLLPOSTFIX is changed there, I guess it should be changed also in
solenv/gbuild/platform/linux.mk.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpMGShaV4QMB.pgp
Description: PGP signature