failing to build util-linux 2.35.1

  • Done
  • quality assurance status badge
Details
3 participants
  • Marius Bakke
  • Marius Bakke
  • Josh
Owner
unassigned
Submitted by
Josh
Severity
normal
J
(address . bug-guix@gnu.org)
20200518181951.GA19622@localhost
I'm consistently running into this error when running `guix pull`.
What can I do to help debug?

Test suite failed, dumping logs.
@ build-log 30965 53
command "make" "check" "-j" "4" failed with status 2
/builder for `/gnu/store/c70j91pkiv8qyazpv357ccc2jfjz91yw-util-linux-2.35.1.drv' failed with exit code 1
@ build-failed /gnu/store/c70j91pkiv8qyazpv357ccc2jfjz91yw-util-linux-2.35.1.drv - 1 builder for `/gnu/store/c70j91pkiv8qyazpv357ccc2jfjz91yw-util-linux-2.35.1.drv' failed with exit code 1
cannot build derivation `/gnu/store/mmipgmshkcxiqfcz72pnyisxacxajjna-ghostscript-9.52.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6jax52mlkbf4akjn07cb6jdwyvvafr0z-gnutls-3.6.12.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/bzl3nk0ryxxq3ailxa1n999qi8c1vgy1-openldap-2.4.50.drv': 1 dependencies couldn't be built
Backtrace:
11 (primitive-load "/gnu/store/9arpm9f4xrkdfhxqvp9x36iyh7axpawc-compute-guix-derivation")
In ice-9/eval.scm:
155:9 10 (_ _)
159:9 9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f7f9c9d81?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
2017:24 8 (run-with-store #<store-connection 256.99 7f7f9b5ad6c0> _ #:guile-for-build _ #:system _ #:target _)
1851:8 7 (_ _)
In ./guix/gexp.scm:
242:18 6 (_ _)
1058:2 5 (_ _)
918:2 4 (_ _)
779:4 3 (_ _)
In ./guix/store.scm:
1899:12 2 (_ #<store-connection 256.99 7f7f9b5ad6c0>)
1352:5 1 (map/accumulate-builds #<store-connection 256.99 7f7f9b5ad6c0> _ _)
1363:15 0 (_ #<store-connection 256.99 7f7f9b5ad6c0> _ _)

./guix/store.scm:1363:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "build of `/gnu/store/bzl3nk0ryxxq3ailxa1n999qi8c1vgy1-openldap-2.4.50.drv' failed" status: 100] 7f7f9885dea0>)'.
guix pull: error: You found a bug: the program '/gnu/store/9arpm9f4xrkdfhxqvp9x36iyh7axpawc-compute-guix-derivation'
failed to compute the derivation for Guix (version: "782cc119f52f28ea808a3ef0e63f80f7440b5b53"; system: "x86_64-linux";
host version: "1.1.0-2.619f918"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
M
M
Marius Bakke wrote on 19 May 2020 16:03
87zha4qax6.fsf@devup.no
Josh <randomenduser@fastmail.com> writes:

Toggle quote (3 lines)
> I'm consistently running into this error when running `guix pull`.
> What can I do to help debug?

Try using 'guix pull --keep-failed' and inspect the util-linux test
suite logs in /tmp/guix-build-util-linux-2.35.1.drv-0.

Did you intentionally disable binary substitutes?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7D5zUACgkQoqBt8qM6
VPrkpgf/YmKzKtW/wo9ZVDF59EedWp8/3mNJNHm5cWO7PNORTBHQBG3HbYzmcNTY
ijQdaDRg/hwJUZjg4L0gOiQOet8G/3qrrMemrJb7X34yceW5846O2vrxWezRLYBO
qb23f0Yuzh72p54ayJyB1GhTNFUHSek8POQpZy58i0DTsox7ngGl8Ir8vqPLl15u
R3J4RzAF+LADNYV4H1zZeccwvykvt6dbT9PeNf5t3gXov9zrECvXvrSs4l20YkQ3
wmxDiQ1PHCD6/6ca4p4aW8MqqIQHm0JPSdmrLpHBZRjgLJtiwyWrjh2vCDYgwY09
vMbjT5nDH2PtVvSQjmAYAgecHL/C8w==
=521B
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 21 May 2020 14:47
(name . Josh)(address . randomenduser@fastmail.com)(address . 41384@debbugs.gnu.org)
875zcpa1za.fsf@devup.no
Hi Josh,

[+ debbugs, please keep it in CC]

Josh <randomenduser@fastmail.com> writes:

Toggle quote (7 lines)
>>Try using 'guix pull --keep-failed' and inspect the util-linux test
>>suite logs in /tmp/guix-build-util-linux-2.35.1.drv-0.
>
> I don't see much...
>
> In /tmp/guix-build-util-linux-2.35.1.drv-0/util-linux-2.35.1, the only tests with something in "diff" (which assumes means failures) are the following:

Can you attach
/var/log/guix/drvs/c7/0j91pkiv8qyazpv357ccc2jfjz91yw-util-linux-2.35.1.drv.bz2
to this bug report?

There should be a test suite summary that we can use to corroborate the
below results with.

Toggle quote (28 lines)
> tests/diff/ipcs:
> mk-rm-msg.err mk-rm-sem.err mk-rm-shm.err
>
>
> tests/diff/misc:
> mbsencode-invalid-utf8 mbsencode-safe-utf8
>
> tests/diff/script:
> replay-live
>
> And the only ones that appear to indicate an error are these:
>
> --- /dev/null 2020-05-20 19:14:36.552027894 +0000
> +++ /tmp/guix-build-util-linux-2.35.1.drv-0/util-linux-2.35.1/tests/output/ipcs/mk-rm-msg.err 2020-05-20 19:18:45.988022283 +0000
> @@ -0,0 +1,2 @@
> +ipcrm: failed to parse argument: '0xd6733c2c
> +0xd6733c2c'
> --- /dev/null 2020-05-20 19:14:36.552027894 +0000
> +++ /tmp/guix-build-util-linux-2.35.1.drv-0/util-linux-2.35.1/tests/output/ipcs/mk-rm-sem.err 2020-05-20 19:18:46.040022282 +0000
> @@ -0,0 +1,2 @@
> +ipcrm: failed to parse argument: '0xd0de0de7
> +0xd0de0de7'
> --- /dev/null 2020-05-20 19:14:36.552027894 +0000
> +++ /tmp/guix-build-util-linux-2.35.1.drv-0/util-linux-2.35.1/tests/output/ipcs/mk-rm-shm.err 2020-05-20 19:18:46.092022281 +0000
> @@ -0,0 +1,2 @@
> +ipcrm: failed to parse argument: '0x4cec9993
> +0x4cec9993'
>
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7GeHkACgkQoqBt8qM6
VPqskgf/dgNZF0BD09dXdoczkCYtB4vjXeRkoCoJ/1BeG0iPzeif3hqweEFcpOJ0
SCCxcX1i4k7V+69l2Fv/wO4Fj3wTkC95+9JESaeRcFzLZKLzHdBIwOuQHGgFAxpQ
WCIoV32CunnfeVHQtarp4Ro6bFCjM6NtJDid8TmwlccuykPuXTdbPXieVOQKIAWq
LCkZ2fOQC3adScoXvStM3A+aWVQ9fSHW/zq5uXnVc/J9/rah8w+ce/WnbS1VnTWB
/14Kl62Cldrq8nl6WxqYdt8L6QlZfZDhQLo2rCwR2FG/qhwCH8C+WpBlL92c9FLO
jKgI1fzmQlHFiEfDHyIR5FtPIzDHDQ==
=+Gep
-----END PGP SIGNATURE-----

J
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 41384@debbugs.gnu.org)
20200521082348.GA572@localhost
Toggle quote (2 lines)
>[+ debbugs, please keep it in CC]

