Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2018 23:40:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-powerpc@FreeBSD.org
Subject:   [Bug 226659] fix building editors/libreoffice 5.3.7.2 on powerpc64
Message-ID:  <bug-226659-25139-hnuGgd0Lzu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226659-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226659-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226659

--- Comment #3 from Curtis Hamilton <hamiltcl@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=3D/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=3D$S/instd=
ir &&
W=3D$S/workdir &&  /usr/local/bin/ccache g++5 -shared -Wl,-z,noexecstack=20=
=20
-Wl,-z,origin '-Wl,-rpath,$ORIGIN/../Library' -Wl,-rpath-link,$I/program
-fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc=20
-Wl,--hash-style=3Dgnu  -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions=20
-L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program=20
-L$W/LinkTarget/Library -L/usr/local/lib -lboost_locale
-Wl,-rpath,/usr/local/lib   -L/usr/local/lib -R/usr/local/lib=20
$W/CxxObject/test/source/setupvcl.o      -Wl,--start-group    -Wl,--end-gro=
up
-Wl,--no-as-needed -lcomphelper -luno_cppu -li18nlangtag -luno_sal -ltllo
-lutllo -lvcllo  -o $W/LinkTarget/Library/libtest-setupvcl.so=20
[LNK] Executable/ui-previewer
S=3D/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=3D$S/instd=
ir &&
W=3D$S/workdir &&  readelf -d $W/LinkTarget/Library/libtest-setupvcl.so | g=
rep
SONAME > $W/LinkTarget/Library/libtest-setupvcl.so.exports.tmp; nm  --dynam=
ic
--extern-only --defined-only --format=3Dposix
$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=20
$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=20
$W/LinkTarget/Library/libtest-setupvcl.so.exports && touch -r
$W/LinkTarget/Library/libtest-setupvcl.so=20
$W/LinkTarget/Library/libtest-setupvcl.so.exports; fi
TEMPFILE=3D/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=3D/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=3D$S/instd=
ir &&
W=3D$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=3Dgnu=20
-Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
-Wl,-Bsymbolic-functions  -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib=20
-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=20
$W/CxxObject/vcl/source/uipreviewer/previewer.o      -Wl,--start-group
$W/LinkTarget/StaticLibrary/libvclmain.a
$W/LinkTarget/StaticLibrary/libglxtest.a   -lm  -lpthread -lX11=20
-Wl,--end-group -Wl,--no-as-needed -lcomphelper -luno_cppu -luno_cppuhelper=
gcc3
-luno_sal -ltllo -lucbhelper -lvcllo  -o $I/program/ui-previewer=20
[LNK] Executable/outdevgrind
S=3D/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1 && I=3D$S/instd=
ir &&
W=3D$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=20
-Wl,--hash-style=3Dgnu  -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions=20
-L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program=20
-L$W/LinkTarget/Library -L/usr/local/lib -lboost_locale
-Wl,-rpath,/usr/local/lib   -L/usr/local/lib -R/usr/local/lib=20
$W/CxxObject/vcl/workben/outdevgrind.o      -Wl,--start-group=20=20=20
-Wl,--end-group -Wl,--no-as-needed -ltllo -luno_sal -lvcllo -luno_cppu
-luno_cppuhelpergcc3 -lcomphelper  -o $W/LinkTarget/Executable/outdevgrind=
=20
[LNK] Executable/vcldemo
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/lib=
utllo.so:
undefined reference to `boost::locale::generator::generate(std::string cons=
t&)
const'
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/lib=
utllo.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/lib=
utllo.so:
undefined reference to `boost::locale::generator::add_messages_path(std::st=
ring
const&)'
collect2: error: ld returned 1 exit status
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/lib=
utllo.so:
undefined reference to `boost::locale::generator::generate(std::string cons=
t&)
const'
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/instdir/program/lib=
utllo.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/lib=
utllo.so:
undefined reference to `boost::locale::generator::add_messages_path(std::st=
ring
const&)'
collect2: error: ld returned 1 exit status
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/solenv/gbuild/Link=
Target.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/CustomTarge=
t/i18npool/breakiterator/dict_word_prepostdash.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_he.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/count_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/sent.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/line.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/edit_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_nodash.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_he.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/edit_word_he.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/edit_word_hu.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_prepostdash.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/count_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/line.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/edit_word_he.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/edit_word_hu.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/sent.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/char.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/edit_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/char_in.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_hu.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_nodash.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/char_in.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/i18npool/breakiterator/dict_word_hu.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/workdir/CustomTarge=
t/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'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226659-25139-hnuGgd0Lzu>