Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

rust miri required, rust-9999.ebuild tweak mandatory [fixed]

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

rust miri required, rust-9999.ebuild tweak mandatory [fixed]

  • Quote

Post by CaptainBlood » Tue Oct 21, 2025 9:26 pm

miri required here, 9999 now mandatory :oops:

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'
Poor me for this costly lost CPU time:

Code: Select all

2025-10-21T16:26:27 >>> dev-lang/rust-9999: 6:56:08
However;

Code: 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" || die
did the trick here:

Code: 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")
Incidently:

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)
Just a dirty hack... 8O

Take it or leave it... :roll:

Thks 4 ur attention, interest & support.
Last edited by CaptainBlood on Sun Nov 09, 2025 3:22 am, edited 2 times in total.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
Hu
Administrator
Administrator
Posts: 24383
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Oct 21, 2025 11:44 pm

Live ebuilds are known to sometimes break in response to upstream changes. Please [bug=]file a bug[/bug] so that the maintainer of rust-9999 can adjust the ebuild to handle this change upstream.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy