bootstrap requires non-existing src/gcc submodule on static.rust-lang.org tarball #138124
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Summary
Hi, I'm a Alpine Linux contributor.
We use the tarball of
https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.xz
which does not contain thesrc/gcc
submodule added in 9028177.Since 1.85.0 bootstrap started failing in build_helper:
By debugging i found that it fails to find
src/gcc
, which indeed is missing from the tarball.Also using
--disable-manage-submodules
doesn't work since the config option is checked after the failing line:rust/src/bootstrap/src/lib.rs
Lines 481 to 482 in 4d91de4
Command used
https://gitlab.alpinelinux.org/alpine/aports/-/blob/69a7e15bf81d1947d3347c1a7eaf36a07290e535/main/rust/APKBUILD
Bootstrap configuration (config.toml)
Operating system
Alpine Linux edge
HEAD
4d91de4e48198da2e33413efdcd9cd2cc0c46688
Additional context
Build Log
The text was updated successfully, but these errors were encountered: