From: Maxime Devos <maximedevos@telenet.be>
To: 57879@debbugs.gnu.org
Subject: bug#57879: Non-deterministic build failure in mrustc / rust 1.55
Date: Sat, 17 Sep 2022 12:59:25 +0200 [thread overview]
Message-ID: <0a8413e7-f1cc-6499-6d8e-14a178810e89@telenet.be> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 3555 bytes --]
On current core-updates, mrustc (rust@1.55) fails to build:
https://ci.guix.gnu.org/build/1453052/details
End of log:
>> /tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc rustc-1.54.0-src/vendor/url/src/lib.rs -o output/cargo-build/liburl-2_2_2_H1.rlib --crate-name url --crate-type rlib -C emit-depfile=output/cargo-build/liburl-2_2_2_H1.rlib.d --crate-tag 2_2_2_H1 -g --cfg debug_assertions -O -L output -L output/cargo-build --cfg feature="serde" --edition 2018 --extern form_urlencoded=output/cargo-build/libform_urlencoded-1_0_1.rlib --extern idna=output/cargo-build/libidna-0_2_3.rlib --extern matches=output/cargo-build/libmatches-0_1_8.rlib --extern percent_encoding=output/cargo-build/libpercent_encoding-2_1_0.rlib --extern serde=output/cargo-build/libserde-1_0_126_H1a.rlib
>> /tmp/guix-build-rust-1.54.0.drv-0/mrustc/output/cargo-build/build_semver-1_0_3_H3_run
>> /tmp/guix-build-rust-1.54.0.drv-0/rustc-1.54.0-src/vendor/semver/output/cargo-build/build_serde_json-1_0_64_He0_run
> ^[[31mUnable to run process '/tmp/guix-build-rust-1.54.0.drv-0/rustc-1.54.0-src/vendor/semver/output/cargo-build/build_serde_json-1_0_64_He0_run' - No such file or directory^[[0m
> Calling /tmp/guix-build-rust-1.54.0.drv-0/rustc-1.54.0-src/vendor/semver/output/cargo-build/build_serde_json-1_0_64_He0_run failed (see /tmp/guix-build-rust-1.54.0.drv-0/mrustc/output/cargo-build/build_serde_json-1_0_64_He0.txt_failed.txt for stdout)
> ^[[32m(102/111) BUILDING semver v1.0.3 with features [std,serde]^[[0m
>> /tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc rustc-1.54.0-src/vendor/semver/src/lib.rs -o output/cargo-build/libsemver-1_0_3_H3.rlib --crate-name semver --crate-type rlib -C emit-depfile=output/cargo-build/libsemver-1_0_3_H3.rlib.d --crate-tag 1_0_3_H3 -g --cfg debug_assertions -O -L output -L output/cargo-build --cfg feature="std" --cfg feature="serde" --edition 2018 --extern serde=output/cargo-build/libserde-1_0_126_H1a.rlib
> ^[[31mUnable to run process '/tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc' - No such file or directory^[[0m
> BUILD FAILED
> make: *** [minicargo.mk:229: output/cargo] Error 1
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-f" "minicargo.mk" "output/cargo" "RUSTC_TARGET=x86_64-unknown-linux-gnu" "RUSTC_VERSION=1.54.0" "MRUSTC_TARGET_VER=1.54" "OUTDIR_SUF=") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `build' failed after 4672.3 seconds
> command "make" "-f" "minicargo.mk" "output/cargo" "RUSTC_TARGET=x86_64-unknown-linux-gnu" "RUSTC_VERSION=1.54.0" "MRUSTC_TARGET_VER=1.54" "OUTDIR_SUF=" failed with status 2
> builder for `/gnu/store/5a7qhchr3bg539514cia892z7wgxlvfa-rust-1.54.0.drv' failed with exit code 1
> @ build-failed /gnu/store/5a7qhchr3bg539514cia892z7wgxlvfa-rust-1.54.0.drv - 1 builder for `/gnu/store/5a7qhchr3bg539514cia892z7wgxlvfa-rust-1.54.0.drv' failed with exit code 1
> cannot build derivation `/gnu/store/92g0b70l79d9rdd6fhp99ksxqjjcpmwc-rust-1.55.0.drv': 1 dependencies couldn't be built
As it was fine in evaluation 635738 which has guix commit 7e0f2728a46
and broke in 635752 which has guix commit 5339cb1, at first sight the
problem appears to have been introduced in 7e0f2728a46..5339cb1.
However, the log "git log 7e0f2728a46..5339cb1" does not seem to contain
anything relevant to Rust, and I cannot reproduce locally, so this
appears to be some kind non-determinism problem.
To continue with antioxidant, I'd like the build to be restarted.
Greetings,
Maxime.
[-- Attachment #1.1.2: rust.log.lz --]
[-- Type: application/x-lzip, Size: 330525 bytes --]
[-- Attachment #1.1.3: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
reply other threads:[~2022-09-17 11:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a8413e7-f1cc-6499-6d8e-14a178810e89@telenet.be \
--to=maximedevos@telenet.be \
--cc=57879@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.