Chromium fails to build with this error: [219/60918] ln -f obj/build/rust/std/libobject.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject.rlib 2>/dev/null || (rm -rf prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject.rlib && cp -af obj/build/rust/std/libobject.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject.rlib) [220/60918] ln -f obj/build/rust/std/libprofiler_builtins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib 2>/dev/null || (rm -rf prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib && cp -af obj/build/rust/std/libprofiler_builtins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib) FAILED: prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib ln -f obj/build/rust/std/libprofiler_builtins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib 2>/dev/null || (rm -rf prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib && cp -af obj/build/rust/std/libprofiler_builtins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins.rlib) cp: cannot stat 'obj/build/rust/std/libprofiler_builtins.rlib': No such file or directory emerge --info: Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-12, glibc-2.39-r6, 6.8.9xanmod1-xanmod1 x86_64) ================================================================= System uname: Linux-6.8.9xanmod1-xanmod1-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.39 KiB Mem: 32794212 total, 5769460 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 02 Aug 2024 15:30:00 +0000 Head commit of repository gentoo: f47f109e944329ecedfab7982bf77b097e1efe3f Head commit of repository edgets: 679d3e0fb5ff1d0192c84170fdb83a8b387a0dc1 Head commit of repository farmboy0: 2df3b12838fafc77468edff1ca308734f73e2f2a Timestamp of repository guru: Fri, 02 Aug 2024 13:19:01 +0000 Head commit of repository guru: fdcfd96835a0d73721823f068946f24dd90c69bc Timestamp of repository menelkir: Tue, 23 Jul 2024 14:19:06 +0000 Head commit of repository menelkir: 0b2735b0bce005a96104aa54b5607e8b42c40ef7 Timestamp of repository src_prepare-overlay: Thu, 01 Aug 2024 23:03:43 +0000 Head commit of repository src_prepare-overlay: ec4709f3ce018ddade0c91aa836a8f9c5d0e30ec Timestamp of repository steam-overlay: Mon, 15 Jul 2024 07:34:33 +0000 Head commit of repository steam-overlay: 8cfcc3f068b712dce3d91d3020afb058f68aa036 sh bash 5.2_p26-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.1::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo dev-lang/rust: 1.79.0::gentoo dev-lang/rust-bin: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.53::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r9::gentoo, 2.41-r5::gentoo, 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo sys-devel/gcc: 11.3.1_p20221209::gentoo, 12.3.1_p20230526::gentoo, 13.3.1_p20240614::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r1::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::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-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes edgets location: /var/db/repos/edgets sync-type: git sync-uri: https://github.com/BlueManCZ/edgets masters: gentoo volatile: False farmboy0 location: /var/db/repos/farmboy0 sync-type: git sync-uri: https://github.com/farmboy0/portage-overlay masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False localrep location: /var/db/repos/localrep masters: gentoo volatile: False menelkir location: /var/db/repos/menelkir sync-type: git sync-uri: https://github.com/gentoo-mirror/menelkir masters: gentoo volatile: False src_prepare-overlay location: /var/db/repos/src_prepare-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git 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 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver3 -O2 -fomit-frame-pointer -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mno-fma4 -mno-xop -mfma -mbmi -mbmi2 -maes -mrdrnd -mrdseed -msha -mshstk --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=znver3 -O2 -fomit-frame-pointer -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mno-fma4 -mno-xop -mfma -mbmi -mbmi2 -maes -mrdrnd -mrdseed -msha -mshstk --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -pipe" 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="-march=znver3 -O2 -fomit-frame-pointer -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mno-fma4 -mno-xop -mfma -mbmi -mbmi2 -maes -mrdrnd -mrdseed -msha -mshstk --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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="-march=znver3 -O2 -fomit-frame-pointer -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mno-fma4 -mno-xop -mfma -mbmi -mbmi2 -maes -mrdrnd -mrdseed -msha -mshstk --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j6" PKGDIR="/var/cache/binpkgs" 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/zsh" USE="10bit 7zip 8bit X a52 aac acl acpi activities alsa amd64 amf bluray branding browser browser-integration bzip2 cacert cairo cdda cdr cet chromium clippy crypt css cups custom-tune d3d10 d3d11 d3d9 dbus declarative desktop-portal desktop-utils desktopswitch dri drm dts dvd dvdr dxgi elogind encode exif fdk ffmpeg flac gdbm gif gles2 gles3 gpm gtk gui iconv icu ipv6 jack jack-sdk jpeg kde kf6compat kwallet ladspa lcms libdrm libnotify libtirpc lm-sensors lv2 mad mng modpack mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opencl opengl openh264 openmp opus pam pango pcre pdf pipewire pipewire-alsa plasma png policykit ppds proprietary-codecs pulseaudio qml qt5 qt6 qt6-imageformats rar rav1e readline rust-src rustfmt sbsms screencast sdl sdl-image seccomp semantic-desktop sensord sound sound-server spell spice spirv split-usr sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg sysv-utils test-rust tiff truetype udev udisks uefi unicode upower usb vaapi vainfo vamp vdpau video-thumbnails videos vkd3d vlc vorbis vulkan vulkan-overlay wayland wayland-compositor widevine widgets wxwidgets x264 x265 xattr xcb xcomposite xft xml xrandr xv xvid zlib zsh-completion zstd" ABI_X86="32 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 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31 ruby32" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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
got that build.log for us?
Created attachment 898907 [details] build.log of failed chromium installation
Same failure with www-client/chromium-127.0.6533.99
and www-client/chromium-128.0.6613.137 fails as well
Sorry about the delay; I thought I responded to this. Does your rust installation have the profiler USE? I feel like that's the issue based on the build log / error. Theoretically, newer versions of the Chromium ebuild should fail pre-build if we can't find a rust with the profiler USE. Can't remember precisely when I added that.
We've had this reported by another user in #gentoo-chromium. You most likely have a rust installed that fulfils the dependency [profiler(-)], but it's not the selected one. Try selecting another rust (`eselect rust`) or rebuilding the selected Rust with the Profiler use. I'll try and come up with an approach for checking that to fail early.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7857db57a841f28066459ece787800f2a28f2a commit 6e7857db57a841f28066459ece787800f2a28f2a Author: Matt Jolly <kangie@gentoo.org> AuthorDate: 2024-09-30 06:53:09 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2024-09-30 06:54:11 +0000 www-client/chromium: `die` if rust profiler not found Chromium's build system explicitly looks for `libprofiler_builtins-*.rlib` when using a prebuilt / system Rust. While we could patch this out so that users don't _need_ USE=profiler if not doing PGO, the Rust upstream default is to ship the profiler; conditionally changing the Chromium build logic to account for an untested and unsupported build is not desirable. Instead we will rely on existing dependency checks (which ensure that a Rust slot with the profiler is installed) and do a sanity check on the selected Rust implementation before unpacking Chromium's enormous tarball so that we can fail early and prompt the user to `eselect` the correct version / slot. Closes: https://bugs.gentoo.org/937161 Signed-off-by: Matt Jolly <kangie@gentoo.org> www-client/chromium/chromium-129.0.6668.70.ebuild | 14 ++++++++++++++ www-client/chromium/chromium-130.0.6723.19.ebuild | 14 ++++++++++++++ 2 files changed, 28 insertions(+)