Created attachment 908445 [details] build.log.lz (part 1 of 2) Since upgrading from dev-libs/icu-75.1 to 76.1-r1, I have tried and failed to rebuild www-client/chromium-130.0.6723.116-r1 three times. I even blew away my ccache cache on the last attempt, and it's still failing with: FAILED: mksnapshot "python3.12" "../../build/toolchain/gcc_link_wrapper.py" --output="./mksnapshot" -- x86_64-pc-linux-gnu-clang++-19 -pie -fuse-ld=lld -Wl,--build-id=fast -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -flto=thin -Wl,--thinlto-jobs=all -Wl,-mllvm,-import-instr-limit=30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -Wl,-mllvm,-inlinehint-threshold=360 -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -no-canonical-prefixes -Wl,-z,defs -Wl,--as-needed -nostdlib++ -Wl,--lto-O0 -rdynamic -pie -Wl,--disable-new-dtags -Wl,--icf=none -Wl,-O2 -Wl,--as-needed -Wl,--undefined-version -o "./mksnapshot" -Wl,--start-group @"./mksnapshot.rsp" -Wl,--end-group -ldl -lpthread -lrt -licui18n -licuuc -lz -Wl,--start-group -Wl,--end-group ld.lld: error: undefined symbol: icu::UnicodeString::doAppend(std::__Cr::basic_string_view<char16_t, std::__Cr::char_traits<char16_t>>) >>> referenced by js-number-format.cc >>> obj/v8/v8_base_without_compiler/mksnapshot.lto.js-number-format.o:(v8::internal::JSNumberFormat::RoundingIncrement(v8::internal::Isolate*, icu::UnicodeString const&)) ld.lld: error: undefined symbol: icu::UnicodeString::doReplace(int, int, std::__Cr::basic_string_view<char16_t, std::__Cr::char_traits<char16_t>>) >>> referenced by js-date-time-format.cc >>> obj/v8/v8_base_without_compiler/mksnapshot.lto.js-date-time-format.o:(v8::internal::JSDateTimeFormat::TimeZoneId(v8::internal::Isolate*, icu::TimeZone const&)) x86_64-pc-linux-gnu-clang++-19: error: linker command failed with exit code 1 (use -v to see invocation) Evidently ICU 76 introduces a new overload of those functions, and Chromium is attempting to call those new overloads but is corrupting their signatures with its own internal __Cr namespace, such that the corrupted symbols cannot be found in the shared libraries. # nm -CD /usr/lib64/libicuuc.so.75 | grep -E 'UnicodeString::do(Append|Replace)' 0000000000156930 T icu::UnicodeString::doAppend(char16_t const*, int, int) 0000000000156e50 T icu::UnicodeString::doAppend(icu::UnicodeString const&, int, int) 0000000000157090 T icu::UnicodeString::doReplace(int, int, char16_t const*, int, int) 0000000000157700 T icu::UnicodeString::doReplace(int, int, icu::UnicodeString const&, int, int) # nm -CD /usr/lib64/libicuuc.so.76 | grep -E 'UnicodeString::do(Append|Replace)' 00000000001584e0 T icu::UnicodeString::doAppend(char16_t const*, int, int) 00000000001589d0 T icu::UnicodeString::doAppend(icu::UnicodeString const&, int, int) 0000000000158bb0 T icu::UnicodeString::doAppend(std::basic_string_view<char16_t, std::char_traits<char16_t> >) 0000000000158e10 T icu::UnicodeString::doReplace(int, int, char16_t const*, int, int) 0000000000159480 T icu::UnicodeString::doReplace(int, int, icu::UnicodeString const&, int, int) 00000000001599f0 T icu::UnicodeString::doReplace(int, int, std::basic_string_view<char16_t, std::char_traits<char16_t> >) Notice the new overloads that take a std::basic_string_view argument, but then notice that Chromium is trying to link with mutated function signatures that take a std::__Cr::basic_string_view argument. # emerge --info '=www-client/chromium-130.0.6723.116-r1::gentoo' Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r5, 6.6.52-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.52-gentoo-x86_64-AMD_Ryzen_9_7940HS_w-_Radeon_780M_Graphics-with-glibc2.40 KiB Mem: 63588812 total, 26617700 free KiB Swap: 75495420 total, 72673548 free Timestamp of repository gentoo: Mon, 11 Nov 2024 02:00:00 +0000 Head commit of repository gentoo: ca94ab4e0bac64cf2cbe6409f62318e49c983f6e sh dash 0.5.12 ld GNU ld (Gentoo 2.43 p3) 2.43.1 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.10.2 [enabled] 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.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.31.0::gentoo dev-build/libtool: 2.5.3::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.6.0::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.12.7_p1::gentoo, 3.13.0::gentoo dev-lang/rust: 1.82.0-r100::gentoo dev-util/ccache: 4.10.2-r1::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.55.1::gentoo sys-apps/sandbox: 2.40::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8-r6::gentoo, 19.1.3::gentoo sys-devel/gcc: 14.2.1_p20241026::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo, 19.1.3::gentoo sys-devel/llvm: 18.1.8-r6::gentoo, 19.1.3::gentoo sys-kernel/linux-headers: 6.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/X11/xkb /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/i18n/locales/en_US /usr/share/sddm/scripts/Xsetup /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dbus-1 /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=native -O3 -ggdb -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --unordered-display --verbose-conflicts --autounmask=n --backtrack=100 --usepkg --load-average=16" 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 buildpkg-live ccache compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" http://home.mattwhitlock.com/ http://mirror.leaseweb.com/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ " INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd/system /usr/lib/sysusers.d /etc/xinetd.d /usr/share/bash-completion /usr/share/fish /usr/share/zsh /usr/share/cmake/Help /usr/share/gtk-doc /usr/share/locale/*/ -/usr/share/locale/en -/usr/share/locale/en_US" LANG="en_US.utf8" LDFLAGS="-Wl,-O2 -Wl,--as-needed" LEX="flex" LINGUAS="en_US en" MAKEOPTS="-j16 -l24" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS="xz" 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 --exclude=/CACHEDIR.TAG" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acpi alsa amd64 branding bzip2 cairo cdda cdparanoia cdr crypt cups curl dbus declarative dri dts dvd dvdr elogind encode evdev exif ffmpeg flac fontconfig gif git gmp gtk gui iconv icu id3tag ipv6 jpeg kde kf6compat kwallet lame lcms libnotify libsamplerate libtirpc lzma mad matroska mng mp3 mp4 mpeg multilib ncurses networkmanager ogg opengl opus pam pango pcre pdf php pipewire plasma png policykit postgres ppds pulseaudio qml qt5 qt6 quicktime readline sctp sdl seccomp smp sound spell ssl startup-notification subversion svg taglib tcmalloc test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vpx vulkan wayland webkit webp widgets x264 xcb xft xml xv xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" 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 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" 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_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" 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="ruby32 ruby31" VIDEO_CARDS="amdgpu radeonsi" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= www-client/chromium-130.0.6723.116-r1::gentoo was built with the following: USE="X cups proprietary-codecs pulseaudio qt5 qt6 system-harfbuzz system-icu system-png system-zstd vaapi wayland -bindist -custom-cflags -debug -ffmpeg-chromium -gtk4 -hangouts (-headless) -kerberos -official -pax-kernel (-pgo) -screencast (-selinux) -test -widevine" ABI_X86="(64)" L10N="-af -am -ar -bg -bn -ca -cs -da -de -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 -18" CFLAGS="-pipe -Wno-unknown-warning-option -Wno-gnu-line-marker -O3 -march=znver4 -march=znver4" CXXFLAGS="-pipe -Wno-unknown-warning-option -Wno-gnu-line-marker -O3 -march=znver4 -march=znver4" LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--undefined-version" # emerge -pqv '=www-client/chromium-130.0.6723.116-r1::gentoo' [ebuild R ] www-client/chromium-130.0.6723.116-r1 USE="X cups proprietary-codecs pulseaudio qt5 qt6 system-harfbuzz system-icu system-png system-zstd vaapi wayland -bindist -custom-cflags -debug -ffmpeg-chromium -gtk4 -hangouts (-headless) -kerberos -official -pax-kernel (-pgo) -screencast (-selinux) -test -widevine" L10N="-af -am -ar -bg -bn -ca -cs -da -de -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 -18"
Created attachment 908446 [details] build.log.lz (part 2 of 2)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132cde5ca12632ff3b84e817a160e2f3420af8a3 commit 132cde5ca12632ff3b84e817a160e2f3420af8a3 Author: Matt Jolly <kangie@gentoo.org> AuthorDate: 2024-11-11 08:44:48 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2024-11-11 08:49:17 +0000 profiles/base: mask www-client/chromium[system-icu] Chromium fails to build with ICU 76.1. While we could work around this in the ebuild, we already have machinery in place that enables us to toggle the use of the bundled library; we'll mask the USE for a little while until upstream have sorted it out. Given how fast Chromium moves this should not stick around for too long. Bug: https://bugs.gentoo.org/943216 Signed-off-by: Matt Jolly <kangie@gentoo.org> profiles/base/package.use.mask | 6 ++++++ 1 file changed, 6 insertions(+)