Error Building LibreOoffice 5.3.7.2

Curtis Hamilton clhamilto at gmail.com
Mon Mar 12 22:54:20 UTC 2018


I'm not sure what has changed, but after many successful builds, I'm now 
unable to build LO 5.3.7.2.

I'm getting the following error:

[LNK] Executable/gengal.bin
S=/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2 && 
I=$S/instdir && W=$S/workdir && /usr/local/bin/ccache g++6    
-Wl,-z,origin '-Wl,-rpath,$ORIGIN' -Wl,-rpath-link,$I/program 
-fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc 
-Wl,--hash-style=gnu  -Wl,--dynamic-list-cpp-new 
-Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions 
-L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program -L$I/program 
-L/usr/local/lib -L/usr/local/lib   -L/usr/local/lib -R/usr/local/lib  
$W/CxxObject/svx/source/gengal/gengal.o -Wl,--start-group  
$W/LinkTarget/StaticLibrary/libvclmain.a 
$W/LinkTarget/StaticLibrary/libglxtest.a   -lpthread -lX11 
-Wl,--end-group -Wl,--no-as-needed -lbasegfxlo -luno_sal -ltllo -lsvllo 
-lsvtlo -lcomphelper -luno_cppu -luno_cppuhelpergcc3 -lutllo -lvcllo 
-lsvxcorelo -o $I/program/gengal.bin
S=/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2 && 
I=$S/instdir && W=$S/workdir && readelf -d $I/program/libmsformslo.so | 
grep SONAME > $W/LinkTarget/Library/libmsformslo.so.exports.tmp; nm  
--dynamic --extern-only --defined-only --format=posix 
$I/program/libmsformslo.so | cut -d' ' -f1-2 >> 
$W/LinkTarget/Library/libmsformslo.so.exports.tmp && if cmp -s 
$W/LinkTarget/Library/libmsformslo.so.exports.tmp 
$W/LinkTarget/Library/libmsformslo.so.exports; then rm 
$W/LinkTarget/Library/libmsformslo.so.exports.tmp; else mv 
$W/LinkTarget/Library/libmsformslo.so.exports.tmp 
$W/LinkTarget/Library/libmsformslo.so.exports && touch -r 
$I/program/libmsformslo.so $W/LinkTarget/Library/libmsformslo.so.exports; fi
TEMPFILE=/usr/ports/editors/libreoffice/work/gbuild.XXXXXX.2sIlfTDo &&  
mv ${TEMPFILE} 
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/workdir/LinkTarget/Library/libmsformslo.so.objectlist
/usr/local/bin/ld: warning: libstdc++.so.6, needed by 
//usr/local/lib/libGLU.so.1, may conflict with libstdc++.so.6.0.22
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to 
`COLLADABU::URI::toNativePath(COLLADABU::Utils::SystemType) const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::getURIString() const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::getPathFileBase() const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::getPathExtension() const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADAFW::UniqueId::toAscii() const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::getPathDir() const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::getPathFile() const'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::setPath(std::string const&, 
std::string const&, std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to 
`COLLADABU::Utils::createDirectoryIfNeeded(std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADAFW::UniqueId::UniqueId(std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADAFW::Root::loadDocument(std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::URI(std::string const&, bool)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libsfxlo.so: 
undefined reference to `orcus::json::document_tree::load(std::string 
const&, orcus::json_config const&)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADABU::URI::setPathDir(std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/libavmedialo.so: 
undefined reference to `COLLADAFW::Texture::getTexcoord() const'
collect2: error: ld returned 1 exit status
gmake[3]: *** 
[/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/svx/Executable_gengal.mk:20: 
/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2/instdir/program/gengal.bin] 
Error 1
gmake[3]: Leaving directory 
'/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2'
gmake[2]: *** [Makefile:265: build] Error 2
gmake[2]: Leaving directory 
'/usr/ports/editors/libreoffice/work/libreoffice-5.3.7.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Can someone tell me what I'm missing?

Thanks in advance,
Curtis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180312/199b0f6e/attachment.html>


More information about the LibreOffice mailing list