Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 861419

Summary: dev-lang/rust-1.62.1 fails to compile on stable sparc
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: rust, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 861125    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-07-27 07:58:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/rust-1.62.1 fails to compile on stable sparc.
Discovered on: sparc (internal ref: sparc_at)
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-27 07:58:59 UTC
Created attachment 794849 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-27 08:01:54 UTC
But...

profiles/arch/sparc/package.use.force:6:# tarball, so force system-bootstrap instead (i.e. force using rust-bin
profiles/arch/sparc/package.use.force:8:dev-lang/rust system-bootstrap

Why isn't it set for you in the log?
Comment 3 Agostino Sarubbo gentoo-dev 2022-07-27 08:25:34 UTC
(In reply to Sam James from comment #2)
> Why isn't it set for you in the log?

I have no idea, this is what I get:

$ emerge -pvq rust
[ebuild  N    ] app-eselect/eselect-rust-20210703 
[ebuild  N    ] sys-apps/lsb-release-1.4-r4 
[ebuild  N    ] dev-lang/rust-bin-1.62.1  USE="(-clippy) (-doc) (-prefix) (-rls) -rust-src (-rustfmt) -verify-sig" 
[ebuild  N    ] dev-lang/rust-1.62.1  USE="(system-bootstrap) -clippy -debug -dist -doc (-miri) -nightly (-parallel-compiler) -profiler -rls -rust-src -rustfmt -system-llvm -test -verify-sig (-wasm)" LLVM_TARGETS="(Sparc) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -SystemZ -WebAssembly -X86 -XCore"
Comment 4 Georgy Yakovlev archtester gentoo-dev 2022-07-27 16:18:49 UTC
^ this output looks correct.

build log however shows it enters this condition

> if ! use system-bootstrap; then

in src_prepare()

which is strange =)

I guess it's setup related? it should have had  system-bootstrap forced indeed and pretend output confirms that.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-28 06:16:18 UTC
Does it happen if you try again? This really doesn't make sense to me.