too long lines were shrinked: /bin/sh ../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -DLIBETONYEK_BUILD -I../../inc -I../../src/lib/contexts -I/usr/include/libxml2 -I/usr/include/mdds-2.0 -I/usr/include/librevenge-0.0 -I/usr/include/libxml2 -DNDEBUG -DLIBETONYEK_VISIBILITY -fvisibility=hidden -pipe -march= libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libetonyek_internal.a .libs/libetonyek_internal_la-IWAField.o .libs/libetonyek_internal_la-IWAMessage.o .libs/libetonyek_internal_la-IWAObjectIndex.o .libs/libetonyek_internal_la-IWAParser.o .libs/libetonyek_internal_la-IWAReader.o .libs/libetonyek_int libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libetonyek_internal.a libtool: link: ( cd ".libs" && rm -f "libetonyek_internal.la" && ln -s "../libetonyek_internal.la" "libetonyek_internal.la" ) /bin/sh ../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -DLIBETONYEK_BUILD -I../../inc -I../../src/lib/contexts -I/usr/include/libxml2 -I/usr/include/mdds-2.0 -I/usr/include/librevenge-0.0 -I/usr/include/libxml2 -DNDEBUG -DLIBETONYEK_VISIBILITY -fvisibility=hidden -pipe -march= libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12/crtbeginS.o .libs/EtonyekDocument.o -Wl,--whole-archive ./.libs/libetonyek_internal.a -Wl,--no-whole-archive -lrevenge-0.0 -llangt /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):(.bss+0x0): multiple definition of `boost::phoenix::placeholders::uarg10'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0x0 /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):(.bss+0x2): multiple definition of `boost::phoenix::placeholders::uarg9'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0x2) /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):(.bss+0x4): multiple definition of `boost::phoenix::placeholders::uarg8'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0x4) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd_merged_usr-j4-20221217-210005 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.9 Available Ruby profiles: [1] ruby27 * Available Rust versions: [1] rust-bin-1.65.0 * php cli (if any): [1] php8.2 * HEAD of ::gentoo commit 623f289e5a103ced0a32d4a0c60d4205025c12b9 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Dec 18 17:02:10 2022 +0000 2022-12-18 17:02:10 UTC emerge -qpvO app-text/libetonyek [ebuild N ] app-text/libetonyek-0.1.10-r1 USE="-doc -static-libs -test"
Created attachment 843505 [details] emerge-info.txt
Created attachment 843507 [details] app-text:libetonyek-0.1.10-r1:20221218-180438.log
Created attachment 843509 [details] emerge-history.txt
Created attachment 843511 [details] environment
Created attachment 843513 [details] etc.clang.tar.bz2
Created attachment 843515 [details] etc.portage.tar.bz2
Created attachment 843517 [details] logs.tar.bz2
Created attachment 843519 [details] temp.tar.bz2
i have the same multiple definitions error too with boost-1.81.0 it builds fine with the previous version. someone reported here but got closed for being in wrong place: https://www.mail-archive.com/libreoffice-bugs@lists.freedesktop.org/msg911140.html
Same here. It built cleanly against dev-libs/boost-1.78.0-r2 too, local logs indicate.
The upstream issue for this seems to be https://github.com/boostorg/phoenix/issues/111 which as of now is yet to be resolved. In any case this also affected my latest sys-cluster/ceph rebuild due to the boost update, which definitely worked with an older version of boost (as it's a rebuild).
Hello! I am affected also: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):(.bss+0x12): multiple definition of `boost::phoenix::placeholders::uarg1'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0x12): first defined here collect2: error: ld returned 1 exit status PS - and seems it is impossible to compile LibreOffice with latest boost (ver. 81) Will try and report separately
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5297062bb5b595e8a37fdd0cad3bb3c79c5a52db commit 5297062bb5b595e8a37fdd0cad3bb3c79c5a52db Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-20 23:56:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-20 23:56:27 +0000 dev-libs/boost: fix phoenix multiple definitions Closes: https://bugs.gentoo.org/887041 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/boost/boost-1.81.0-r1.ebuild | 341 +++++++++++++++++++++ ...boost-1.81.0-phoenix-multiple-definitions.patch | 11 + 2 files changed, 352 insertions(+)
(In reply to Katze from comment #11) > The upstream issue for this seems to be > https://github.com/boostorg/phoenix/issues/111 which as of now is yet to be > resolved. In any case this also affected my latest sys-cluster/ceph rebuild > due to the boost update, which definitely worked with an older version of > boost (as it's a rebuild). Thanks for finding that.