Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943975 - dev-libs/boost-1.86.0-r1 - [meson] /.../parsers.hpp: error: operator() violates the C++ One Definition Rule [-Werror=odr]
Summary: dev-libs/boost-1.86.0-r1 - [meson] /.../parsers.hpp: error: operator() violat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-19 10:24 UTC by Toralf Förster
Modified: 2025-05-07 05:41 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2024-11-19 10:24 UTC, Toralf Förster
Details
dev-libs:boost-1.86.0-r1:20241119-091743.log.xz (dev-libs:boost-1.86.0-r1:20241119-091743.log.xz,42.07 KB, application/x-xz)
2024-11-19 10:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,27.83 KB, text/plain)
2024-11-19 10:24 UTC, Toralf Förster
Details
environment (environment,144.33 KB, text/plain)
2024-11-19 10:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-11-19 10:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.94 KB, application/x-xz)
2024-11-19 10:24 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,668.18 KB, application/x-xz)
2024-11-19 10:24 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,94.16 KB, text/plain)
2024-11-19 10:24 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 2024-11-19 10:24:02 UTC
too long lines were shrinked:

    "x86_64-pc-linux-gnu-ar"  rsc "../bin.v2/libs/filesystem/build/gcc-14.2/release/x86_64/cxxstd-0x-iso/link-static/pch-off/threading-multi/visibility-hidden/libboost_filesystem.a" "../bin.v2/libs/filesystem/build/gcc-14.2/release/x86_64/cxxstd-0x-iso/link-static/pch-off/threading-multi/visibility-

gcc.link ../bin.v2/tools/quickbook/src/gcc-14.2/release/x86_64/cxxstd-0x-iso/link-static/pch-off/threading-multi/quickbook

    "x86_64-pc-linux-gnu-g++"    -o "../bin.v2/tools/quickbook/src/gcc-14.2/release/x86_64/cxxstd-0x-iso/link-static/pch-off/threading-multi/quickbook" -Wl,--start-group "../bin.v2/tools/quickbook/src/gcc-14.2/release/x86_64/cxxstd-0x-iso/link-static/pch-off/threading-multi/quickbook.o" "../bin.v2/t

/var/tmp/portage/dev-libs/boost-1.86.0-r1/work/boost_1_86_0-abi_x86_64.amd64/tools/quickbook/src/parsers.hpp:181:52: error: operator() violates the C++ One Definition Rule [-Werror=odr]
  181 |         scoped_parser_gen<Impl, phoenix::tuple<> > operator()() const
      |                                                    ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241118-110516

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.3 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 501dfcfaf133ecf0f4df5e65109aba5b574eef6c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 19 07:33:37 2024 +0000

    2024-11-19 07:33:37 UTC

emerge -qpvO =dev-libs/boost-1.86.0-r1
[ebuild  N    ] dev-libs/boost-1.86.0-r1  USE="bzip2 context doc icu nls numpy stacktrace tools zlib -debug -lzma -mpi -python -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-19 10:24:03 UTC
Created attachment 910136 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-19 10:24:04 UTC
Created attachment 910137 [details]
dev-libs:boost-1.86.0-r1:20241119-091743.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-19 10:24:05 UTC
Created attachment 910138 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-19 10:24:06 UTC
Created attachment 910139 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-19 10:24:07 UTC
Created attachment 910140 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-19 10:24:08 UTC
Created attachment 910141 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-19 10:24:10 UTC
Created attachment 910142 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-19 10:24:11 UTC
Created attachment 910143 [details]
qlist-info.txt
Comment 9 Larry the Git Cow gentoo-dev 2025-05-07 05:41:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab97353e6a4e89c6bba0493e0bf71da5da955991

commit ab97353e6a4e89c6bba0493e0bf71da5da955991
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2025-05-06 18:56:48 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2025-05-07 05:41:05 +0000

    dev-libs/boost: mark as LTO-unsafe
    
    quickbook (USE=tools) fails to build, but the rest of boost seems (?) to
    be fine.
    
    Closes: https://bugs.gentoo.org/943975
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 dev-libs/boost/boost-1.85.0-r1.ebuild | 6 ++++++
 dev-libs/boost/boost-1.86.0-r1.ebuild | 6 ++++++
 dev-libs/boost/boost-1.87.0-r3.ebuild | 6 ++++++
 dev-libs/boost/boost-1.88.0.ebuild    | 6 ++++++
 4 files changed, 24 insertions(+)