[Bug 226659] fix building editors/libreoffice 5.3.7.2 on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 20 23:40:29 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226659

--- Comment #3 from Curtis Hamilton <hamiltcl at verizon.net> ---
I've given up my attempts to build LO 5.3.7.2 and turned my attention to
6.0.2.1.  However, I'm experiencing the below build error:

[LNK] Library/libtest-setupvcl.so
S=/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=$S/instdir &&
W=$S/workdir &&  /usr/local/bin/ccache g++5 -shared -Wl,-z,noexecstack  
-Wl,-z,origin '-Wl,-rpath,$ORIGIN/../Library' -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$W/LinkTarget/Library -L/usr/local/lib -lboost_locale
-Wl,-rpath,/usr/local/lib   -L/usr/local/lib -R/usr/local/lib 
$W/CxxObject/test/source/setupvcl.o      -Wl,--start-group    -Wl,--end-group
-Wl,--no-as-needed -lcomphelper -luno_cppu -li18nlangtag -luno_sal -ltllo
-lutllo -lvcllo  -o $W/LinkTarget/Library/libtest-setupvcl.so 
[LNK] Executable/ui-previewer
S=/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=$S/instdir &&
W=$S/workdir &&  readelf -d $W/LinkTarget/Library/libtest-setupvcl.so | grep
SONAME > $W/LinkTarget/Library/libtest-setupvcl.so.exports.tmp; nm  --dynamic
--extern-only --defined-only --format=posix
$W/LinkTarget/Library/libtest-setupvcl.so | cut -d' ' -f1-2 >>
$W/LinkTarget/Library/libtest-setupvcl.so.exports.tmp && if cmp -s
$W/LinkTarget/Library/libtest-setupvcl.so.exports.tmp 
$W/LinkTarget/Library/libtest-setupvcl.so.exports; then rm
$W/LinkTarget/Library/libtest-setupvcl.so.exports.tmp; else mv
$W/LinkTarget/Library/libtest-setupvcl.so.exports.tmp 
$W/LinkTarget/Library/libtest-setupvcl.so.exports && touch -r
$W/LinkTarget/Library/libtest-setupvcl.so 
$W/LinkTarget/Library/libtest-setupvcl.so.exports; fi
TEMPFILE=/usr/ports/editors/libreoffice/work/gbuild.XXXXXX.xaODbV3U &&  mv
${TEMPFILE}
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/LinkTarget/Library/libtest-setupvcl.so.objectlist
S=/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=$S/instdir &&
W=$S/workdir &&  /usr/local/bin/ccache g++5    -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 -lboost_locale
-Wl,-rpath,/usr/local/lib   -L/usr/local/lib -R/usr/local/lib 
$W/CxxObject/vcl/source/uipreviewer/previewer.o      -Wl,--start-group
$W/LinkTarget/StaticLibrary/libvclmain.a
$W/LinkTarget/StaticLibrary/libglxtest.a   -lm  -lpthread -lX11 
-Wl,--end-group -Wl,--no-as-needed -lcomphelper -luno_cppu -luno_cppuhelpergcc3
-luno_sal -ltllo -lucbhelper -lvcllo  -o $I/program/ui-previewer 
[LNK] Executable/outdevgrind
S=/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=$S/instdir &&
W=$S/workdir &&  /usr/local/bin/ccache g++5    -Wl,-z,origin
'-Wl,-rpath,$ORIGIN/../Library' -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$W/LinkTarget/Library -L/usr/local/lib -lboost_locale
-Wl,-rpath,/usr/local/lib   -L/usr/local/lib -R/usr/local/lib 
$W/CxxObject/vcl/workben/outdevgrind.o      -Wl,--start-group   
-Wl,--end-group -Wl,--no-as-needed -ltllo -luno_sal -lvcllo -luno_cppu
-luno_cppuhelpergcc3 -lcomphelper  -o $W/LinkTarget/Executable/outdevgrind 
[LNK] Executable/vcldemo
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/libutllo.so:
undefined reference to `boost::locale::generator::generate(std::string const&)
const'
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/libutllo.so:
undefined reference to
`boost::locale::generator::add_messages_domain(std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/libutllo.so:
undefined reference to `boost::locale::generator::add_messages_path(std::string
const&)'
collect2: error: ld returned 1 exit status
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/libutllo.so:
undefined reference to `boost::locale::generator::generate(std::string const&)
const'
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/libutllo.so:
undefined reference to
`boost::locale::generator::add_messages_domain(std::string const&)'
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/libutllo.so:
undefined reference to `boost::locale::generator::add_messages_path(std::string
const&)'
collect2: error: ld returned 1 exit status
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/solenv/gbuild/LinkTarget.mk:627:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/LinkTarget/Executable/outdevgrind]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/vcl/Executable_ui-previewer.mk:10:
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/ui-previewer]
Error 1
rm
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/count_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/sent.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/line.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/count_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/line.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/sent.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/char.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/char_in.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/char_in.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarget/i18npool/breakiterator/char.brk
gmake[3]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1'
gmake[2]: *** [Makefile:268: build] Error 2
gmake[2]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Any idea on what's broken?

BTW, the patch I developed works with LO 6.0.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ppc mailing list