Created attachment 917388 [details] Build log emerge www-client/chromium-132.0.6834.83 fails on PPC64. The emerge process is aborted at its early stages with the following error message: * Configuring Chromium ... gn gen --args= is_clang=true clang_use_chrome_plugins=false use_lld=true custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:default" rust_bindgen_root="/usr/" bindgen_libclang_path="/usr/lib/llvm/19/lib64" clang_base_path="/usr/lib/clang/19/" rust_sysroot_absolute="/opt/rust-bin-1.83.0/" rustc_version="1.83.0" is_debug=false dcheck_always_on=false dcheck_is_configurable=false is_component_build=false enable_nacl=false use_system_harfbuzz=true enable_hangout_services_extension=false enable_widevine=false use_cups=false use_kerberos=false use_pulseaudio=true use_vaapi=true rtc_use_pipewire=false gtk_version=4 link_pulseaudio=true disable_fieldtrial_testing_config=true use_sysroot=false use_custom_libcxx=true enable_pseudolocales=false blink_enable_generated_code_formatting=false proprietary_codecs=false ffmpeg_branding="Chromium" google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" target_cpu="ppc64" treat_warnings_as_errors=false fatal_linker_warnings=false v8_use_libm_trig_functions=true enable_nocompile_tests=false enable_freetype=true use_ozone=true ozone_auto_platforms=false ozone_platform_headless=true use_system_minigbm=true use_xkbcommon=true use_qt=false ozone_platform_x11=true ozone_platform_wayland=true ozone_platform="wayland" use_system_libffi=true use_thin_lto=true thin_lto_enable_optimizations=true is_official_build=true is_cfi=no symbol_level=0 chrome_pgo_phase=0 devtools_skip_typecheck=false out/Release ERROR at the command-line "--args":1:1412: Undefined identifier is_clang=true clang_use_chrome_plugins=false use_lld=true custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:default" rust_bindgen_root="/usr/" bindgen_libclang_path="/usr/lib/llvm/19/lib64" clang_base_path="/usr/lib/clang/19/" rust_sysroot_absolute="/opt/rust-bin-1.83.0/" rustc_version="1.83.0" is_debug=false dcheck_always_on=false dcheck_is_configurable=false is_component_build=false enable_nacl=false use_system_harfbuzz=true enable_hangout_services_extension=false enable_widevine=false use_cups=false use_kerberos=false use_pulseaudio=true use_vaapi=true rtc_use_pipewire=false gtk_version=4 link_pulseaudio=true disable_fieldtrial_testing_config=true use_sysroot=false use_custom_libcxx=true enable_pseudolocales=false blink_enable_generated_code_formatting=false proprietary_codecs=false ffmpeg_branding="Chromium" google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" target_cpu="ppc64" treat_warnings_as_errors=false fatal_linker_warnings=false v8_use_libm_trig_functions=true enable_nocompile_tests=false enable_freetype=true use_ozone=true ozone_auto_platforms=false ozone_platform_headless=true use_system_minigbm=true use_xkbcommon=true use_qt=false ozone_platform_x11=true ozone_platform_wayland=true ozone_platform="wayland" use_system_libffi=true use_thin_lto=true thin_lto_enable_optimizations=true is_official_build=true is_cfi=no symbol_level=0 chrome_pgo_phase=0 devtools_skip_typecheck=false Reproducible: Always Steps to Reproduce: 1.emerge =www-client/chromium-132.0.6834.83 Actual Results: Emerge fails. Expected Results: Package gets installed on the system. Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/ppc64le/23.0/systemd, gcc-14, glibc-2.40-r5, 6.6.62-202412201924-ppc64le ppc64le) ================================================================= System uname: Linux-6.6.62-202412201924-ppc64le-ppc64le-POWER9_-raw-,_altivec_supported-with-glibc2.40 KiB Mem: 83276416 total, 7283776 free KiB Swap: 33554368 total, 33550272 free Timestamp of repository gentoo: Sat, 18 Jan 2025 14:33:26 +0000 Head commit of repository gentoo: e6e95c619fc17f8c330477010b2f2d89afa511f4 Timestamp of repository guru: Fri, 17 Jan 2025 14:33:26 +0000 Head commit of repository guru: 1ca117df78bec56d8d3d9f9a1e321fa5db75eea3 sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.6::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.5.2::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo dev-lang/rust-bin: 1.81.0-r101::gentoo, 1.82.0-r101::gentoo, 1.83.0::gentoo llvm-core/clang: 19.1.4::gentoo llvm-core/lld: 19.1.4::gentoo llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.4::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.7::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.11::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="@FREE" CBUILD="powerpc64le-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=power9 -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize -fno-semantic-interposition" CHOST="powerpc64le-unknown-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.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mcpu=power9" DISTDIR="/var/cache/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 -mcpu=power9" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -mcpu=power9" GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--as-needed -O2 -pipe -mcpu=power9 -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize -fno-semantic-interposition" LEX="reflex" MAKEOPTS="-j32" PKGDIR="/var/cache/binpkgs" PORTAGE_BINHOST="http://binhost.bugzone.org/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --new-compress" 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="GNome-keyring X acl activities aio alsa appindicator aqbanking bzip2 calendar chm colord crypt cryptsetup cups dav1d dbus device-mapper djvu drm dvd encode epub exif fftw flac fontconfig gmp gnome gnome-shell gold gtk gtk4 harfbuzz hbci heif http2 iconv idn introspection ipv6 jemalloc jpeg jpeg2k jumbo-build keyring lapack latex lcms libass libproxy lm-sensors lto lzma map marble mp3 musicbrainz nautilus ncurses numa ocamlopt ofx ogg openmp opus pam pcre pdf pgo phonon pie pipewire pkcs11 png ppc64 pulseaudio raw readline savedconfig spell ssl svg system-icu systemd taglib test-rust theora threads tiff tpm truetype udev unicode usb v4l vala vorbis vpx vulkan wayland webp x264 x265 xattr xcb xkb zlib" 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_PPC="altivec vsx vsx2 vsx3" 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="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="PowerPC BPF AMDGPU" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31" SANE_BACKENDS="plustek" VIDEO_CARDS="amdgpu" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Thanks for the bug report. At a glance it doesn't like `is_cfi=no` which kind of makes sense - `gn` wants 'true' or 'false'. I'll push a fix shortly. Pending some access to modern POWER hardware to validate our packaging more regularly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cf4f4e2035ed891cb62e0b13d245e69794f8a8 commit 08cf4f4e2035ed891cb62e0b13d245e69794f8a8 Author: Matt Jolly <kangie@gentoo.org> AuthorDate: 2025-01-25 10:57:36 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2025-01-25 15:22:18 +0000 www-client/chromium: `is_cfi="no"` -> "false" GN wants true/false values, while this snuck in recently when PPC64 had to be excluded from CFI due to lack of support for the arch upstream (in compiler-rt-sanitizers). Closes: https://bugs.gentoo.org/948620 Signed-off-by: Matt Jolly <kangie@gentoo.org> www-client/chromium/chromium-132.0.6834.110.ebuild | 2 +- www-client/chromium/chromium-132.0.6834.83.ebuild | 2 +- www-client/chromium/chromium-133.0.6943.16.ebuild | 2 +- www-client/chromium/chromium-133.0.6943.27.ebuild | 2 +- www-client/chromium/chromium-134.0.6958.2.ebuild | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)