Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957199 - dev-lang/rust-1.86.0-r2 with USE='doc' fails in install phase
Summary: dev-lang/rust-1.86.0-r2 with USE='doc' fails in install phase
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-06-06 05:11 UTC by Flávio Camilo
Modified: 2025-06-06 06:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-lang/rust-1.86.0-r2::gentoo' (emerge--info.txt,13.75 KB, text/plain)
2025-06-06 05:11 UTC, Flávio Camilo
Details
build.log (build.log.xz,638.82 KB, application/x-xz)
2025-06-06 05:13 UTC, Flávio Camilo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flávio Camilo 2025-06-06 05:11:13 UTC
Created attachment 930399 [details]
emerge --info '=dev-lang/rust-1.86.0-r2::gentoo'

As the summary implies, without USE='doc' emerge doesn't fail (passes install phase). The issue did not occur with -r1 (with USE='doc').

Also, no problem emerging 1.87.0-r1 with this flag set.

# emerge -pqv '=dev-lang/rust-1.86.0-r2::gentoo'

[ebuild     U ] dev-lang/rust-1.86.0-r2 [1.86.0-r1] USE="clippy doc rust-analyzer rust-src rustfmt system-llvm verify-sig (-big-endian) -debug -dist (-llvm-libunwind) -lto -test -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="(19)" LLVM_TARGETS="AMDGPU (X86) -AArch64 -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa"
Comment 1 Flávio Camilo 2025-06-06 05:13:02 UTC
Created attachment 930400 [details]
build.log
Comment 2 Ionen Wolkens gentoo-dev 2025-06-06 06:30:44 UTC
At a glance, looks like the work of the bundled oniguruma in the onig-sys crate combined with gcc-15.
Comment 3 Ionen Wolkens gentoo-dev 2025-06-06 06:31:54 UTC
(In reply to Ionen Wolkens from comment #2)
> At a glance, looks like the work of the bundled oniguruma in the onig-sys
> crate combined with gcc-15.
(albeit I was under the impression that this is supposed to be using system's oniguruma?)
Comment 4 Ionen Wolkens gentoo-dev 2025-06-06 06:44:20 UTC
(In reply to Ionen Wolkens from comment #3)
> (In reply to Ionen Wolkens from comment #2)
> > At a glance, looks like the work of the bundled oniguruma in the onig-sys
> > crate combined with gcc-15.
> (albeit I was under the impression that this is supposed to be using
> system's oniguruma?)
Oh, only >=rust-1.87.0 set RUSTONIG_SYSTEM_LIBONIG=1 and depend on it, that makes sense then.