https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119333
Bug ID: 119333 Summary: [15 regression] Rust bootstrap fails with cargo trying to download polonius crates Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org, pierre-emmanuel.patry at embecosm dot com Target Milestone: --- On trunk at r15-8235-g051ca98a12908b, I see: ``` cargo build --manifest-path /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/checks/errors/borrowck/ffi-polonius/Cargo.toml --release --target-dir rust/ffi-polonius Updating crates.io index warning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io) warning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io) warning: spurious network error (1 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io) error: failed to get `polonius-engine` as a dependency of package `ffi-polonius v0.1.0 (/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/checks/errors/borrowck/ffi-polonius)` Caused by: download of config.json failed Caused by: failed to download from `https://index.crates.io/config.json` Caused by: [6] Could not resolve hostname (Could not resolve host: index.crates.io) make[3]: *** [/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/Make-lang.in:506: rust/libffi_polonius.a] Error 101 make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/gcc' ``` The build needs to work offline using e.g. vendored crates instead. -- You are receiving this mail because: You are on the CC list for the bug.