too long lines were shrinked: [277/628] x86_64-pc-linux-gnu-gcc -Irender/liblibxserver_render.a.p -Irender -I../xorg-server-21.1.3/render -IXext -I../xorg-server-21.1.3/Xext -IXi -I../xorg-server-21.1.3/Xi -Icomposite -I../xorg-server-21.1.3/composite -Idamageext -I../xorg-server-21.1.3/damageext -Iexa -I../xorg-server-21.1.3/ex FAILED: render/liblibxserver_render.a.p/picture.c.o x86_64-pc-linux-gnu-gcc -Irender/liblibxserver_render.a.p -Irender -I../xorg-server-21.1.3/render -IXext -I../xorg-server-21.1.3/Xext -IXi -I../xorg-server-21.1.3/Xi -Icomposite -I../xorg-server-21.1.3/composite -Idamageext -I../xorg-server-21.1.3/damageext -Iexa -I../xorg-server-21.1.3/exa -Ifb -I. ../xorg-server-21.1.3/render/picture.c: In function CreateSolidPicture’: ../xorg-server-21.1.3/render/picture.c:874:26: error: array subscript union _SourcePict[0]’ is partly outside array bounds of unsigned char[16]’ [-Werror=array-bounds] 874 | pPicture->pSourcePict->type = SourcePictTypeSolidFill; | ^~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4_test-20220420-221025 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 [2] x86_64-pc-linux-gnu-12.0.1 * clang/llvm (if any): /usr/lib/llvm/14 14.0.1 Python 3.9.12 Available Rust versions: [1] rust-bin-1.60.0 * php cli: HEAD of ::gentoo commit ffa8be39addc9b9b1ad7cf159796d6159a8ef552 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Apr 21 03:38:45 2022 +0000 2022-04-21 03:38:45 UTC emerge -qpvO x11-base/xorg-server [ebuild N ] x11-base/xorg-server-21.1.3-r1 USE="elogind test udev xorg xvfb -debug -minimal (-selinux) -suid -systemd -unwind -xcsecurity -xephyr -xnest"
Created attachment 772400 [details] emerge-info.txt
Created attachment 772403 [details] emerge-history.txt
Created attachment 772406 [details] environment
Created attachment 772409 [details] etc.portage.tar.bz2
Created attachment 772412 [details] logs.tar.bz2
Created attachment 772415 [details] temp.tar.bz2
Created attachment 772418 [details] x11-base:xorg-server-21.1.3-r1:20220421-052232.log.bz2
*** Bug 839912 has been marked as a duplicate of this bug. ***
From duplicate bug: (In reply to Sam James from comment #1) > Patch at > https://gitlab.freedesktop.org/xorg/xserver/-/commit/ > c6b0dcb82d4db07a2f32c09a8c09c85a5f57248e. It's an actual change rather than > placating compiler so needs revbump I guess.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d74dc715b01cd841ba931b9e3f3537eea50de6 commit 70d74dc715b01cd841ba931b9e3f3537eea50de6 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-21 18:34:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-21 18:49:34 +0000 x11-base/xorg-server: fix build with GCC 12 Note that this isn't just a boring build-time fix as it changes the sizes needed for malloc, so revbump. Closes: https://bugs.gentoo.org/839822 Signed-off-by: Sam James <sam@gentoo.org> .../files/xorg-server-21.1.3-gcc12.patch | 84 +++++++++ x11-base/xorg-server/xorg-server-21.1.3-r2.ebuild | 189 +++++++++++++++++++++ 2 files changed, 273 insertions(+)