Will do, sorry about that.

Toggle quote (4 lines)
>Can you attach
>/var/log/guix/drvs/c7/0j91pkiv8qyazpv357ccc2jfjz91yw-util-linux-2.35.1.drv.bz2
>to this bug report?

Attached. Looks like those three that I mentioned. Anything else look
interesting in there?
M
M
Marius Bakke wrote on 22 May 2020 00:16
(name . Josh)(address . randomenduser@fastmail.com)(address . 41384@debbugs.gnu.org)
87mu617x31.fsf@devup.no
Josh <randomenduser@fastmail.com> writes:

Toggle quote (11 lines)
>>[+ debbugs, please keep it in CC]
>
> Will do, sorry about that.
>
>>Can you attach
>>/var/log/guix/drvs/c7/0j91pkiv8qyazpv357ccc2jfjz91yw-util-linux-2.35.1.drv.bz2
>>to this bug report?
>
> Attached. Looks like those three that I mentioned. Anything else look
> interesting in there?

Thanks to a great coordinated effort on #guix, we tracked this problem
down to a regression in kernels 5.4.36 through 5.4.41 (or 5.6.8 through
5.6.13 for users tracking that branch).

You are running 5.4.38 according to the build log.

It has been fixed in the latest kernel releases (5.4.42 and 5.6.14).

I'm afraid you will have to downgrade your kernel in order to upgrade
Guix! :-/
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7G/cIACgkQoqBt8qM6
VPpbkQf+OTn33RWIaoBfrxzPiVWSKJKTiErl7c0Fpk7EuNb3nOBoJoSJuCkRo6gY
PsB4EjIi0+X1OI1/sQR6m7iKN/d6oTfZsYMNpE+noCyJwDGA7c8Tt0CogEtn51cr
1MvXKExiXivvVdAXmTDTj9G49ksHhS5vJke3JLlYTKsbQo6bD9rdOLkp90GuIAf4
7uoFt2GT5sMr534qcrkrG0nGsDkRtHttMAmXE03/AIs0sVV+iuSC8bQa27Z1TFIT
EG4LlkP8djB0++Oc0/sZrr8Dqq2vg1m5LoTpM09l5k2rgGcr2dmrdw2y7ujNXXnw
QXr7wspTqNqsiZ36/BCRbKR4tUDWgQ==
=c11X
-----END PGP SIGNATURE-----

