GNU bug report logs - #78484
[PATCH] rust: Bootstrap from version 1.74.0.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 18 May 2025 16:08:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim <at> guixotic.coop>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Danny Milosavljevic <dannym <at> friendly-machines.com>
Cc: 78484 <at> debbugs.gnu.org, Hilton Chain <hako <at> ultrarare.space>, Steve George <steve <at> futurile.net>, Efraim Flashner <efraim <at> flashner.co.il>, Divya Ranjan Pattanaik <divya <at> subvertising.org>
Subject: [bug#78484] [PATCH] rust: Bootstrap from version 1.74.0.
Date: Tue, 20 May 2025 08:18:17 +0900
Hi,

Danny Milosavljevic <dannym <at> friendly-machines.com> writes:

[...]

> %exception #<&invoke-error program: "./x.py" arguments: ("-j16" "build" "--stage=1" "library/std" "src/tools/cargo") exit-status: 1 term-signal: #f stop-signal: #f> 
> phase `build' failed after 44.2 seconds
> command "./x.py" "-j16" "build" "--stage=1" "library/std" "src/tools/cargo" failed with status 1
> build process 18 exited with status 256
> note: keeping build directory `/tmp/guix-build-rust-1.78.0.drv-0'
> builder for `/gnu/store/m489v41vf6djzdlncsin7960jg9rgx2n-rust-1.78.0.drv' failed with exit code 1
> build of /gnu/store/m489v41vf6djzdlncsin7960jg9rgx2n-rust-1.78.0.drv failed
> View build log at '/var/log/guix/drvs/m4/89v41vf6djzdlncsin7960jg9rgx2n-rust-1.78.0.drv.gz'.
> cannot build derivation `/gnu/store/3h9aax6xnhmwlqq15b1m6sla782m04hd-rust-1.79.0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/f8fhkkbvmn5fbnwjpxqdls6f6r4scbl9-rust-1.80.1.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/6aa0fhp44vf08dvnj8zis4jdgwykfj15-rust-1.81.0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/7hh4m3bbgsv7ir4bzmpal6akpsxmy15g-rust-1.82.0.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/7hh4m3bbgsv7ir4bzmpal6akpsxmy15g-rust-1.82.0.drv' failed
>
> Second time around with no change it worked fine.

I think there are many some race in cargo when using many parallel
jobs -- it rarely but sometimes fails.

> So LGTM!

Thanks for checking.  Efraim pointed me to this change having already
partially merged to the rust-team branch from a recent effort.
Unfortunately it seems like the mrustc 1.74 bootstrap didn't work on
aarch64 and powerpc64le architectures, so the alternative, longer 1.54
bootstrap is kept for these there.

I think it'd be beneficial if someone could test on these systems again
and report the actual errors to the mrustc project, so that there's hope
that the author knows and can fix these problems.

-- 
Thanks,
Maxim




This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.