emerge --info '=www-client/chromium-135.0.7049.52::gentoo' Portage 3.0.67 (python 3.13.2-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.41-r1, 6.13.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.13.6-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2696_v4_@_2.20GHz-with-glibc2.41 KiB Mem: 131793872 total, 105158792 free KiB Swap: 3710972 total, 3710972 free Timestamp of repository gentoo: Mon, 07 Apr 2025 13:15:00 +0000 Head commit of repository gentoo: eb3be1f27b340460abaf0fb6b5b5f5ae3c1b5798 Timestamp of repository gentoo-zh: Tue, 08 Apr 2025 09:50:14 +0000 Head commit of repository gentoo-zh: 2e86a3f894d2012fd0080369f0e3e805f7b546d4 Timestamp of repository steam-overlay: Fri, 04 Apr 2025 17:22:34 +0000 Head commit of repository steam-overlay: 77548ff0e6ec3f8115777e66d7f1cf0f2779a4a4 sh bash 5.2_p37 ld GNU ld (Gentoo 2.44 p1) 2.44.0 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.17-r2::gentoo dev-build/cmake: 3.31.6-r1::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.2::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.1::gentoo dev-lang/python: 3.12.9::gentoo, 3.13.2::gentoo dev-lang/rust: 1.85.0-r1::gentoo, 1.85.1::gentoo llvm-core/clang: 19.1.7::gentoo, 20.1.2::gentoo llvm-core/lld: 19.1.7::gentoo, 20.1.2::gentoo llvm-core/llvm: 17.0.6-r3::gentoo, 19.1.7::gentoo, 20.1.2::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.61::gentoo sys-apps/sandbox: 2.46::gentoo sys-apps/systemd: 257.5::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 12.4.1_p20250227::gentoo, 13.3.1_p20250301::gentoo, 14.2.1_p20250301::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.41-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: Lokal location: /usr/local/portage masters: gentoo volatile: True gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False crossdev location: /var/db/repos/portage-crossdev masters: gentoo priority: 10 volatile: False Binary Repositories: binhost priority: 9999 sync-uri: https://ftp.tu-ilmenau.de/mirror/gentoo/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.4/ext-active/ /etc/php/cgi-php8.4/ext-active/ /etc/php/cli-php8.4/ext-active/ /etc/php/fpm-php8.4/ext-active/ /etc/php/phpdbg-php8.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ https://mirror.dogado.de/gentoo http://ftp.agdsn.de/gentoo https://ftp.agdsn.de/gentoo rsync://ftp.agdsn.de/gentoo https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ rsync://ftp.spline.inf.fu-berlin.de/gentoo-distfiles/ https://ftp.gwdg.de/pub/linux/gentoo/ http://ftp.gwdg.de/pub/linux/gentoo/ ftp://ftp.gwdg.de/pub/linux/gentoo/ rsync://ftp.gwdg.de/gentoo/ https://ftp.uni-hannover.de/gentoo/ http://ftp.uni-hannover.de/gentoo/ ftp://ftp.uni-hannover.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ https://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ https://mirror.netzwerge.de/gentoo/ http://mirror.netzwerge.de/gentoo/ rsync://mirror.netzwerge.de/gentoo https://packages.hs-regensburg.de/gentoo-distfiles/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo https://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ rsync://ftp.tu-ilmenau.de/gentoo/ https://ftp.fau.de/gentoo http://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ https://ftp.uni-stuttgart.de/gentoo-distfiles/ http://ftp.uni-stuttgart.de/gentoo-distfiles/ ftp://ftp.uni-stuttgart.de/gentoo-distfiles/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="de_DE de en" MAKEOPTS="-j44 -l44" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi activities aes alsa amd64 apache2 avx avx2 bcmath bluetooth branding bzip2 cairo cdda cdr cet colord crypt cuda cups curl dbus declarative dmx dri dts dvd dvdr encode exif ffmpeg flac fma3 gd gdbm gentoo-vm gif gimp gpm gtk gui iconv icu imagemagick intl ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc lm-sensors mad mmx mmxext mng mp3 mp4 mpeg multilib mysql mysqli ncurses networkmanager nls nvenc nvidia ogg opcache opengl openmp pam pango pcre pdf pdo pipewire plasma png policykit popcnt postscript ppds pulseaudio qml qt5 qt6 rdp readline samba screencast sdl seccomp semantic-desktop soap sound spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xinerama xml xslt xv xvid xvmc zip zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8_0" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_13" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby32 ruby33 ruby34" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS emerge -pqv =www-client/chromium-135.0.7049.52::gentoo [ebuild U ] www-client/chromium-135.0.7049.52 [135.0.7049.3] USE="X cups hangouts official proprietary-codecs pulseaudio qt6 screencast system-harfbuzz system-png system-zstd vaapi wayland widevine -bindist -bundled-toolchain -custom-cflags -debug -ffmpeg-chromium -gtk4 (-headless) -kerberos -pax-kernel (-pgo) (-selinux) (-system-icu) -test" L10N="de -af -am -ar -bg -bn -ca -cs -da -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -ur -vi -zh-CN -zh-TW" LLVM_SLOT="19 (-20)" User patch applied as mentioned in https://bugs.gentoo.org/show_bug.cgi?id=951816 uname -a Linux forest 6.13.6-gentoo #2 SMP PREEMPT_DYNAMIC Thu Mar 13 17:54:48 CET 2025 x86_64 Intel(R) Xeon(R) CPU E5-2696 v4 @ 2.20GHz GenuineIntel GNU/Linux
Created attachment 924110 [details] build log
Ah, this is a generated file by gperf, I think! It's therefore likely caused by dev-util/gperf-3.2?
``` gen/third_party/blink/renderer/platform/color_data.cc:170:7: error: fallthrough annotation does not directly precede switch label 170 | [[fallthrough]]; | ^ gen/third_party/blink/renderer/platform/color_data.cc:154:7: error: fallthrough annotation does not directly precede switch label 154 | [[fallthrough]]; | ^ gen/third_party/blink/renderer/platform/color_data.cc:234:7: error: fallthrough annotation does not directly precede switch label 234 | [[fallthrough]]; | ^ gen/third_party/blink/renderer/platform/color_data.cc:210:7: error: fallthrough annotation does not directly precede switch label 210 | [[fallthrough]]; | ^ gen/third_party/blink/renderer/platform/color_data.cc:106:7: error: fallthrough annotation does not directly precede switch label 106 | [[fallthrough]]; | ^ gen/third_party/blink/renderer/platform/color_data.cc:130:7: error: fallthrough annotation does not directly precede switch label 130 | [[fallthrough]]; | ^ gen/third_party/blink/renderer/platform/color_data.cc:242:7: error: fallthrough annotation does not directly precede switch label 242 | [[fallthrough]]; | ^ [...] ```
I'm poking a bit.
It's a Chromium bug. ``` www-client/chromium-135.0.7049.84/work/chromium-135.0.7049.84/out/Release # gperf --key-positions=\* -D -s 2 ../../third_party/blink/renderer/platform/color_data.gperf --output-file=gen/third_party/blink/renderer/platform/color_data.cc ``` Works fine, no dodgy [[fallthrough]]. But third_party/blink/renderer/build/scripts/gperf.py has.. ``` # -Wimplicit-fallthrough needs an explicit fallthrough statement, # so replace gperf's /*FALLTHROUGH*/ comment with the statement. # https://savannah.gnu.org/bugs/index.php?53029 gperf_output = gperf_output.replace('/*FALLTHROUGH*/', ' [[fallthrough]];') ``` I actually think each of the workarounds that file does could be removed now w/ gperf-3.2.
Created attachment 924200 [details, diff] remove the duplate code "replace_fallthrough_comment"
Created attachment 924201 [details, diff] gperf.patch
(In reply to Sam James from comment #7) > Created attachment 924201 [details, diff] [details, diff] > gperf.patch This just finished building and WFM.
I had this issue too. The patch in comment 7 fixed it for me as well.
commit f5e828591c4596293f8a3157aa074b930e68b69f Author: Matt Jolly <kangie@gentoo.org> Date: Mon Apr 14 07:44:55 2025 +1000 www-client/chromium: fix build with gperf >=3.2 This patch appears doesn't appear to impact when built with older versions of gperf, so we'll apply unconditionally. Bump the minimum gperf version for M136. Signed-off-by: Matt Jolly <kangie@gentoo.org>
commit 1b46554a96860af16180c43d7cc6b8ec38d36917 Author: Ionen Wolkens <ionen@gentoo.org> Date: Fri Apr 18 06:52:30 2025 -0400 dev-qt/qtwebengine: backport build fix for with gperf 3.2 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>