GNU bug report logs - #57411
Error when guix pull on aarch64-linux

Previous Next

Package: guix;

Reported by: Jessica Tallon <tsyesika <at> tsyesika.se>

Date: Thu, 25 Aug 2022 17:57:01 UTC

Severity: normal

Fix blocked by 50238: [PATCH] build-self: Try printing nicer error messages.

To reply to this bug, email your comments to 57411 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57411; Package guix. (Thu, 25 Aug 2022 17:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jessica Tallon <tsyesika <at> tsyesika.se>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 25 Aug 2022 17:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jessica Tallon <tsyesika <at> tsyesika.se>
To: bug-guix <at> gnu.org
Subject: Error when guix pull on aarch64-linux
Date: Thu, 25 Aug 2022 19:50:23 +0200
Hello,

I've tried to install linux on my phone which is a arm64 device
(Sailfish OS) and I get an error when I try to run `guix pull`. The
error is:

Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 26ff8a4 (1 new commits)...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   26ff8a4
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building /gnu/store/g83xiljbqic95p55jrnxcblv1xg42r8m-compute-guix-derivation.drv...
Computing Guix derivation for 'aarch64-linux'... \Backtrace:
          15 (primitive-load "/gnu/store/dqql69hadwvlkb0f85m8603r72ln34lm-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 14 (_ _)
    159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 12 (with-fluid* _ _ _)
    152:2 11 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24 10 (run-with-store #<store-connection 256.99 7c0d42e230> _ #:guile-for-build _ #:system _ #:target _)
   1996:8  9 (_ _)
In ./guix/gexp.scm:
   300:22  8 (_ _)
   1181:2  7 (_ _)
   1047:2  6 (_ _)
    893:4  5 (_ _)
In ./guix/store.scm:
  2053:12  4 (_ #<store-connection 256.99 7c0bd27910>)
   1401:5  3 (map/accumulate-builds #<store-connection 256.99 7c0bd27910> #<procedure 7c0c21df30 at ./guix/store.sc?> ?)
  1417:15  2 (_ #<store-connection 256.99 7c0bd27910> _ _)
   711:11  1 (process-stderr #<store-connection 256.99 7c0bd27910> _)
In ./guix/serialization.scm:
     80:6  0 (read-int #<input-output: file 10>)

./guix/serialization.scm:80:6: In procedure read-int:
ERROR:
  1. &nar-error:
      file: #f
      port: #<input-output: file 10>
guix pull: error: You found a bug: the program '/gnu/store/dqql69hadwvlkb0f85m8603r72ln34lm-compute-guix-derivation'
failed to compute the derivation for Guix (version: "26ff8a4b733c06b4f38aa1fb1ec6705bf30eae4a"; system: "aarch64-linux";
host version: "1.3.0"; pull-version: 1).

-- 
Thanks,
Jessica.




Information forwarded to bug-guix <at> gnu.org:
bug#57411; Package guix. (Fri, 26 Aug 2022 14:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 57411 <at> debbugs.gnu.org (full text, mbox):

From: Pavel Shlyak <p.shlyak <at> pantherx.org>
To: Jessica Tallon <tsyesika <at> tsyesika.se>
Cc: 57411 <at> debbugs.gnu.org
Subject: Re: bug#57411: Error when guix pull on aarch64-linux
Date: Fri, 26 Aug 2022 17:26:32 +0300
As a GUIX aarch64 user on many devices, I can say it’s not a common problem.
How much RAM do you have on your device? Do you have swap/zram?



Information forwarded to bug-guix <at> gnu.org:
bug#57411; Package guix. (Fri, 26 Aug 2022 14:43:02 GMT) Full text and rfc822 format available.

Message #11 received at 57411 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Jessica Tallon <tsyesika <at> tsyesika.se>, 57411 <at> debbugs.gnu.org,
 control <at> debbugs.gnu.org
Subject: Re: bug#57411: Error when guix pull on aarch64-linux
Date: Fri, 26 Aug 2022 16:42:03 +0200
[Message part 1 (text/plain, inline)]
block 57411 with 50238
thanks

On 25-08-2022 19:50, Jessica Tallon wrote:
> Hello,
>
> I've tried to install linux on my phone which is a arm64 device
> (Sailfish OS) and I get an error when I try to run `guix pull`. The
> error is:
>
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to 26ff8a4 (1 new commits)...
> Building from this channel:
>    guixhttps://git.savannah.gnu.org/git/guix.git    26ff8a4
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> building /gnu/store/g83xiljbqic95p55jrnxcblv1xg42r8m-compute-guix-derivation.drv...
> Computing Guix derivation for 'aarch64-linux'... \Backtrace:
>            15 (primitive-load "/gnu/store/dqql69hadwvlkb0f85m8603r72ln34lm-compute-guix-derivation")
> In ice-9/eval.scm:
>      155:9 14 (_ _)
>      159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ice-9/boot-9.scm:
>      152:2 12 (with-fluid* _ _ _)
>      152:2 11 (with-fluid* _ _ _)
> In ./guix/store.scm:
>    2168:24 10 (run-with-store #<store-connection 256.99 7c0d42e230> _ #:guile-for-build _ #:system _ #:target _)
>     1996:8  9 (_ _)
> In ./guix/gexp.scm:
>     300:22  8 (_ _)
>     1181:2  7 (_ _)
>     1047:2  6 (_ _)
>      893:4  5 (_ _)
> In ./guix/store.scm:
>    2053:12  4 (_ #<store-connection 256.99 7c0bd27910>)
>     1401:5  3 (map/accumulate-builds #<store-connection 256.99 7c0bd27910> #<procedure 7c0c21df30 at ./guix/store.sc?> ?)
>    1417:15  2 (_ #<store-connection 256.99 7c0bd27910> _ _)
>     711:11  1 (process-stderr #<store-connection 256.99 7c0bd27910> _)
> In ./guix/serialization.scm:
>       80:6  0 (read-int #<input-output: file 10>)
>
> ./guix/serialization.scm:80:6: In procedure read-int:
> ERROR:
>    1. &nar-error:
>        file: #f
>        port: #<input-output: file 10>
> guix pull: error: You found a bug: the program '/gnu/store/dqql69hadwvlkb0f85m8603r72ln34lm-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "26ff8a4b733c06b4f38aa1fb1ec6705bf30eae4a"; system: "aarch64-linux";
> host version: "1.3.0"; pull-version: 1).

This backtrace does not appear to have useful information for debugging 
the issue, perhaps https://issues.guix.gnu.org/50238 could help by using 
the with-error-handling to format the error messages properly.

> As a GUIX aarch64 user on many devices, I can say it’s not a common 
> problem.
> How much RAM do you have on your device? Do you have swap/zram?
As mentioned previously in another thread, the name is Guix, not GUIX. 
GUIX is a Microsoft thing.

To test for out-of-memory problems, you could dmesg (ideally Guix would 
hook into cgroups or whatever to be notified about out-of-memory and 
properly indicate the error message).

&nar-error sounds more like a substitute-related (because 'nar) network 
error to me though.

Greetings,
Maxime.

[Message part 2 (text/html, inline)]
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Added blocking bug(s) 50238 Request was from Maxime Devos <maximedevos <at> telenet.be> to control <at> debbugs.gnu.org. (Fri, 26 Aug 2022 14:43:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 296 days ago.

Previous Next


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