-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gutenberg: init at 0.3.1 #33975
gutenberg: init at 0.3.1 #33975
Conversation
Built successfully on macOS but failed on NixOS:
Seems related to rust-lang/rust#46981. |
@GrahamcOfBorg build gutenberg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: aarch64-linux
Package ‘cargo-0.23.0’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/development/compilers/rust/cargo.nix:61 is not supported on ‘aarch64-linux’, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-linux
Compiling nom v3.2.1
thread '<unnamed>' panicked at 'failed to acquire jobserver token: Resource temporarily unavailable (os error 11)', src/librustc_trans/back/write.rs:error: failed to acquire jobserver token: Resource temporarily unavailable (os error 11)
1619:28
error: failed to acquire jobserver token
Caused by:
Resource temporarily unavailable (os error 11)
builder for ‘/nix/store/0a1ib48mf3mmjpxlwxpary332j4kp53q-gutenberg-0.2.2.drv’ failed with exit code 101
error: build of ‘/nix/store/0a1ib48mf3mmjpxlwxpary332j4kp53q-gutenberg-0.2.2.drv’ failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-darwin
Compiling build_helper v0.1.0 (file:///private/tmp/nix-build-rustc-1.22.1.drv-0/rustc-1.22.1-src/src/build_helper)
Compiling std v0.0.0 (file:///private/tmp/nix-build-rustc-1.22.1.drv-0/rustc-1.22.1-src/src/libstd)
Compiling alloc_jemalloc v0.0.0 (file:///private/tmp/nix-build-rustc-1.22.1.drv-0/rustc-1.22.1-src/src/liballoc_jemalloc)
Compiling compiler_builtins v0.0.0 (file:///private/tmp/nix-build-rustc-1.22.1.drv-0/rustc-1.22.1-src/src/rustc/compiler_builtins_shim)
Compiling cmake v0.1.26
building of '/nix/store/4id92sy0wgjyl7lng5g8xpvjhqynk3n0-rustc-1.22.1.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/qni4hi0ndq8gmd3m49n9rv3qp3a54mib-cargo-0.23.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mhh4kmd6rr46b4vs61bg7cr9sgn679jq-gutenberg-0.2.2-vendor.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/f8f4gr1swn68h11nqjxnli2l3h5x0ssm-gutenberg-0.2.2.drv': 3 dependencies couldn't be built
error: build of '/nix/store/f8f4gr1swn68h11nqjxnli2l3h5x0ssm-gutenberg-0.2.2.drv' failed
At least it is reproducible. |
Note: version bump from 0.2.2 to 0.3.0 needs rust 1.23 pest-parser/pest#190 |
@GrahamcOfBorg build gutenberg |
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
@GrahamcOfBorg build gutenberg |
maybe this is fixed with the latest rust update. |
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Bumped version to 0.3.1. It builds successfully. I think it can be merged. |
Squashed. |
Thanks! |
Motivation for this change
Reboot of #30737.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)