Emerging www-client/chromium-132.0.6834.57 results in a compilation failure like below: * Messages for package www-client/chromium-132.0.6834.57: * ERROR: www-client/chromium-132.0.6834.57::gentoo failed (configure phase): * get_rust_path: invalid rust_type= * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 4917: Called chromium_configure '0' * environment, line 1929: Called get_rust_prefix * environment, line 3005: Called get_rust_path '' '' '' * environment, line 2994: Called die * The specific snippet of code: * die "${FUNCNAME}: invalid rust_type=${rust_type}" * * If you need support, post the output of `emerge --info '=www-client/chromium-132.0.6834.57::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-132.0.6834.57::gentoo'`. * The complete build log is located at '/tmp/portage/www-client/chromium-132.0.6834.57/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/www-client/chromium-132.0.6834.57/temp/environment'. * Working directory: '/tmp/portage/www-client/chromium-132.0.6834.57/work/chromium-132.0.6834.57' * S: '/tmp/portage/www-client/chromium-132.0.6834.57/work/chromium-132.0.6834.57' * * The following package has failed to build, install, or execute postinst: * * (www-client/chromium-132.0.6834.57:0/beta::gentoo, ebuild scheduled for merge), Log file: * '/tmp/portage/www-client/chromium-132.0.6834.57/temp/build.log' * The recent update to the rust.eclass (https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/rust.eclass?id=d393753de4be9164251344e887e97adfcc0f0bce) appears to have introduced an inconsistency. While the call to _get_rust_slot() has been updated in rust_pkg_setup(), the same update is missing in get_rust_prefix(). Reproducible: Always Steps to Reproduce: 1.emerge '=www-client/chromium-132.0.6834.57' Actual Results: compilation failure in configure phase Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.40-r7, 6.12.6-gentoo x86_64) ================================================================= System uname: Linux-6.12.6-gentoo-x86_64-AMD_Ryzen_9_9900X_12-Core_Processor-with-glibc2.40 KiB Mem: 63343060 total, 25120192 free KiB Swap: 33554428 total, 33554428 free Timestamp of repository gentoo: Sun, 22 Dec 2024 13:18:33 +0000 Head commit of repository gentoo: 62c0ee8a8a467becc33cdbdd2c471e4fc2e8005a Head commit of repository myportage: aecab28a9f6d0e83ddd5a5b275ae9f10e4c30cb2 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.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/cmake: 3.31.3::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.6.1::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.12.8::gentoo dev-lang/rust: 1.83.0-r1::gentoo llvm-core/clang: 19.1.6::gentoo llvm-core/lld: 19.1.6::gentoo llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.6::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.55.1::gentoo sys-apps/sandbox: 2.41::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241116::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False sync-git-verify-commit-signature: yes crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/home/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --jobs=24 --load-average=24 --autounmask-write --quiet-build" 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 -march=native -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=native -pipe" GENTOO_MIRRORS="https://ftp.riken.jp/Linux/gentoo/ https://repo.jing.rocks/gentoo http://ftp.iij.ad.jp/pub/linux/gentoo/" LANG="ja_JP.UTF-8" LDFLAGS="-fuse-ld=mold -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="ja" MAKEOPTS="-j24 -l32" PKGDIR="/mnt/data/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="/tmp" SHELL="/bin/zsh" USE="X aac acl alsa amd64 avif bash-completion bluetooth bluray bzip2 cairo caps cet cjk crypt cups dbus elogind exif ffmpeg flac fontconfig gdbm gtk heif http2 iconv icu ipv6 jpeg lcms libcaca libtirpc lto mp3 mp4 multilib ncurses nls ogg opengl openmp opus pam pcre png pulseaudio readline seccomp split-usr sqlite ssl svg test-rust threads tiff truetype udev unicode vaapi vdpau vim-syntax vorbis vpx vulkan webp x264 x265 xattr xinerama zlib zsh-completion" 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="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha 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_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ja" 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="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby33" 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, 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
*** Bug 946847 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438a09957f5e4d6885fee7982814b2071282e861 commit 438a09957f5e4d6885fee7982814b2071282e861 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-22 19:40:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-22 19:40:59 +0000 rust.eclass: update get_rust_path for recent change Speculative fix based on description in bug. Closes: https://bugs.gentoo.org/946824 Fixes: d393753de4be9164251344e887e97adfcc0f0bce Signed-off-by: Sam James <sam@gentoo.org> eclass/rust.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
*** Bug 946849 has been marked as a duplicate of this bug. ***