[core-updates] rust@1.20 fails tests

  • Done
  • quality assurance status badge
Details
2 participants
  • Bengt Richter
  • Marius Bakke
Owner
unassigned
Submitted by
Marius Bakke
Severity
normal
M
M
Marius Bakke wrote on 6 Mar 2020 15:33
(address . bug-guix@gnu.org)
87pndplfie.fsf@devup.no
Rust 1.20 fails a test on core-updates, possibly because of the new
version of GNU Make (4.3).

I suppose we can disable that test for the bootstrap builds as long as
it works for the latest version of Rust.

Log output:

Running build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/jobserver-dd0c6bf78d70e32b

running 3 tests
test jobserver_and_j ... ok
test jobserver_exists ... ok
test makes_jobserver_used ... FAILED

failures:

---- makes_jobserver_used stdout ----
running `make -j2`
thread 'makes_jobserver_used' panicked at '
Expected: execs
but: exited with exit code: 2
--- stdout
/tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo build

--- stderr
Compiling d1 v0.0.1 (file:///tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t2/foo/d1)
Compiling d2 v0.0.1 (file:///tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t2/foo/d2)
error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.


note: rustc 1.20.0 running on x86_64-unknown-linux-gnu

thread 'rustc' panicked at 'failed to acquire jobserver token: Error { repr: Os { code: 11, message: "Resource temporarily unavailable" } }', src/libcore/result.rs:860:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.


note: rustc 1.20.0 running on x86_64-unknown-linux-gnu

thread 'rustc' panicked at 'failed to acquire jobserver token: Error { repr: Os { code: 11, message: "Resource temporarily unavailable" } }', src/libcore/result.rs:860:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: failed to acquire jobserver token

Caused by:
Resource temporarily unavailable (os error 11)
make: *** [Makefile:2: all] Error 101
', src/vendor/hamcrest/src/core.rs:31:12
note: Run with `RUST_BACKTRACE=1` for a backtrace.


failures:
makes_jobserver_used

test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--test jobserver'


command did not execute successfully: "/gnu/store/c3jc4rlyj1b50djxny0ldpbpywaf5apr-rust-1.19.0-cargo/bin/cargo" "test" "-j" "1" "--target" "x86_64-unknown-linux-gnu" "--release" "--frozen" "--manifest-path" "/tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/tools/cargo/Cargo.toml"
expected success, got: exit code: 101


failed to run: /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/build/bootstrap/debug/bootstrap -j1 test src/tools/cargo
Build completed unsuccessfully in 0:09:46
command "./x.py" "-j1" "test" "src/tools/cargo" failed with status 1
builder for `/gnu/store/dxrkx2iqr0vhan7m0lfczw3b8rpyw8z8-rust-1.20.0.drv' failed with exit code 1
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5iXzkACgkQoqBt8qM6
VPqeoAf9FLE8iCtanLlFNi2z3enJoBWN3n1KbPsgUe0+2ivCuQyVdFi9HHnzNKuZ
wxOwmVdneUQuUjjvajgoEQD6U5CvrH77yG9fSILZrKpSO2ovHcfvXyBp7O4wk3ty
zqlF1RkgGSMiijW9xCMXzleaNJEhd2GOZ4CgkiZrOb49xrY8YZq5lspaf5clSljq
WUv544/LAYNDt+NKnsrkH7KeYTWSNsM+wPd+rATvGKOjTjRC24Pulb/nbj9o3aGM
XlRg2dgdLtCMPHjPkbX/0Qlc9RKv+w3lj0RKZrAzz9eCbrSObYHSrh4n18YIQYgm
gwOwAYjj0zoiAsAdbPcq8o27lDeyaQ==
=QI30
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 31 Mar 2020 16:04
(address . 39949-done@debbugs.gnu.org)
87a73wvcx8.fsf@devup.no
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (6 lines)
> Rust 1.20 fails a test on core-updates, possibly because of the new
> version of GNU Make (4.3).
>
> I suppose we can disable that test for the bootstrap builds as long as
> it works for the latest version of Rust.

Fixed by giving Rust an earlier version of GNU Make in commit
47cd0febe957b698cc2ae28978bdc3bc89e787f9.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6DTdMACgkQoqBt8qM6
VPp0EQgAwdyFMkUfYgiQKp5J0tAV/I4E8j9DSqwixQGUNmq5OgyDxTLI3jJ9VoDu
Aov/6HMqVkL1eOke5D+1SZz04Ih0ylaCxzC4eK3Mj4UyF+PozIYfCvBlGP1uIDJb
nHhJ2dSytQ/K02lpvIvss7zzugV+IANX2f9ZxM2L9dKGQUD4tG/k39thqbU1DNl6
XZ1wIRoQs/uTuf4GIY6/GBCKMitRmJotR6VtvhTUPklMU3x37Ukf7pE29pu6sPDF
ur0+euBesM67rT5Tglb9I0yhFa6qpWMSP2ArSuUpFLTSEyBaw1FRzIi2MXfPyS6C
kwPVBAd2AcuJIsHc8c4RVBcxfWqwyQ==
=9dJw
-----END PGP SIGNATURE-----

Closed
B
B
Bengt Richter wrote on 31 Mar 2020 23:46
Re: bug#39949: [core-updates] rust@1.20 fails tests
20200331214601.GA3602@LionPure
Hi Marius,

On +2020-03-31 16:04:03 +0200, Marius Bakke wrote:
Toggle quote (11 lines)
> Marius Bakke <mbakke@fastmail.com> writes:
>
> > Rust 1.20 fails a test on core-updates, possibly because of the new
> > version of GNU Make (4.3).
> >
> > I suppose we can disable that test for the bootstrap builds as long as
> > it works for the latest version of Rust.
>
> Fixed by giving Rust an earlier version of GNU Make in commit
> 47cd0febe957b698cc2ae28978bdc3bc89e787f9.

ISTM this kind of "fixed" is not the same as e.g. an upstream upgrade that
"fixes" "the problem" -- so I'm wondering if work-flow-wise
you have a way to tell some upgrade-watching robot to notify you (or your s/w[1])
when the inevitable revision to your "fix" should be done.

Are there any general standards for subscribing interest in being notified
when a particular package or file gets upgraded/revised/etc in any "distro"
your package may be dependent on?

[1] Is there such a thing as a derivation/service that sits and waits for such
a notification, and maybe sends you a patch when it does get notified?

Just curious how the world works :)

--
Regards,
Bengt Richter
M
M
Marius Bakke wrote on 2 Apr 2020 21:16
87d08pr94k.fsf@devup.no
Bengt Richter <bokr@bokr.com> writes:

Toggle quote (19 lines)
> Hi Marius,
>
> On +2020-03-31 16:04:03 +0200, Marius Bakke wrote:
>> Marius Bakke <mbakke@fastmail.com> writes:
>>
>> > Rust 1.20 fails a test on core-updates, possibly because of the new
>> > version of GNU Make (4.3).
>> >
>> > I suppose we can disable that test for the bootstrap builds as long as
>> > it works for the latest version of Rust.
>>
>> Fixed by giving Rust an earlier version of GNU Make in commit
>> 47cd0febe957b698cc2ae28978bdc3bc89e787f9.
>
> ISTM this kind of "fixed" is not the same as e.g. an upstream upgrade that
> "fixes" "the problem" -- so I'm wondering if work-flow-wise
> you have a way to tell some upgrade-watching robot to notify you (or your s/w[1])
> when the inevitable revision to your "fix" should be done.

I don't know of any such service, but would probably use it if it
exists! Often fixes are already available in upstream repositories, so
it's a matter of locating it and checking the log on the file in
question.

In this case I was too lazy as Rust 1.20 is already ancient and there is
work on bootstrapping 1.29 directly in another issue.

Toggle quote (4 lines)
> Are there any general standards for subscribing interest in being notified
> when a particular package or file gets upgraded/revised/etc in any "distro"
> your package may be dependent on?

I do subscribe to a bunch of mailing lists and Atom feeds to get
notified of new releases and encourage others to do the same for
packages they care about. Pro tip: both GitLab and GitHub offers
release feeds on these URLs:


Toggle quote (5 lines)
> [1] Is there such a thing as a derivation/service that sits and waits for such
> a notification, and maybe sends you a patch when it does get notified?
>
> Just curious how the world works :)

IME best way to learn how something works is to take part in it! I have
learned a whole lot since I got involved with Guix, both personally and
professionally, and don't intend to stop any time soon! :-)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6GOgsACgkQoqBt8qM6
VPojogf/cUXtno+s00U27mtHJXAJrS4nCgi9W6vVwfHOl8qy6SaE8P0QJ/RfIhwj
//xnG5cwfMmjiGi5xdJDaAwi+brh9KgBQKW4gc15RNThm5QtDWU7ekfWFFDd6BPR
gO0u8BAEYaEy7bHr+vh1Mw2smV7erlayCuAUGYs2Ha3UcQgd2Rb2qbeOTeT3emCD
41F8b6UJmzAp8rP+25Kj/PAPxTUlFgZEn349Fd+gybqq61i82LZrT50rFP/486L2
7VwGOsIR/YK0EPacQBNk8YyuUAj3dZjTLCOKvrQL4GaXdfmA1g0k2YHTiANWUfTf
vVMCE1ywOsL9bK6sK/jTcUHEDW3RmA==
=99UU
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 39949@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 39949
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch