editors/libreoffice not building

Julian H. Stacey jhs at berklix.com
Wed Oct 21 23:46:39 UTC 2015


Hi office at FreeBSD.org

I have occasionaly built editors/libreoffice, (always a small
miracle, its so big).  Build has failed a few times lately, while
I debugged other ports, & upgraded ports/, & now just this monster
libreoffice is left to do.

pkg info | wc -l	
  1136

uname -a
  FreeBSD lapr.js.berklix.net 11.0-CURRENT FreeBSD 11.0-CURRENT
  #12182: Mon Oct 19 23:57:08 CEST 2015
  jhs at lapr.js.berklix.net:/usr/src/sys/amd64/compile/LAPR.small
  amd64

cd /usr/ports/editors/libreoffice ; make

had been running for about a day with
cd /usr/ports ; cat .svn_revision
	399289

then it broke with

  ===>  Building for libreoffice-5.0.2
  gmake[2]: Entering directory '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2'
  Automatic fetching of external tarballs is disabled.
  mkdir -p /data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/instdir
  /data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/solenv/bin/install-gdb-printers -a /data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/instdir -c
  gmake -j 1  -rs -f /data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/Makefile.gbuild    all
  gmake[3]: Entering directory '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2'
  gmake[3]: *** No rule to make target '/usr/ports/distfiles/libreoffice/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2', needed by '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/workdir/UnpackedTarget/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2'.  Stop.
  gmake[3]: Leaving directory '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2'
  Makefile:247: recipe for target 'build' failed
  gmake[2]: *** [build] Error 2
  gmake[2]: Leaving directory '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2'
  *** Error code 1
  
  Stop.

Grep "Automatic fetching of external tarballs is disabled"

work/libreoffice-5.0.2.2/Makefile.in
work/libreoffice-5.0.2.2/Makefile

So without wasting much time to understand this, I tried

make DO_FETCH_TARBALLS=YES fetch

make ... continued briefly then blew again:

  no obvious way to instantiate implementation "com.sun.star.comp.CmisContentProvider"
  /data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/postprocess/qa/services.cxx:310:N12_GLOBAL__N_14TestE::test
  forced failure
  - instantiating "com.sun.star.comp.Draw.CDRImportFilter" via "com.sun.star.comp.Draw.CDRImportFilter"  caused com.sun.star.loader.CannotActivateFactoryException "loading component library <file:///data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/instdir/program/libwpftdrawlo.so> failed"
  
  services.cxx:310:Assertion
  Test name: N12_GLOBAL__N_14TestE::test
  forced failure
  - instantiating "com.sun.star.comp.Draw.CDRImportFilter" via "com.sun.star.comp.Draw.CDRImportFilter"  caused com.sun.star.loader.CannotActivateFactoryException "loading component library <file:///data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/instdir/program/libwpftdrawlo.so> failed"
  
  Failures !!!
  Run: 1   Failure total: 1   Failures: 1   Errors: 0
  
  Error: a unit test failed, please do one of:
  
  export DEBUGCPPUNIT=TRUE            # for exception catching
  export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
  export VALGRIND=memcheck            # for memory checking
  
  and retry using: make CppunitTest_services
  
  /data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/solenv/gbuild/CppunitTest.mk:87: recipe for target '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/workdir/CppunitTest/services.test' failed
  gmake[3]: *** [/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2/workdir/CppunitTest/services.test] Error 1
  gmake[3]: Leaving directory '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2'
  Makefile:247: recipe for target 'build' failed
  gmake[2]: *** [build] Error 2
  gmake[2]: Leaving directory '/data/release/11.0-CURRENT/usr/ports/editors/libreoffice/work/libreoffice-5.0.2.2'
  *** Error code 1

Maybe I had previously run 
	 cd /usr/ports; svn up
while the monsterous build was running,
so this time I have run
	cd /usr/ports; svn up	# At revision 399903
	cd /usr/ports/editors/libreoffice 
	make rmconfig
	make clean
	script
	make config
	echo next I will leave overnight and wait and not run svn
	make

Cheers,
Julian
-- 
Julian Stacey,  BSD Linux Unix Sys. Eng. Consultant Munich http://berklix.com
 Reply After previous text to preserve context, as in a play script.
 Indent previous text with > 		Insert new lines before 80 chars.
 Use plain text, Not quoted-printable, Not HTML, Not base64, Not MS.doc.


More information about the freebsd-office mailing list