unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57411: Error when guix pull on aarch64-linux
@ 2022-08-25 17:50 Jessica Tallon
  2022-08-26 14:26 ` Pavel Shlyak
  2022-08-26 14:42 ` Maxime Devos
  0 siblings, 2 replies; 3+ messages in thread
From: Jessica Tallon @ 2022-08-25 17:50 UTC (permalink / raw)
  To: 57411


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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57411: Error when guix pull on aarch64-linux
  2022-08-25 17:50 bug#57411: Error when guix pull on aarch64-linux Jessica Tallon
@ 2022-08-26 14:26 ` Pavel Shlyak
  2022-08-26 14:42 ` Maxime Devos
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Shlyak @ 2022-08-26 14:26 UTC (permalink / raw)
  To: Jessica Tallon; +Cc: 57411

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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57411: Error when guix pull on aarch64-linux
  2022-08-25 17:50 bug#57411: Error when guix pull on aarch64-linux Jessica Tallon
  2022-08-26 14:26 ` Pavel Shlyak
@ 2022-08-26 14:42 ` Maxime Devos
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Devos @ 2022-08-26 14:42 UTC (permalink / raw)
  To: Jessica Tallon, 57411, control


[-- Attachment #1.1.1.1: Type: text/plain, Size: 3041 bytes --]

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.


[-- Attachment #1.1.1.2: Type: text/html, Size: 3967 bytes --]

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-26 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25 17:50 bug#57411: Error when guix pull on aarch64-linux Jessica Tallon
2022-08-26 14:26 ` Pavel Shlyak
2022-08-26 14:42 ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).