incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <ariel.constenla.ha...@gmail.com>
Subject Re: [LINUX-BUILD] problem with unoxml
Date Sat, 24 Sep 2011 04:12:18 GMT

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

Mime
View raw message