ports/168717: editors/libreoffice: does not compile
J B
jb.1234abcd at gmail.com
Sat Jun 16 11:00:28 UTC 2012
The following reply was made to PR ports/168717; it has been noted by GNATS.
From: J B <jb.1234abcd at gmail.com>
To: FreeBSD-gnats-submit at freebsd.org, freebsd-bugs at freebsd.org
Cc:
Subject: ports/168717: editors/libreoffice: does not compile
Date: Sat, 16 Jun 2012 12:56:43 +0200
Next I continued in top-level dir.
This time it died inside 'tail_build':
...
gmake[2]: *** No rule to make target `/usr/ports/editors/libreoffice/work/libreo
ffice-core-3.5.2.2/workdir/unxfbsdi.pro/CxxObject/filter/source/config/cache/bas
econtainer.o', needed by `/usr/ports/editors/libreoffice/work/libreoffice-core-3
.5.2.2/workdir/unxfbsdi.pro/LinkTarget/Library/libfilterconfiglo.so'. Stop.
gmake[2]: *** Waiting for unfinished jobs....
clang++: warning: argument unused during compilation: '-rpath=/usr/lib:/usr/loca
l/lib'
dmake: Error code 2, while making 'all'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/lib
reoffice-core-3.5.2.2/tail_build/prj
it seems that the error is inside 'tail_build', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
/usr/local/bin/bash
cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd tail_build
gmake clean # optional
gmake -r
So, I followed with compilation inside 'tail_build'.
Unfortunately, unlike previous inside module builds, it died:
...
[root at localhost /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/tai
l_build]# gmake -r
...
[ build LNK ] CppunitTest/libtest_lotuswordpro_test_lotuswordpro.so
R=/usr/ports/editors/libreoffice/work && S=$R/libreoffice-core-3.5.2.2 && O=$S/s
olver/unxfbsdi.pro && W=$S/workdir/unxfbsdi.pro && mkdir -p $W/LinkTarget/Cppun
itTest/ && clang++ -shared -Wl,-z,noexecstack -Wl,-rpath-link,/lib:/usr/lib -W
l,-z,combreloc -L$S/solenv/unxfbsdi/lib -L$O/lib -L$S/solenv/unxfbsdi/lib -L/u
sr/local/lib -Wl,--hash-style=sysv -Wl,--dynamic-list-cpp-new -Wl,--dynamic-li
st-cpp-typeinfo -Wl,-Bsymbolic-functions -Wl,--strip-all $W/CxxObject/lotuswo
rdpro/qa/cppunit/test_lotuswordpro.o -Wl,--start-group -Wl,--end-group -L/
usr/local/lib -lcppunit -lcomphelpgcc3 -luno_cppu -luno_cppuhelpergcc3 -luno_
sal -ltest -lunotest -lvcllo -o $W/LinkTarget/CppunitTest/libtest_lotuswordpro_t
est_lotuswordpro.so
TEMPFILE=/tmp/gbuild.XXXXXX.PzdEQBnY && mv ${TEMPFILE} /usr/ports/editors/libre
office/work/libreoffice-core-3.5.2.2/workdir/unxfbsdi.pro/LinkTarget/CppunitTest
/libtest_lotuswordpro_test_lotuswordpro.so.objectlist
[ build CUT ] lotuswordpro_test_lotuswordpro
R=/usr/ports/editors/libreoffice/work && S=$R/libreoffice-core-3.5.2.2 && O=$S/s
olver/unxfbsdi.pro && W=$S/workdir/unxfbsdi.pro && mkdir -p $W/CppunitTest/ &&
(LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPAT
H=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_lotus
wordpro_test_lotuswordpro.so --headless --protector unoexceptionprotector.so uno
exceptionprotector "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "
-env:UNO_TYPES= file://$O/bin/udkapi.rdb file://$O/bin/types.rdb" "-env:UNO_SE
RVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/lotuswordpro/util
/lwpfilter.component file://$O/xml/configmgr.component file://$O/xml/ucb1.comp
onent file://$O/xml/ucpfile1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/l
ib -env:LO_LIB_DIR=file://$O/lib > $W/CppunitTest/lotuswordpro_test_lotuswordpr
o.test.log 2>&1 || (cat $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log &
& echo; echo "Error: a unit test failed, please do one of:"; echo; echo "export
DEBUGCPPUNIT=TRUE # for exception catching"; echo "export GDBCPPUNITT
RACE=\"gdb --args\" # for interactive debugging"; echo "export VALGRIND=memcheck
# for memory checking" ; echo "and retry." && false))
Segmentation fault (core dumped)
File tested,Test Result,Execution Time (ms)
file:///usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lotuswordpro
/qa/cppunit/data/pass/A14.lwp,Signal 11 during cups initialization called, ignor
ing cups
Error: a unit test failed, please do one of:
export DEBUGCPPUNIT=TRUE # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck # for memory checking
and retry.
gmake: *** [/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/workdir
/unxfbsdi.pro/CppunitTest/lotuswordpro_test_lotuswordpro.test] Error 1
[root at localhost /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/tai
l_build]#
It died with Signal 11 segmentation fault.
That's it.
jb
More information about the freebsd-office
mailing list