Building rust 1.81.0 does network access in the "build" phase #130708
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
I tried to package rust 1.81.0 for pkgsrc-wip, and while trying to do a native build on NetBSD/amd64, I get:
I expected to see this happen: no download / network access during the build phase, please.
Instead, this happened: I got the above.
The pkgsrc packaging system insists on checksumming all the build components, all to be downloaded in the "fetch" phase and verified against already-recorded checksums, and therefore sets up an un-resolvable proxy to trap exactly this "anti-packaging" behavior. Doing network access of any type during the build phase is at best considered to be "bad form", as the components which go into the build could then vary depending on external unverifiable factors, possibly causing the build to produce inconsistent results between different builds. At worst this could be a security issue.
This means that the 1.81.0 tarball isn't completely "frozen"...
Hints for working around this gratefully accepted.
The text was updated successfully, but these errors were encountered: