In file included from /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/glxvisual.h:18, from /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/ContextHash.h:18, from /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/ContextHash.cpp:13: /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/faker-sym.h: In function Display* _XkbOpenDisplay(char*, int*, int*, int*, int*, int*)’: /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/faker-sym.h:72:18: error: comparison between distinct pointer types _XkbOpenDisplayType’ {aka Display* (*)(char*, int*, int*, int*, int*, int*)’} and Display* (*)(const char*, int*, int*, int*, int*, int*)’ lacks a cast [-fpermissive] 72 | if(__##s == fake_s) \ | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20220703-051237 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-10.3.1 [3] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.6 Python 3.10.5 Available Rust versions: [1] rust-bin-1.62.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.3_p7 [openjdk-17] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-17 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 8f37e9bef1de5c42fb86d1e459da8169ebdccd0e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jul 6 15:16:37 2022 +0000 2022-07-06 15:16:37 UTC emerge -qpvO x11-misc/virtualgl [ebuild N ] x11-misc/virtualgl-3.0.1 USE="ssl" ABI_X86="(64) -32 (-x32)"
Created attachment 790397 [details] emerge-info.txt
Created attachment 790400 [details] emerge-history.txt.bz2
Created attachment 790403 [details] environment
Created attachment 790406 [details] etc.portage.tar.bz2
Created attachment 790409 [details] logs.tar.bz2
Created attachment 790412 [details] temp.tar.bz2
Created attachment 790415 [details] x11-misc:virtualgl-3.0.1:20220706-154022.log
Huh, it's not GCC 12, but new libX11! Patch: https://github.com/VirtualGL/virtualgl/commit/46d09529563127fef0d42a4fb2681ae8d65a856b
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2381a8ec1ffefc82269d3959a643940ba7aff84 commit d2381a8ec1ffefc82269d3959a643940ba7aff84 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2022-07-20 13:11:30 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2022-07-20 13:11:30 +0000 x11-misc/virtualgl: Fix build with latest libX11 Thanks-to: Toralf Förster Thanks-to: Sam James Closes: https://bugs.gentoo.org/856724 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../files/virtualgl-3.0.1-libX11-1.8.patch | 140 +++++++++++++++++++++ x11-misc/virtualgl/virtualgl-3.0.1.ebuild | 5 + 2 files changed, 145 insertions(+)