grep: warning: stray \ before white space grep: warning: stray \ before white space clang++ -o use_libgmic use_libgmic.cpp -std=c++11 -pedantic -lgmic -lz -L. -L/usr/lib64 -lpthread -lomp -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 /usr/bin/x86_64-pc-linux-gnu-ld.bfd: cannot find -lgmic: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:433: use_libgmic] Error 1 shuffle=3700922607 make[1]: Leaving directory '/var/tmp/portage/media-gfx/gmic-3.1.6/work/gmic-3.1.6/src' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4_test-20221107-060003 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.4 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.4 Python 3.10.8 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * php cli (if any): GNU Make 4.4 HEAD of ::gentoo commit caa6fda3bd2f7b9f3f16b89eb8378b0410701c2d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 7 21:16:54 2022 +0000 2022-11-07 21:16:53 UTC emerge -qpvO media-gfx/gmic [ebuild N ] media-gfx/gmic-3.1.6 USE="cli openexr openmp -X -curl -ffmpeg -fftw -gimp -graphicsmagick -jpeg -opencv -png -qt5 -tiff"
Created attachment 828723 [details] emerge-info.txt
Created attachment 828725 [details] emerge-history.txt
Created attachment 828727 [details] environment
Created attachment 828729 [details] etc.portage.tar.bz2
Created attachment 828731 [details] media-gfx:gmic-3.1.6:20221107-215820.log
Created attachment 828733 [details] temp.tar.bz2
I think the problem here is with grep-3.8, not clang - it's not that building the library fails, according to the log make hasn't even TRIED to build it. Fix to follow...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16ca95eda19f52557b440b134dbc50e9fc7fcfd commit a16ca95eda19f52557b440b134dbc50e9fc7fcfd Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-11-10 23:25:14 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-11-10 23:26:42 +0000 media-gfx/gmic: strip stray backslashes from grep calls Since grep-3.8 the string '\ ' no longer matches a space. Closes: https://bugs.gentoo.org/880339 Signed-off-by: Marek Szuba <marecki@gentoo.org> media-gfx/gmic/files/gmic-3.1.6-grep38.patch | 27 +++++++++++++++++++++++++++ media-gfx/gmic/gmic-3.1.6.ebuild | 1 + 2 files changed, 28 insertions(+)