too long lines were shrinked: [102/533] /var/tmp/portage/dev-libs/glib-2.74.0/temp/python3.11/bin/python3 gio/gdbus-2.0/codegen/gdbus-codegen --interface-prefix org. --output-directory gio --generate-c-code gdbus-daemon-generated --c-namespace _G ../glib-2.74.0/gio/dbus-daemon.xml [103/533] clang -Igio/gio-launch-desktop.p -Igio -I../glib-2.74.0/gio -Iglib -I../glib-2.74.0/glib -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -D_GNU_SOURCE -fno-strict-aliasing -Wimplicit-fallthrough -Wmisleading-indentation -Wunused -Wno-unused- FAILED: gio/gio-launch-desktop.p/gio-launch-desktop.c.o clang -Igio/gio-launch-desktop.p -Igio -I../glib-2.74.0/gio -Iglib -I../glib-2.74.0/glib -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -D_GNU_SOURCE -fno-strict-aliasing -Wimplicit-fallthrough -Wmisleading-indentation -Wunused -Wno-unused-parameter ../glib-2.74.0/gio/gio-launch-desktop.c:124:20: error: static assertion expression is not an integral constant expression G_STATIC_ASSERT (LOG_EMERG == 0 && "Linux ABI defines LOG_EMERG"); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20220917-010004 ------------------------------------------------------------------- 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 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 70514a1ff9d0747d358718998c62f7b3fbede9bf Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 08:31:53 2022 +0000 2022-09-18 08:31:52 UTC emerge -qpvO dev-libs/glib [ebuild U ] dev-libs/glib-2.74.0 [2.72.3] USE="elf (mime) sysprof utils xattr -dbus -debug -gtk-doc (-selinux) -static-libs -systemtap -test (-fam%)" ABI_X86="(64) -32 (-x32)"
Created attachment 810217 [details] emerge-info.txt
Created attachment 810220 [details] clang.tar.bz2
Created attachment 810223 [details] dev-libs:glib-2.74.0:20220918-085512.log
Created attachment 810226 [details] emerge-history.txt
Created attachment 810229 [details] environment
Created attachment 810232 [details] etc.portage.tar.bz2
Created attachment 810235 [details] logs.tar.bz2
Created attachment 810238 [details] temp.tar.bz2
I'm also seeing this with clang-15.0.1, so it's not strictly a clang-16 porting issue... Should maybe block #408963 too?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab72b72ddea0be05aa764df10093086e01cbc13 commit bab72b72ddea0be05aa764df10093086e01cbc13 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-22 04:13:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-22 04:13:25 +0000 dev-libs/glib: fix build w/ Clang Closes: https://bugs.gentoo.org/871174 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/glib/files/glib-2.74.0-clang-build.patch | 26 +++++++++++++++++++++++ dev-libs/glib/glib-2.74.0.ebuild | 1 + 2 files changed, 27 insertions(+)