-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Steps To Reproduce
Steps to reproduce the behavior:
- build rust-hypervisor-firmware
Build log
unpacking source archive /nix/store/i6zi2s8x68jlzab9cr3fi54g6xcqvpkg-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/yvqfmb2iw646bjjjdcbdgmscr929pbwv-rust-hypervisor-firmware-0.4.2-vendor.tar.gz
Finished cargoSetupPostUnpackHook
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/rust-hypervisor-firmware-0.4.2-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
updateAutotoolsGnuConfigScriptsPhase
configuring
building
Executing cargoBuildHook
++ env CC_x86_64-unknown-linux-gnu=/nix/store/75slks1wr3b3sxr5advswjzg9lvbv9jc-gcc-wrapper-12.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/75slks1wr3b3sxr5advswjzg9lvbv9jc-gcc-wrapper-12.3.0/bin/c++ CC_x86_64-unknown-none=/nix/store/ygmjmnwmga0v4b5jjhkchiw1n9vivydx-x86_64-elf-stage-final-gcc-wrapper-12.3.0/bin/x86_64-elf-cc CXX_x86_64-unknown-none=/nix/store/ygmjmnwmga0v4b5jjhkchiw1n9vivydx-x86_64-elf-stage-final-gcc-wrapper-12.3.0/bin/x86_64-elf-c++ cargo build -j 64 --target /nix/store/kmslqp4crhi2bmxqr7aznzc9zwza3g68-x86_64-unknown-none.json --frozen --release
error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --sysroot /nix/store/fk8rl41aw8vlvs8dn8vmjlw9ga04m9bp-custom-sysroot-x86_64-elf -C linker=lld -C linker-flavor=ld.lld --target /nix/store/kmslqp4crhi2bmxqr7aznzc9zwza3g68-x86_64-unknown-none.json --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
--- stderr
error: Option 'sysroot' given more than once
error: build of '/nix/store/vd9r1qilxjhyz1msn6xijjp8qfc132kf-rust-hypervisor-firmware-x86_64-elf-0.4.2.drv' on 'ssh://[email protected]' failed: builder for '/nix/store/vd9r1qilxjhyz1msn6xijjp8qfc132kf-rust-hypervisor-firmware-x86_64-elf-0.4.2.drv' failed with exit code 101
error: builder for '/nix/store/vd9r1qilxjhyz1msn6xijjp8qfc132kf-rust-hypervisor-firmware-x86_64-elf-0.4.2.drv' failed with exit code 1;
last 10 log lines:
> building
> Executing cargoBuildHook
> ++ env CC_x86_64-unknown-linux-gnu=/nix/store/75slks1wr3b3sxr5advswjzg9lvbv9jc-gcc-wrapper-12.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/75slks1wr3b3sxr5advswjzg9lvbv9jc-gcc-wrapper-12.3.0/bin/c++ CC_x86_64-unknown-none=/nix/store/ygmjmnwmga0v4b5jjhkchiw1n9vivydx-x86_64-elf-stage-final-gcc-wrapper-12.3.0/bin/x86_64-elf-cc CXX_x86_64-unknown-none=/nix/store/ygmjmnwmga0v4b5jjhkchiw1n9vivydx-x86_64-elf-stage-final-gcc-wrapper-12.3.0/bin/x86_64-elf-c++ cargo build -j 64 --target /nix/store/kmslqp4crhi2bmxqr7aznzc9zwza3g68-x86_64-unknown-none.json --frozen --release
> error: failed to run `rustc` to learn about target-specific information
>
> Caused by:
> process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --sysroot /nix/store/fk8rl41aw8vlvs8dn8vmjlw9ga04m9bp-custom-sysroot-x86_64-elf -C linker=lld -C linker-flavor=ld.lld --target /nix/store/kmslqp4crhi2bmxqr7aznzc9zwza3g68-x86_64-unknown-none.json --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
> --- stderr
> error: Option 'sysroot' given more than once
>
For full logs, run 'nix log /nix/store/vd9r1qilxjhyz1msn6xijjp8qfc132kf-rust-hypervisor-firmware-x86_64-elf-0.4.2.drv'.
Additional context
Seems to have regressed with 1e162f3 (rustc 1.72.0 bump)
Notify maintainers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build