from /usr/include/FL/Fl_Preferences.H:29, from /usr/include/FL/Fl_Plugin.H:23, from /usr/include/FL/Fl_Device.H:25, from /usr/include/FL/Fl_Graphics_Driver.H:31, from /usr/include/FL/fl_draw.H:26, from ../src/graph/plotfltk.c:29: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/alloc_traits.h:1005:46: error: macro swap requires 2 arguments, but only 1 given 1005 | __c.get_allocator()).swap(__c); | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib-20250107-201504 UNMASKED: <sys-devel/gcc-15.0.9999:15 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 version 19.1.6 llvm-config: 19.1.6 Python 3.12.8 go version go1.23.4 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.71.1 [2] rust-bin-1.77.1 [3] rust-bin-1.81.0 [4] rust-bin-1.83.0 [5] rust-bin-1.84.0 [6] rust-1.84.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.432_p06 [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 HEAD of ::gentoo commit d5744f066d6f12f399f3bc94409be37007b17174 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Jan 12 07:19:03 2025 +0000 Merge updates from master emerge -qpvO =sci-mathematics/pari-2.17.1 [ebuild N ] sci-mathematics/pari-2.17.1 USE="fltk -X -data -doc -examples -gmp -test -threads"
Created attachment 916375 [details] emerge-info.txt
Created attachment 916376 [details] emerge-history.txt
Created attachment 916377 [details] environment
Created attachment 916378 [details] etc.clang.tar.xz
Created attachment 916379 [details] etc.portage.tar.xz
Created attachment 916380 [details] logs.tar.xz
Created attachment 916381 [details] qlist-info.txt.xz
Created attachment 916382 [details] sci-mathematics:pari-2.17.1:20250112-090620.log
Created attachment 916383 [details] temp.tar.xz
This is probably a missing include with a poor error.
Or maybe not, the swap macro is conflicting?
Nothing exciting: PARI includes its own headers (which define the swap macro) before the headers for FLTK, inadvertently clobbering the word "swap" for the C++ headers that FLTK wants to use.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc1cc4fdc520d6dc814d0af9dc3f1a808995137 commit bbc1cc4fdc520d6dc814d0af9dc3f1a808995137 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2025-01-13 02:15:12 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2025-01-13 02:27:54 +0000 sci-mathematics/pari: fix build with gcc-15 Closes: https://bugs.gentoo.org/947939 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../files/pari-2.17.1-gcc15-swap-conflict.patch | 53 ++++++++++++++++++++++ sci-mathematics/pari/pari-2.17.1.ebuild | 2 + 2 files changed, 55 insertions(+)