too long lines were shrinked: [140/143] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRNP_RUN_TESTS -DRNP_STATIC -D_GNU_SOURCE -I/var/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src -I/var/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/lib -I/usr/include/botan-2 -I/var/tmp/portage/dev [141/143] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRNP_RUN_TESTS -DRNP_STATIC -D_GNU_SOURCE -I/var/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src -I/var/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/lib -I/usr/include/botan-2 -I/var/tmp/portage/dev [142/143] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRNP_RUN_TESTS -DRNP_STATIC -D_GNU_SOURCE -I/var/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src -I/var/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/lib -I/usr/include/botan-2 -I/var/tmp/portage/dev [143/143] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 src/tests/CMakeFiles/rnp_tests.dir/__/rnp/rnpcfg.cpp.o src/tests/CMakeFiles/rnp_tests.dir/__/rnp/fficli.cpp.o src/tests/CMakeFiles/rnp_tests. >>> Source compiled. >>> Test phase: dev-util/librnp-0.17.0-r2 CMake Error: '-j -j4' given invalid value '-j -j4' * ERROR: dev-util/librnp-0.17.0-r2::gentoo failed (test phase): * (no error message) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_test-20240321-184907 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.2 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.2 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.76.0 [2] rust-1.76.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-17 [2] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.1 linux/amd64 HEAD of ::gentoo commit 8027bd72fc2ab632c503fd2516afe677bf8467c3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Mar 23 15:04:16 2024 +0000 2024-03-23 15:04:16 UTC emerge -qpvO dev-util/librnp [ebuild N ] dev-util/librnp-0.17.0-r2 USE="botan test -man"
Created attachment 888291 [details] emerge-info.txt
Created attachment 888292 [details] dev-util:librnp-0.17.0-r2:20240323-162821.log
Created attachment 888293 [details] emerge-history.txt
Created attachment 888294 [details] environment
Created attachment 888295 [details] etc.clang.tar.xz
Created attachment 888296 [details] etc.portage.tar.xz
Created attachment 888297 [details] qlist-info.txt
src_test() { cd "${BUILD_DIR}"/src/tests || die ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die } Use $(makeopts_jobs) from multiprocessing.eclass instead. But you might be able to just do cmake_src_test with args instead...
(In reply to Sam James from comment #8) > src_test() { > cd "${BUILD_DIR}"/src/tests || die > ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die > } > Who wrote this? That's awful! (I know, https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-util/librnp?id=31862cd96272809389aa0a6389bfa9d7dc333309) but I do wonder how it has worked for me just fine through stabilizations.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89829a80ef30057203ef5956402722865257e00d commit 89829a80ef30057203ef5956402722865257e00d Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-04-15 05:57:38 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-04-15 06:03:22 +0000 dev-util/librnp: restrict sexpp dep, fix tests call Closes: https://bugs.gentoo.org/927638 Bug: https://bugs.gentoo.org/929906 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../librnp/{librnp-0.17.0-r2.ebuild => librnp-0.17.0-r3.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)