too long lines were shrinked: [39/109] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_TEST_DYN_LINK -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dthrift_EXPORTS -I/var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1_build/lib/cpp -I/var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1/lib/cpp -I/ FAILED: lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_TEST_DYN_LINK -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dthrift_EXPORTS -I/var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1_build/lib/cpp -I/var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1/lib/cpp -I/var/tmp/p In file included from /var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1/lib/cpp/src/thrift/transport/TServerSocket.h:25, from /var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1/lib/cpp/src/thrift/transport/TSSLServerSocket.h:23, from /var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp:21: /var/tmp/portage/dev-libs/thrift-0.18.1-r1/work/thrift-0.18.1/lib/cpp/src/thrift/concurrency/Mutex.h:47:26: error: int64_t has not been declared 47 | virtual bool timedlock(int64_t milliseconds) const; | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_systemd-20240806-101508 UNMASKED: Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense. <sys-devel/gcc-15.0.9999:15 Requested by sam ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 Requested by sam >=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.5 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.80.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.23.0 linux/amd64 HEAD of ::gentoo commit 64e76d82d7cea32ecfce7fd5e0fa0a9bba703439 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Aug 17 09:04:38 2024 +0000 2024-08-17 09:04:38 UTC emerge -qpvO =dev-libs/thrift-0.18.1-r1 [ebuild N ] dev-libs/thrift-0.18.1-r1 USE="ssl -libevent -lua -test"
Created attachment 900428 [details] emerge-info.txt
Created attachment 900429 [details] dev-libs:thrift-0.18.1-r1:20240817-101443.log
Created attachment 900430 [details] emerge-history.txt.xz
Created attachment 900431 [details] environment
Created attachment 900432 [details] etc.clang.tar.xz
Created attachment 900433 [details] etc.portage.tar.xz
Created attachment 900434 [details] qlist-info.txt.xz
Created attachment 900435 [details] temp.tar.xz
tinderbox_x86 has reproduced this issue with version 0.20.0 - Updating summary.
Upstream fixed this issue in commit https://github.com/apache/thrift/commit/947ad66940cfbadd9b24ba31d892dfc1142dd330. All three dev-libs/thrift-0.{16,18,20}* versions available in ::gentoo build fine with GCC 15 with this patch.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e15a75e6f60417f941868ae1761ab70a1116b2 commit d9e15a75e6f60417f941868ae1761ab70a1116b2 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2025-03-05 01:23:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 00:21:10 +0000 dev-libs/thrift: add 0.21.0 * Use github tarball over missing test files. * Drop test patches and use CMAKE_SKIP_TESTS instead. * Comprehensily set cmakeargs and use WITH_OPTION over BUILD_OPTION to stop cmake looking for the dependencies despite the feature being disabled. Bug: https://bugs.gentoo.org/943012 Bug: https://bugs.gentoo.org/938100 Bug: https://bugs.gentoo.org/949634 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40903 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/thrift/Manifest | 1 + .../thrift/files/thrift-0.21.0-gcc15-cstdint.patch | 52 +++++++++++++++ dev-libs/thrift/thrift-0.21.0.ebuild | 73 ++++++++++++++++++++++ 3 files changed, 126 insertions(+)