from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/QFile:1, from /var/tmp/portage/sci-visualization/kst-2.0.8-r2/work/Kst-2.0.8/src/plugins/dataobject/bin/bin.h:18, from /var/tmp/portage/sci-visualization/kst-2.0.8-r2/work/Kst-2.0.8/src/plugins/dataobject/bin/bin.cpp:17: /usr/include/gsl/algorithm: In function void gsl::copy(span<ElementType, FirstExtent>, span<DestElementType, DestExtent>): /usr/include/gsl/algorithm:54:10: error: copy_n is not a member of std; did you mean copy? 54 | std::copy_n(src.data(), src.size(), dest.data()); | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20221203-111136 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-11 [2] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.8 Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit 91987b3c31366940194123752f36cea3c5e71653 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Dec 6 19:46:51 2022 +0000 2022-12-06 19:46:50 UTC emerge -qpvO sci-visualization/kst [ebuild N ] sci-visualization/kst-2.0.8-r2 USE="-debug -test"
Created attachment 840545 [details] emerge-info.txt
Created attachment 840547 [details] emerge-history.txt.bz2
Created attachment 840549 [details] environment
Created attachment 840551 [details] etc.clang.tar.bz2
Created attachment 840553 [details] etc.portage.tar.bz2
Created attachment 840555 [details] logs.tar.bz2
Created attachment 840557 [details] sci-visualization:kst-2.0.8-r2:20221206-201531.log.bz2
Created attachment 840559 [details] temp.tar.bz2
works for me: # emerge sci-visualization/kst -pvq [ebuild R ] sci-visualization/kst-2.0.8-r2 USE="-debug -test"
Reproduced. its sci-libs/gsl + dev-cpp/ms-gsl. Build uses header location for gsl -- Found Gsl: -- includes : /usr/include/gsl/;/usr/include/gsl//.. But ms-gsl has installed its own header there. $ qfile /usr/include/gsl/algorithm dev-cpp/ms-gsl: /usr/include/gsl/algorithm Leading to the failure when its mistakenly preferred over the standard libraries <algorithm>. /usr/include/gsl/algorithm: In function ‘void gsl::copy(span<ElementType, FirstExtent>, span<DestElementType, DestExtent>)’: /usr/include/gsl/algorithm:54:10: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’? 54 | std::copy_n(src.data(), src.size(), dest.data()); | ^~~~~~ | copy