Created attachment 873810 [details] build log net-libs/libtorrent-rasterbar-1.2.18-r1 fails to compile with gcc 14 FAILED: CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_DISABLE_LOGGING -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -Dtorrent_rasterbar_EXPORTS -I/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include -march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/bt_peer_connection.cpp.o -c /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/bt_peer_connection.cpp In file included from /usr/include/boost/cstdfloat.hpp:22, from /usr/include/boost/multiprecision/detail/float128_functions.hpp:15, from /usr/include/boost/multiprecision/detail/fpclassify.hpp:13, from /usr/include/boost/multiprecision/detail/default_ops.hpp:15, from /usr/include/boost/multiprecision/detail/generic_interconvert.hpp:12, from /usr/include/boost/multiprecision/number.hpp:12, from /usr/include/boost/multiprecision/cpp_int.hpp:19, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/pe_crypto.hpp:41, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/bt_peer_connection.hpp:55, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/bt_peer_connection.cpp:44: /usr/include/boost/math/cstdfloat/cstdfloat_limits.hpp:46:13: error: redefinition of ‘class std::numeric_limits<__float128>’ 46 | class numeric_limits<boost::math::cstdfloat::detail::float_internal128_t> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/buffer.hpp:36, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/bt_peer_connection.hpp:45: /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/limits:2089:12: note: previous definition of ‘class std::numeric_limits<__float128>’ 2089 | struct numeric_limits<__float128> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ FAILED: CMakeFiles/torrent-rasterbar.dir/src/peer_connection_handle.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_DISABLE_LOGGING -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -Dtorrent_rasterbar_EXPORTS -I/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include -march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/peer_connection_handle.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/peer_connection_handle.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/peer_connection_handle.cpp.o -c /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/peer_connection_handle.cpp In file included from /usr/include/boost/cstdfloat.hpp:22, from /usr/include/boost/multiprecision/detail/float128_functions.hpp:15, from /usr/include/boost/multiprecision/detail/fpclassify.hpp:13, from /usr/include/boost/multiprecision/detail/default_ops.hpp:15, from /usr/include/boost/multiprecision/detail/generic_interconvert.hpp:12, from /usr/include/boost/multiprecision/number.hpp:12, from /usr/include/boost/multiprecision/cpp_int.hpp:19, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/pe_crypto.hpp:41, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/bt_peer_connection.hpp:55, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/peer_connection_handle.cpp:34: /usr/include/boost/math/cstdfloat/cstdfloat_limits.hpp:46:13: error: redefinition of ‘class std::numeric_limits<__float128>’ 46 | class numeric_limits<boost::math::cstdfloat::detail::float_internal128_t> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/limits.hpp:19, from /usr/include/boost/iterator/iterator_concepts.hpp:23, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/combine.hpp:13, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/sha1_hash.hpp:43, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/peer_id.hpp:36, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/peer_connection_handle.hpp:38, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/peer_connection_handle.cpp:33: /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/limits:2089:12: note: previous definition of ‘class std::numeric_limits<__float128>’ 2089 | struct numeric_limits<__float128> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ FAILED: CMakeFiles/torrent-rasterbar.dir/src/peer_connection.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_EXCEPTION_DISABLE -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_DISABLE_LOGGING -DTORRENT_USE_ICONV -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -Dtorrent_rasterbar_EXPORTS -I/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include -march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpedantic -Wvla -Wno-format-zero-length -ftemplate-depth=512 -fexceptions -MD -MT CMakeFiles/torrent-rasterbar.dir/src/peer_connection.cpp.o -MF CMakeFiles/torrent-rasterbar.dir/src/peer_connection.cpp.o.d -o CMakeFiles/torrent-rasterbar.dir/src/peer_connection.cpp.o -c /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/peer_connection.cpp In file included from /usr/include/boost/cstdfloat.hpp:22, from /usr/include/boost/multiprecision/detail/float128_functions.hpp:15, from /usr/include/boost/multiprecision/detail/fpclassify.hpp:13, from /usr/include/boost/multiprecision/detail/default_ops.hpp:15, from /usr/include/boost/multiprecision/detail/generic_interconvert.hpp:12, from /usr/include/boost/multiprecision/number.hpp:12, from /usr/include/boost/multiprecision/cpp_int.hpp:19, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/pe_crypto.hpp:41, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/bt_peer_connection.hpp:55, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/peer_connection.cpp:53: /usr/include/boost/math/cstdfloat/cstdfloat_limits.hpp:46:13: error: redefinition of ‘class std::numeric_limits<__float128>’ 46 | class numeric_limits<boost::math::cstdfloat::detail::float_internal128_t> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/buffer.hpp:36, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/include/libtorrent/peer_connection.hpp:37, from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.18-r1/work/libtorrent-rasterbar-1.2.18/src/peer_connection.cpp:38: /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/limits:2089:12: note: previous definition of ‘class std::numeric_limits<__float128>’ 2089 | struct numeric_limits<__float128> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed.
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-14, glibc-2.37-r7, 6.5.9-gentoo x86_64) ================================================================= System uname: Linux-6.5.9-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i5-13600KF-with-glibc2.37 KiB Mem: 16243524 total, 6912028 free KiB Swap: 16242684 total, 13837436 free Timestamp of repository gentoo: Tue, 31 Oct 2023 15:02:00 +0000 Head commit of repository gentoo: e25bcfed09e2b247ebd895c3657b903fc735961e Head commit of repository brave-overlay: d9ffc8d9b19dc3eee282a6bbe334f1e40c8be5ca Timestamp of repository guru: Mon, 30 Oct 2023 19:02:06 +0000 Head commit of repository guru: 682a1dd636d0987f0a9937376c8b143b0f0fb8f7 Timestamp of repository steam-overlay: Mon, 30 Oct 2023 19:02:02 +0000 Head commit of repository steam-overlay: c738cf4be600cc674dd666d9dc0ac50f0bc87067 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 ccache version 4.8.3 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.5::gentoo dev-lang/rust: 1.73.0::gentoo dev-util/ccache: 4.8.3::gentoo dev-util/cmake: 3.26.5-r2::gentoo dev-util/meson: 1.2.1-r1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 254.5::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.3::gentoo sys-devel/gcc: 14.0.0_pre20231029::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 17.0.3::gentoo sys-devel/llvm: 17.0.3::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False brave-overlay location: /var/db/repos/brave-overlay sync-type: git sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ http://gentoo.mirror.root.lu/ ftp://tux.rainside.sk/gentoo/ http://ftp.vectranet.pl/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1,--as-needed -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" LEX="flex" MAKEOPTS="-j20 -l20" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-C target-cpu=raptorlake -C opt-level=2" SHELL="/bin/bash" USE="X aac acl acpi activities amd64 branding bzip2 cairo cdr cli crypt cups dbus declarative dri dvdr encode exif flac fortran gdbm gif gtk gui iconv icu jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp sound ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Try applying https://github.com/boostorg/math/commit/f51e1b985de4d739a9f40d8c2b90debd419da267 to Boost
(In reply to Sam James from comment #2) > Try applying > https://github.com/boostorg/math/commit/ > f51e1b985de4d739a9f40d8c2b90debd419da267 to Boost oh wait, that's supposed to be in 1.83.0..
(In reply to Sam James from comment #3) > (In reply to Sam James from comment #2) > > Try applying > > https://github.com/boostorg/math/commit/ > > f51e1b985de4d739a9f40d8c2b90debd419da267 to Boost > > oh wait, that's supposed to be in 1.83.0.. ah, you're on stable. OK, try just upgrading to boost-1.83.0.
(In reply to Sam James from comment #4) > (In reply to Sam James from comment #3) > > (In reply to Sam James from comment #2) > > > Try applying > > > https://github.com/boostorg/math/commit/ > > > f51e1b985de4d739a9f40d8c2b90debd419da267 to Boost > > > > oh wait, that's supposed to be in 1.83.0.. > > ah, you're on stable. OK, try just upgrading to boost-1.83.0. After the upgrade the build finishes fine.
*** Bug 922789 has been marked as a duplicate of this bug. ***