too long lines were shrinked: [57/276] /usr/bin/x86_64-pc-linux-gnu-gcc -DBUILDING_GR -DGRDIR=\"/usr/gr\" -DHAVE_ZLIB -DNO_EXPAT -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/include -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/src -I/var/tmp/portage/sci-visualization/gr-0.73.3/wo [58/276] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GR -DGRDIR=\"/usr/gr\" -DHAVE_ZLIB -DNO_EXPAT -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/include -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/src -I/var/tmp/portage/sci-visualization/gr-0.73.3/wo [59/276] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GR -DGRDIR=\"/usr/gr\" -DHAVE_ZLIB -DNO_EXPAT -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/include -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/src -I/var/tmp/portage/sci-visualization/gr-0.73.3/wo FAILED: CMakeFiles/grm_static.dir/lib/grm/src/grm/interaction.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GR -DGRDIR=\"/usr/gr\" -DHAVE_ZLIB -DNO_EXPAT -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/include -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/src -I/var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.7 /var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/src/grm/interaction.cxx: In function void moveTransformationHelper(const std::shared_ptr<GRM::Element>&, double, double, double, double, bool): /var/tmp/portage/sci-visualization/gr-0.73.3/work/gr-0.73.3/lib/grm/src/grm/interaction.cxx:383:16: error: no matching function for call to find(std::vector<std::__cxx11::basic_string<char> >::iterator, std::vector<std::__cxx11::basic_string<char> >::iterator, std::string) 383 | if (std::find(ndc_transformation_elems.begin(), ndc_transformation_elems.end(), element->localName()) != | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_gnome_systemd-20240412-195623 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.4 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.4 Python 3.11.9 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.77.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.22_p7 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.402_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 The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.1 * [2] php8.3 go version go1.22.2 linux/amd64 HEAD of ::gentoo commit ea8ec6920fd1b65f8474336f650454d54a935835 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Apr 24 12:34:23 2024 +0000 2024-04-24 12:34:23 UTC emerge -qpvO sci-visualization/gr
Created attachment 891652 [details] emerge-info.txt
Created attachment 891653 [details] emerge-history.txt.xz
Created attachment 891654 [details] environment
Created attachment 891655 [details] etc.clang.tar.xz
Created attachment 891656 [details] etc.portage.tar.xz
Created attachment 891657 [details] qlist-info.txt.xz
Created attachment 891658 [details] sci-visualization:gr-0.73.3:20240424-124205.log
Created attachment 891659 [details] temp.tar.xz
Making this block gcc-14 for lack of a better idea (do we need to specify the c++ standard here?)
It might just be a missing #include <algorithm> (see bottom of https://gcc.gnu.org/gcc-14/porting_to.html).
yes, adding <algorithm> header there suffices. I'll attach the patch
Created attachment 896032 [details, diff] patch to fix the bug
Created attachment 896047 [details, diff] better patch - more places where <algorithm> is needed there are two files where <algorithm> is needed.
(In reply to Sam James from comment #10) > It might just be a missing #include <algorithm> (see bottom of > https://gcc.gnu.org/gcc-14/porting_to.html). yes, that was the case. Please see the patch which allows the build.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a179461985e4857d07d1a67f8303bfce3233eb commit 30a179461985e4857d07d1a67f8303bfce3233eb Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-07-07 12:38:52 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-07-07 12:38:52 +0000 sci-visualization/gr: add 0.73.6 Closes: https://bugs.gentoo.org/930586 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sci-visualization/gr/Manifest | 1 + sci-visualization/gr/gr-0.73.6.ebuild | 85 +++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+)