https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/rust-1.69.0 installs files with broken symlink. Discovered on: amd64 (internal ref: ci)
Created attachment 860458 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Can confirm the rustdoc symlink is also broken in my installation.
Confirmed here as well.
someone affected, can you please attach the following info: USE flags on rust output of "cat /usr/lib/rust/1.69.0/lib/rustlib/components" output of "qlist dev-lang/rust" I clearly have rustdoc installed on my systems, it should be always installed alongside with cargo and rustc, it's a required component for many builds.
also I need contents of /usr/lib/rust/1.69.0/lib/rustlib/manifest-rustc and contents of /usr/lib/rust/1.69.0/lib/rustlib/install.log
Created attachment 860499 [details] /usr/lib/rust/1.69.0/lib/rustlib/manifest-rustc
Created attachment 860500 [details] /usr/lib/rust/1.69.0/lib/rustlib/install.log
(In reply to Georgy Yakovlev from comment #4) > USE flags on rust USE="clippy profiler rust-analyzer rust-src rustfmt system-llvm wasm -debug -dist -doc (-llvm-libunwind) (-miri) -nightly (-parallel-compiler) -system-bootstrap -test -verify-sig" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="WebAssembly (X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -XCore" > output of "cat /usr/lib/rust/1.69.0/lib/rustlib/components" rust-std-x86_64-unknown-linux-gnu rust-std-wasm32-unknown-unknown cargo rust-analyzer-preview rustfmt-preview rust-demangler-preview clippy-preview rust-src rustc
Created attachment 860501 [details] qlist dev-lang/rust
* Messages for package dev-lang/rust-1.69.0: * rustdoc symlink requested, but source file not found * please report this [ebuild R ~] dev-lang/rust-1.69.0:stable/1.69::gentoo USE="-clippy -debug -dist -doc (-llvm-libunwind) (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -rustfmt -system-bootstrap -system-llvm -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" 0 KiB $ cat /usr/lib/rust/1.69.0/lib/rustlib/components rust-std-x86_64-unknown-linux-gnu cargo rustc [will figure out how to attach logs tomorrow... meanwhile maybe someone else's is the same?] $ qlist dev-lang/rust |wc -l 115 $ cat /usr/lib/rust/1.69.0/lib/rustlib/manifest-rustc |wc -l 20 $ cat /usr/lib/rust/1.69.0/lib/rustlib/install.log |wc -l 112
Created attachment 860691 [details, diff] Proposed patch to ebuild file From https://releases.rs/docs/1.69.0/#compatibility-notes: > The Rust distribution no longer always includes rustdoc If tools = [...] > is set in config.toml, we will respect a missing rustdoc in that list. > By default rustdoc remains included. To retain the prior behavior > explicitly add "rustdoc" to the list.
thanks, still don't know why on my test systems it got installed without explicitly requesting it, probably because if have bunch of other flags activated. revbump landing soon, testing right now.
ah, probably USE=doc is what caused it to be installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2920b58c3171f0cc114b553ae70722e94f88dc commit 6d2920b58c3171f0cc114b553ae70722e94f88dc Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2023-04-24 20:32:59 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2023-04-24 21:10:25 +0000 dev-lang/rust: revbump 1.69.0, adjust component list. analysis is gone. rustdoc no longer being pulled by 'rustc' component. https://releases.rs/docs/1.69.0/#compatibility-notes Closes: https://bugs.gentoo.org/904730 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Thanks-to: Tee KOBAYASHI <xtkoba@gmail.com> dev-lang/rust/{rust-1.69.0.ebuild => rust-1.69.0-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)