>>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-misc/xsnap-1.5.15-r2/work/xsnap-1.5.15 ... imake -DUseInstalled -I/usr/lib64/X11/config /usr/bin/x86_64-pc-linux-gnu-ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib64/Scrt1.o: in function `_start': (.text+0x17): undefined reference to `main' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/xmkmf: line 53: 40 Aborted imake $imake_defines $args ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220915-203738 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.345_p01 [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): [1] php8.1 * GNU Make 4.3.90 HEAD of ::gentoo commit a7abb04fd6c213f3bf85ff69b1fd07d64b30626c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 17 13:46:46 2022 +0000 2022-09-17 13:46:46 UTC emerge -qpvO x11-misc/xsnap [ebuild N ] x11-misc/xsnap-1.5.15-r2
Created attachment 807871 [details] emerge-info.txt
Created attachment 807874 [details] emerge-history.txt
Created attachment 807877 [details] environment
Created attachment 807880 [details] etc.portage.tar.bz2
Created attachment 807883 [details] temp.tar.bz2
Created attachment 807886 [details] x11-misc:xsnap-1.5.15-r2:20220917-145456.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0bcea858a457034445af16010899e97f0d55fb commit 1c0bcea858a457034445af16010899e97f0d55fb Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-30 09:24:43 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-30 10:48:13 +0000 x11-misc/xsnap: fix build with clang Includes fix specific to >=clang16 too. Closes: https://bugs.gentoo.org/870811 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-misc/xsnap/files/xsnap-1.5.15-clang.patch | 17 +++++++++++++++++ x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 7 ++++++- 2 files changed, 23 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93bd722e0b57cf2313f3eb97e50e4277cfce344 commit c93bd722e0b57cf2313f3eb97e50e4277cfce344 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-30 09:19:37 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-30 10:48:13 +0000 x11-misc/xsnap: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Can still use clang & friends for everything else. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. Bug: https://bugs.gentoo.org/870811 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)