too long lines were shrinked: [9/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DARCHITECTURE_x86_64=1 -DJIT_ENABLED -DMELONDS_VERSION=\"0.9.5\" -DOGLRENDERER_ENABLED -I/var/tmp/portage/games-emulation/melonds-0.9.5-r4/work/melonDS-0.9.5/src/teakra/src/../include -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -std= [10/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DARCHITECTURE_x86_64=1 -DJIT_ENABLED -DMELONDS_VERSION=\"0.9.5\" -DOGLRENDERER_ENABLED -I/var/tmp/portage/games-emulation/melonds-0.9.5-r4/work/melonDS-0.9.5/src/teakra/src/../include -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -std [11/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DARCHITECTURE_x86_64=1 -DJIT_ENABLED -DMELONDS_VERSION=\"0.9.5\" -DOGLRENDERER_ENABLED -I/var/tmp/portage/games-emulation/melonds-0.9.5-r4/work/melonDS-0.9.5/src/teakra/src/../include -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -std FAILED: src/CMakeFiles/core.dir/DSi_Camera.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DARCHITECTURE_x86_64=1 -DJIT_ENABLED -DMELONDS_VERSION=\"0.9.5\" -DOGLRENDERER_ENABLED -I/var/tmp/portage/games-emulation/melonds-0.9.5-r4/work/melonDS-0.9.5/src/teakra/src/../include -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -std=gnu++17 /var/tmp/portage/games-emulation/melonds-0.9.5-r4/work/melonDS-0.9.5/src/DSi_Camera.cpp: In function void DSi_CamModule::TransferScanline(u32): /var/tmp/portage/games-emulation/melonds-0.9.5-r4/work/melonDS-0.9.5/src/DSi_Camera.cpp:206:23: error: clamp is not a member of std 206 | r1 = std::clamp(r1, 0, 255); g1 = std::clamp(g1, 0, 255); b1 = std::clamp(b1, 0, 255); | ^~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20231123-170505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.5 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.5 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.4 linux/amd64 HEAD of ::gentoo commit 2d64f2fd278f143a45290fb8bd84dc8080dfc0b3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 27 16:47:03 2023 +0000 2023-11-27 16:47:03 UTC emerge -qpvO games-emulation/melonds [ebuild N ] games-emulation/melonds-0.9.5-r4 USE="jit opengl"
Created attachment 875830 [details] emerge-info.txt
Created attachment 875831 [details] emerge-history.txt
Created attachment 875832 [details] environment
Created attachment 875833 [details] etc.clang.tar.xz
Created attachment 875834 [details] etc.portage.tar.xz
Created attachment 875835 [details] games-emulation:melonds-0.9.5-r4:20231127-172708.log
Created attachment 875836 [details] qlist-info.txt
Created attachment 875837 [details] temp.tar.xz
Created attachment 878576 [details, diff] include <algorithm> Looks like including <algorithm> fixes this.
Upstream has it already it seems https://github.com/melonDS-emu/melonDS/commit/e63e29ca91ba5fc1630634fbb9f064b9cce6cc1f
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831def21f26427feb8a3b137e1d20254276b00a8 commit 831def21f26427feb8a3b137e1d20254276b00a8 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2023-12-10 16:57:28 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2023-12-10 17:08:56 +0000 games-emulation/melonds: include algorithm Bug: https://github.com/melonDS-emu/melonDS/pull/1874 Closes: https://bugs.gentoo.org/918666 Signed-off-by: Maciej Barć <xgqt@gentoo.org> .../files/melonds-0.9.5-DSi_Camera-algorithm.patch | 24 ++++++++++++++++++++++ games-emulation/melonds/melonds-0.9.5-r4.ebuild | 13 +++++++++--- 2 files changed, 34 insertions(+), 3 deletions(-)