Created attachment 749049 [details] Build.log During my weekly system update I received: ERROR: sys-libs/compiler-rt-sanitizers-13.0.0::gentoo failed (compile phase): * ninja -v -j8 -l0 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3452: Called cmake_src_compile * environment, line 1457: Called cmake_build * environment, line 1426: Called eninja * environment, line 1933: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" Here's the output of emerge -pqv '=sys-libs/compiler-rt-sanitizers-13.0.0::gentoo: [ebuild NS ] sys-libs/compiler-rt-sanitizers-13.0.0 [12.0.1] USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc%* profile safestack scudo tsan ubsan xray -debug% (-shadowcallstack) -test" build.log in attachment Best Regards, Acatorn
Created attachment 749052 [details] output of emerge --info
What libc are you using? If you use a recent version of glibc in the recommended way, this seems to indicate that sys-libs/libxcrypt is missing on your system? (for other libc implementations I don't know)
Same here. I assume, it happend the same on your system: compiler-rt-sanitizers was compiled _before_ virtual/libcrypt-2 and/or sys-libs/libxcrypt (the last will provide crypt.h) and you're using glibc 2.33-r7 (at least higher or equal than 2.33-r3). If you have sys-libs/libxcrypt installed, than you should have crypt.h (you can check with [ equery f libxcrypt | grep crypt.h ]). It should than compile fine. Suggestion to maintainer: compiler-rt-sanitizers should depend on virtual/libcrypt-2 or sys-libs/libxcrypt if newer glibc, not providing crypt.h (>=2.33-r3?) anymore, was found on the system.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abb5ba9c674430b26936cb0c5692661b5aafca8 commit 7abb5ba9c674430b26936cb0c5692661b5aafca8 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-06 20:49:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-06 20:49:43 +0000 sys-libs/compiler-rt-sanitizers: needs crypt.h Needs crypt.h but only the header so DEPEND. Closes: https://bugs.gentoo.org/822093 Signed-off-by: Sam James <sam@gentoo.org> .../compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.1-r1.ebuild | 3 ++- .../compiler-rt-sanitizers/compiler-rt-sanitizers-11.1.0-r1.ebuild | 3 ++- sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.1.ebuild | 3 ++- .../compiler-rt-sanitizers/compiler-rt-sanitizers-13.0.0.9999.ebuild | 3 ++- sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-13.0.0.ebuild | 3 ++- .../compiler-rt-sanitizers/compiler-rt-sanitizers-14.0.0.9999.ebuild | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-)