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

Bug 592120

Summary: dev-lang/rust-1.11.0 requires internet access to build
Product: Gentoo Linux Reporter: Mykyta Holubakha <hilobakho>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dschridde+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mykyta Holubakha 2016-08-25 17:42:18 UTC
dev-lang/rust-1.11.0 requires internet access to build because the bootstrap.py script tries to download the .sha256 checksum to verify the bootstrap compiler (which is verified by the portage anyway).
This may file due to connectivity problems of the ISP or during an offline rebuild.
To rectify the issue https://static.rust-lang.org/dist/${RUST_STAGE0_${ARCH}}.tar.gz.sha256 shall be downloaded and copied properly as well, similarly to the .tgz file, which would assure the independence of build from internet connectivity.
Comment 1 Mykyta Holubakha 2016-08-25 20:59:50 UTC
So as a consequence, the package would fail to build with FEATURES="network-sandbox" during the compile (presubamly) phase.
Comment 2 Mykyta Holubakha 2016-08-25 21:43:44 UTC
Additionally, the ebuild downloads a binary jemalloc library. It needs to be included in distfiles the same way, or the ebuild should be patched to use system jemalloc[static-libs] (if possible) with a dependency on it.
Comment 3 Dennis Schridde 2016-08-27 13:20:12 UTC
build.log? Duplicate of bug #592016?
Comment 4 Mykyta Holubakha 2016-08-27 16:42:41 UTC
Yeah, this is the same issue. Sorry I didn't notice it when searching. Though my comments still stand (about adding necessary files to SRC_URI). Closing as a duplicate.

*** This bug has been marked as a duplicate of bug 592016 ***