Skip to content

./x.py check broken with vendored dependencies #112393

Open
@bjorn3

Description

@bjorn3

I tried to run ./x.py check after vendoring all dependencies.

I expected to see this happen: It passes.

Instead, this happened: It tries to check rustc_codegen_gcc, despite the dependencies of cg_gcc not being vendored.

Checking stage0 gcc (aarch64-unknown-linux-gnu)
    Updating git repository `https://github.com/antoyo/gccjit.rs`
error: failed to get `gccjit` as a dependency of package `rustc_codegen_gcc v0.1.0 (/home/gh-bjorn3/rust/compiler/rustc_codegen_gcc)`

Caused by:
  failed to load source for dependency `gccjit`

Caused by:
  Unable to update https://github.com/antoyo/gccjit.rs#fe242b7e

Caused by:
  failed to fetch into: /home/gh-bjorn3/.cargo/git/db/gccjit.rs-13c2e290f2fb9e4d

Caused by:
  attempting to update a git repository, but --frozen was specified
Build completed unsuccessfully in 0:00:38

Meta

https://github.com/antoyo/gccjit.rs is GPL-3.0 licensed just like libgccjit. I don't know if there would be any issues with adding it to the rustc-src tarball.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-gccThings relevant to the [future] GCC backendC-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions