Code: Select all
gunzip -c /var/log/portage/dev-lang:rust-9999:20251021-001819.log.gz|tail -n 30
running: LD_LIBRARY_PATH="/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/x86_64-unknown-linux-gnu/bootstrap-tools/x86_64-unknown-linux-gnu/release/deps" RUSTC="/opt/rust-bin-9999/bin/rustc" "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/x86_64-unknown-linux-gnu/stage1-tools-bin/rust-installer" "generate" "--image-dir" "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/tmp/tarball/rust-src/image" "--component-name=rust-src" "--rel-manifest-dir=rustlib" "--legacy-manifest-dirs=rustlib,cargo" "--product-name=Rust" "--success-message=rust-src installed." "--package-name=rust-src-nightly" "--non-installed-overlay" "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/tmp/tarball/rust-src/overlay" "--output-dir" "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/dist" "--work-dir" "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/tmp/tarball/rust-src" "--compression-formats" "xz" "--compression-profile" "no-op" "--override-file-mtime" "1760978443" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/tool.rs:1549:23, executed at src/bootstrap/src/utils/tarball.rs:401:13)
finished in 5.617 seconds
Installing src for x86_64-unknown-linux-gnu
running: cd "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/tmp/empty_dir" && "sh" "/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust/build/tmp/tarball/rust-src/rust-src-nightly/install.sh" "--prefix=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999" "--sysconfdir=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/etc" "--datadir=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/share" "--docdir=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/share/doc/rust" "--bindir=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/bin" "--libdir=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/lib" "--mandir=/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/share/man" "--disable-ldconfig" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/install.rs:111:19, executed at src/bootstrap/src/core/build_steps/install.rs:122:9)
install: creating uninstall script at /var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/lib/rustlib/uninstall.sh
install: installing component 'rust-src'
rust src installed.
Build completed successfully in 2:04:30
removed '/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/etc/bash_completion.d/cargo'
rmdir: removing directory, '/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/etc/bash_completion.d'
rmdir: removing directory, '/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/etc'
rmdir: failed to remove '/var/no-tmpfs/portage/dev-lang/rust-9999/image/usr/lib/rust/9999/etc': Directory not empty
* ERROR: dev-lang/rust-9999::gentoo failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_install
* environment, line 4545: Called die
* The specific snippet of code:
* rmdir -v "${ED}/usr/lib/${PN}/${SLOT}"/etc{/bash_completion.d,} || die;
*
* If you need support, post the output of `emerge --info '=dev-lang/rust-9999::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/rust-9999::gentoo'`.
* The complete build log is located at '/var/log/portage/dev-lang:rust-9999:20251021-001819.log.gz'.eix dev-lang/rust
* For convenience, a symlink to the build log is located at '/var/no-tmpfs/portage/dev-lang/rust-9999/temp/build.log.gz'.
* The ebuild environment file is located at '/var/no-tmpfs/portage/dev-lang/rust-9999/temp/environment'.
* Working directory: '/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust'
* S: '/var/no-tmpfs/portage/dev-lang/rust-9999/work/rust'Code: Select all
2025-10-21T16:26:27 >>> dev-lang/rust-9999: 6:56:08Code: Select all
grep "#rmdir" /var/db/repos/gentoo/dev-lang/rust/rust-9999.ebuild
#rmdir -v "${ED}/usr/lib/${PN}/${SLOT}/etc/bash_completion.d" || dieCode: Select all
eix dev-lang/rust
...
9999(9999)*l^t(22:49:41 21/10/2025)(clippy doc miri rust-analyzer rust-src rustfmt verify-sig -big-endian -debug -dist -llvm-libunwind -lto -system-llvm -test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="sse2" LLVM_SLOT="21" LLVM_TARGETS="WebAssembly X86 -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -XCore -Xtensa" RUST_SYSROOTS="wasm -bpf")Code: Select all
user@amd64 ~ $ equery f dev-lang/rust-9999|grep "/etc/bash_completion.d"
user@amd64 ~ $Code: Select all
user@amd64 ~ $ rustc --version
rustc 1.92.0-nightly (cf8346dd4 2025-10-21) (gentoo)Take it or leave it...
Thks 4 ur attention, interest & support.

