Bug 105430

Summary: Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Product: LibreOffice Reporter: Artem Kurashov <saahriktu>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: xiscofauli
Priority: medium    
Version: 5.3.0.1 rc   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Artem Kurashov 2017-01-18 21:41:22 UTC
I have bumped into this error:
# make build-nocheck
mkdir -p /tmp/SBo/libreoffice-5.3.0.1/instdir
/tmp/SBo/libreoffice-5.3.0.1/solenv/bin/install-gdb-printers -a /tmp/SBo/libreoffice-5.3.0.1/instdir -c
make -j 8  -rs -f /tmp/SBo/libreoffice-5.3.0.1/Makefile.gbuild  build  
[PRL] CustomTarget/postprocess/images/sorted.lst
[PRL] CustomTarget/postprocess/images/commandimagelist.ilst
[ECH] CustomTarget/instsetoo_native/setup/versionrc
fatal: Not a git repository (or any of the parent directories): .git
[LOC] top level modules: libreoffice
[PRL] CustomTarget/postprocess/images/images_breeze.zip
[PRL] CustomTarget/postprocess/images/images_breeze_dark.zip
[PRL] CustomTarget/postprocess/images/images_galaxy.zip
[PRL] CustomTarget/postprocess/images/images_hicontrast.zip
[PRL] CustomTarget/postprocess/images/images_oxygen.zip
[PRL] CustomTarget/postprocess/images/images_sifr.zip
[PRL] CustomTarget/postprocess/images/images_tango.zip
[CUS] instsetoo_native/setup
[PKG] instsetoo_native_setup
[BIN] instsetoo_native
[MOD] instsetoo_native
[GAL] arrows
[GAL] computers
[GAL] diagrams
[GAL] education
[GAL] environment
[GAL] finance
[GAL] people
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/arrows.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/arrows.done] Error 1
make[1]: *** Waiting for unfinished jobs....
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/computers.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/computers.done] Error 1
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/education.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/education.done] Error 1
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/diagrams.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/diagrams.done] Error 1
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/environment.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/environment.done] Error 1
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/finance.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/finance.done] Error 1
make[1]: *** wait: No child processes.  Stop.
Makefile:263: recipe for target 'build' failed
make: *** [build] Error 2


Single-process building fails in the same way:
# PARALLELISM="0" make build-nocheck
mkdir -p /tmp/SBo/libreoffice-5.3.0.1/instdir
/tmp/SBo/libreoffice-5.3.0.1/solenv/bin/install-gdb-printers -a /tmp/SBo/libreoffice-5.3.0.1/instdir -c
make   -rs -f /tmp/SBo/libreoffice-5.3.0.1/Makefile.gbuild  build  
[PRL] CustomTarget/postprocess/images/sorted.lst
[PRL] CustomTarget/postprocess/images/commandimagelist.ilst
[PRL] CustomTarget/postprocess/images/images_breeze.zip
[PRL] CustomTarget/postprocess/images/images_breeze_dark.zip
[PRL] CustomTarget/postprocess/images/images_galaxy.zip
[PRL] CustomTarget/postprocess/images/images_hicontrast.zip
[PRL] CustomTarget/postprocess/images/images_oxygen.zip
[PRL] CustomTarget/postprocess/images/images_sifr.zip
[PRL] CustomTarget/postprocess/images/images_tango.zip
[GAL] arrows
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/SBo/libreoffice-5.3.0.1/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/arrows.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.0.1/workdir/Gallery/arrows.done] Error 1
Makefile:263: recipe for target 'build' failed
make: *** [build] Error 2


GCC 5.3.0, jdk 8u121 (1.8.0_121-b13).
Comment 1 Xisco FaulĂ­ 2017-01-18 21:58:44 UTC
Hi Artem,
I'd recommend you to do:
git pull -r
make clean
make build-nocheck
Then, if you still get the same problem, please throw the question to libreoffice@lists.freedesktop.org.
Closing as RESOLVED NOTABUG