Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887041 - app-text/libetonyek-0.1.10-r1: issue in dev-libs/boost pheonix module? (/.../ld: ./.../libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):(.bss+<snip>): multi)
Summary: app-text/libetonyek-0.1.10-r1: issue in dev-libs/boost pheonix module? (/.../...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.83 boost-1.82
  Show dependency tree
 
Reported: 2022-12-18 18:59 UTC by Toralf Förster
Modified: 2023-08-12 09:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2022-12-18 18:59 UTC, Toralf Förster
Details
app-text:libetonyek-0.1.10-r1:20221218-180438.log (app-text:libetonyek-0.1.10-r1:20221218-180438.log,205.53 KB, text/plain)
2022-12-18 18:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.23 KB, text/plain)
2022-12-18 18:59 UTC, Toralf Förster
Details
environment (environment,23.52 KB, text/plain)
2022-12-18 18:59 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-12-18 18:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.47 KB, application/x-bzip)
2022-12-18 18:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.48 KB, application/x-bzip)
2022-12-18 18:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.46 KB, application/x-bzip)
2022-12-18 18:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-18 18:59:25 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-12-18 18:59:26 UTC
Created attachment 843505 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-18 18:59:28 UTC
Created attachment 843507 [details]
app-text:libetonyek-0.1.10-r1:20221218-180438.log
Comment 3 Toralf Förster gentoo-dev 2022-12-18 18:59:29 UTC
Created attachment 843509 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-18 18:59:30 UTC
Created attachment 843511 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-18 18:59:31 UTC
Created attachment 843513 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-18 18:59:32 UTC
Created attachment 843515 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-18 18:59:32 UTC
Created attachment 843517 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-18 18:59:33 UTC
Created attachment 843519 [details]
temp.tar.bz2
Comment 9 stealth 2022-12-19 01:43:21 UTC
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
Comment 10 Daniel Pouzzner 2022-12-19 04:29:48 UTC
Same here.  It built cleanly against dev-libs/boost-1.78.0-r2 too, local logs indicate.
Comment 11 Katze 2022-12-20 19:14:15 UTC
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).
Comment 12 Oleksa 2022-12-20 23:01:32 UTC
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
Comment 13 Larry the Git Cow gentoo-dev 2022-12-20 23:57:16 UTC
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(+)
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-20 23:59:14 UTC
(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.