J
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 41384@debbugs.gnu.org)
20200522082008.GA827@localhost
Toggle quote (3 lines)
>I'm afraid you will have to downgrade your kernel in order to upgrade
>Guix! :-/

Ahh. Thanks for the response!

How do I do that? I would assume it would be documented here[0], but I
can't seem to find it anywhere in the manual.

M
M
Marius Bakke wrote on 22 May 2020 16:03
(name . Josh)(address . randomenduser@fastmail.com)(address . 41384@debbugs.gnu.org)
87k11483sq.fsf@devup.no
Josh <randomenduser@fastmail.com> writes:

Toggle quote (10 lines)
>>I'm afraid you will have to downgrade your kernel in order to upgrade
>>Guix! :-/
>
> Ahh. Thanks for the response!
>
> How do I do that? I would assume it would be documented here[0], but I
> can't seem to find it anywhere in the manual.
>
> [0] https://guix.gnu.org/manual/en/html_node/operating_002dsystem-Reference.html

There are a couple of options. The easiest way is to boot into an older
generation before running 'guix pull', if you have any generations with
kernel < 5.4.36 lying around.

Another is to pin the kernel to an older revision of Guix using an
"inferior". You would have to update your system configuration along
these lines:

Toggle snippet (22 lines)
(use-modules (guix inferior)
(guix channels))

;; A channel with Linux-Libre 5.4.35.
(define channels
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(commit "851a3a779a7173807683e0a3c4e118ef4d8eb0b7"))))

(define inferior
;; An inferior representing the above channel.
(inferior-for-channels channels))

(define linux-libre-5.4.35
(lookup-inferior-packages inferior "linux-libre@5.4.35"))

(operating-system
[...]
(kernel linux-libre-5.4.35))

Then reconfigure and reboot, of course.

Hope this helps!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7H28UACgkQoqBt8qM6
VPpcpAf+Op9JieG2uBM82K/kkPYUnUrMWMbhz/hXyNpLhOMsDkBmow3DWWM/5TCW
mhjodHFAH5mTynxmLgRcrHh3CkGWnsy0lh3ID+cSzlqbsPK3JAbsGUL3ptMrhoqX
/7b47+IqgMRyElwvIURkarnK+xaRStOzD5zhvZlr6iAEBFCM3Tk7FltySAoOACGE
7LjHL0rX5pbPsctA+6n9sPN2L+E/ExehpK2UFDiNl73c/NzCH7tWNLObGIYPepHN
p6KohzjvmLJJIQRGVIUcj9sk/pOT2UcJAcluwyqJPmpaafFXIix2cTKpJojdzNQX
SWAR3qDfRxFaZ5IA5dEsB8pC4JcNaA==
=y3lC
-----END PGP SIGNATURE-----

J
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 41384@debbugs.gnu.org)
20200529084453.GA1040@localhost
Toggle quote (4 lines)
>There are a couple of options. The easiest way is to boot into an older
>generation before running 'guix pull', if you have any generations with
>kernel < 5.4.36 lying around.

This worked! Thanks for the response. Sorry for the delay.. it took
awhile to update :)
M
M
Marius Bakke wrote on 29 May 2020 16:06
(name . Josh)(address . randomenduser@fastmail.com)(address . 41384-done@debbugs.gnu.org)
87lfla4z00.fsf@gnu.org
Josh <randomenduser@fastmail.com> writes:

Toggle quote (7 lines)
>>There are a couple of options. The easiest way is to boot into an older
>>generation before running 'guix pull', if you have any generations with
>>kernel < 5.4.36 lying around.
>
> This worked! Thanks for the response. Sorry for the delay.. it took
> awhile to update :)

Great, thanks for confirming. Closing the issue!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7RFs8ACgkQoqBt8qM6
VPqbZwgAmo2Uva7FiClGlUJQTesEE83YKmsKGmwNX7EfJMVepDT+z/6Nd9iogdR9
wp39s/hG7ULh2+9gD1zhc7bsHiRZ3HOonSqt5ma0Ja8CSfDjsbmmCbP7wEVCAUqg
7vYo1LagOCSUrH+AzkSeyY+/Wrs2l9vNhwbL5s07IqVglM1zcInp5/ElN/J3yYbC
+6EBxsaP25slQ2cHfCn++qrgfhx7/+m8L0yuJIcdgH/Ct9qg/H61Dtp4y48fqQ1Q
VWBkMkMFw+8sTZZLTdT/UWLEt8pJoPvLaHQPXl2H2CuyOavzIgdAYHQe7Q3+SSYS
BEyZyYZ+rRKPE0K9kBxk4n0NNSrR5w==
=Iz7N
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 41384
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