I can't recompile bcachefs-tools since change in cargo.eclass made at 4Apr. From https://evilpiepirate.org/git/bcachefs-tools * [new ref] HEAD -> refs/git-r3/HEAD git symbolic-ref refs/git-r3/sys-fs/bcachefs-tools/0/__main__ refs/git-r3/HEAD * Checking out https://evilpiepirate.org/git/bcachefs-tools.git to /var/tmp/portage/sys-fs/bcachefs-tools-9999/work/bcachefs-tools-9999 ... git checkout --quiet refs/git-r3/HEAD GIT NEW branch --> repository: https://evilpiepirate.org/git/bcachefs-tools.git at the commit: d0e89b6ef45ba45321f6d505c37feda20e63beac * fetch /var/tmp/portage/sys-fs/bcachefs-tools-9999/temp/environment: line 1670: : command not found Reproducible: Always Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.40-r8, 6.15.0-rc1 x86_64) ================================================================= System uname: Linux-6.15.0-rc1-x86_64-Intel-R-_Core-TM-_i5-6500T_CPU_@_2.50GHz-with-glibc2.40 KiB Mem: 15582200 total, 255488 free KiB Swap: 8845308 total, 6807108 free Timestamp of repository gentoo: Thu, 10 Apr 2025 14:05:19 +0000 Head commit of repository gentoo: 611ebbac7e5415edaeee320268971e809a90b57a Timestamp of repository guru: Wed, 09 Apr 2025 10:20:19 +0000 Head commit of repository guru: c3a2768953c9659f2cada6975f4ae72105d04ea6 sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 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.5::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.0::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.12.9::gentoo, 3.13.3::gentoo dev-lang/rust-bin: 1.84.1-r2::gentoo dev-util/ccache: 4.10.2-r1::gentoo llvm-core/clang: 19.1.7::gentoo llvm-core/llvm: 19.1.7::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.56::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.43-r2::gentoo, 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git sync-user: portage:portage priority: -1000 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mabm -ftree-loop-distribution -fira-loop-pressure -fvar-tracking-assignments -fgraphite-identity -floop-nest-optimize -ftree-loop-ivcanon -fivopts -fno-semantic-interposition -fipa-pta -fdevirtualize-at-ltrans -falign-functions=32" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -mabm -ftree-loop-distribution -fira-loop-pressure -fvar-tracking-assignments -fgraphite-identity -floop-nest-optimize -ftree-loop-ivcanon -fivopts -fno-semantic-interposition -fipa-pta -fdevirtualize-at-ltrans -falign-functions=32" 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 buildpkg-live ccache collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="en pl" MAKEOPTS="-j5" 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/bash" USE="acl acpi aio amd64 bash-completion bzip2 caps cet hwloc iconv idn initramfs ipv6 libtirpc lto lz4 lzo modules-compress ncurses nls openmp pam pcre readline recursion-limit seccomp split-usr sse sse2 sse3 ssl ssse3 test-rust threads threadsafe tools unicode vaapi vim-syntax xattr zlib zstd" 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="aggregation buddy-info capabilities cgroups contextswitch cpu cpufreq cpusleep disk df entropy ethstat Xgps hddtemp hugepages interface ipc irq load mbmon memory network processes procevent smart swap syslog thermal turbostat vmem" 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" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" 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="postgres17" PYTHON_SINGLE _TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" 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
I assume you mean: commit 8c2aba680ad0a767829c1133189792081671f54d Author: Eli Schwartz <eschwartz@gentoo.org> Date: Fri Apr 4 11:50:38 2025 -0400 cargo.eclass: fix live unpack to use selected cargo Eveywhere, we use ${CARGO} as set by the rust toolchain setup, except one place. This caused issues such as erroring out in at least one reported case with "cargo: command not found" (when using --root, apparently). It would also certainly not respect RUST_MIN_VER / RUST_MAX_VER. Ensure we consistently use the variable referencing the $CARGO that is definitely guaranteed to exist. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> We need to call rust_pkg_setup in bcachefs-tools, but we should maybe add a sanity check like other cargo phases too: if [[ -z "${CARGO}" ]]; then die "CARGO is not set; was rust_pkg_setup run?" fi
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18df914909755155edb6049ace22616ffd79329 commit a18df914909755155edb6049ace22616ffd79329 Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2025-04-10 17:32:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-10 18:49:43 +0000 sys-fs/bcachefs-tools: call rust_pkg_setup, add LLVM 20 - Package builds w/ LLVM 20 set in LLVM_SLOT Closes: https://bugs.gentoo.org/953515 Signed-off-by: Christopher Fore <csfore@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5caf9114b1fdc3ce5b278bfd33c8c790cd1c2149 commit 5caf9114b1fdc3ce5b278bfd33c8c790cd1c2149 Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2025-04-10 17:59:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-10 18:49:43 +0000 sys-fs/bcachefs-tools: add 1.25.1 - Add LLVM 20 support to LLVM_SLOTS - Add rust_pkg_setup to pkg_setup Bug: https://bugs.gentoo.org/953515 Signed-off-by: Christopher Fore <csfore@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/41528 Signed-off-by: Sam James <sam@gentoo.org> sys-fs/bcachefs-tools/Manifest | 2 + sys-fs/bcachefs-tools/bcachefs-tools-1.25.1.ebuild | 232 +++++++++++++++++++++ 2 files changed, 234 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3dffd3228188acf098b06d73059f1b02e69cfc commit ba3dffd3228188acf098b06d73059f1b02e69cfc Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2025-04-13 00:53:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-19 01:30:37 +0000 cargo.eclass: Add _cargo_check_initialized to cargo_live_src_unpack Currently cargo.eclass does not check if rust_pkg_setup was called in cargo_live_src_unpack, leading to situations where vague build errors can show up. Closes: https://bugs.gentoo.org/953532 Bug: https://bugs.gentoo.org/953515 Signed-off-by: Christopher Fore <csfore@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> eclass/cargo.eclass | 2 ++ 1 file changed, 2 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7aa0ac74a17f3b404103a42cfd24525c1e9cc2f commit e7aa0ac74a17f3b404103a42cfd24525c1e9cc2f Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2025-04-13 00:53:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-19 01:30:31 +0000 cargo.eclass: Pull check for rust_pkg_setup into its own function This reduces repetitiveness and allows for easier maintainability in the future. Bug: https://bugs.gentoo.org/953515 Bug: https://bugs.gentoo.org/953532 Signed-off-by: Christopher Fore <csfore@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> eclass/cargo.eclass | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)