GNU bug report logs - #59196
`guix pull` fails on A20-OLinuXino-LIME2-eMMC

Previous Next

Package: guix;

Reported by: Tanguy LE CARROUR <tanguy <at> bioneland.org>

Date: Fri, 11 Nov 2022 17:54:02 UTC

Severity: normal

To reply to this bug, email your comments to 59196 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#59196; Package guix. (Fri, 11 Nov 2022 17:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tanguy LE CARROUR <tanguy <at> bioneland.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 11 Nov 2022 17:54:02 GMT) Full text and rfc822 format available.

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

From: Tanguy LE CARROUR <tanguy <at> bioneland.org>
To: bug-guix <at> gnu.org
Subject: `guix pull` fails on A20-OLinuXino-LIME2-eMMC
Date: Fri, 11 Nov 2022 18:53:20 +0100
Dear Guix,

I decided to try to install Guix System on my A20-OLinuXino-LIME2-eMMC.
I used the latest Armbian as a base system. I APT-installed Guix and
tried to `guix pull`, but it failed with the following message:

```shell
$ guix pull
# […]
building /gnu/store/05k8k43x5k78r0d41xcpw3ivwwr878rl-curl-7.84.0.tar.xz.drv...
building /gnu/store/y9svpa7kwv48mpvgl5z9w7skizm93vb1-gnutls-3.7.7.tar.xz.drv...
building /gnu/store/mz7ff25ihc77006p964ji5d47rhs2iam-guile-gnutls-3.7.9-checkout.drv...
building /gnu/store/sq3w2hk9z1va6q2dbjg16mi0afw64q9b-gnutls-3.7.7.drv...
/ 'build' phas\Backtrace:
          15 (primitive-load "/gnu/store/mbs3lc77zy30nr82lnn2s135i2rvq095-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:
  2170:24 10 (run-with-store #<store-connection 256.99 b46dc668> _ #:guile-for-build _ #:system _ #:target _)
   1998:8  9 (_ _)
In ./guix/gexp.scm:
   299:22  8 (_ _)
   1180:2  7 (_ _)
   1046:2  6 (_ _)
    892:4  5 (_ _)
In ./guix/store.scm:
  2055:12  4 (_ #<store-connection 256.99 b3d48578>)
   1403:5  3 (map/accumulate-builds #<store-connection 256.99 b3d48578> #<procedure b424d690 at ./guix/store.scm:20?> ?)
  1419:15  2 (_ #<store-connection 256.99 b3d48578> _ _)
   713:11  1 (process-stderr #<store-connection 256.99 b3d48578> _)
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/mbs3lc77zy30nr82lnn2s135i2rvq095-compute-guix-derivation'
failed to compute the derivation for Guix (version: "ba8679fb2452f4466a98a99edf050ea7452c83f4"; system: "armhf-linux";
host version: "1.2.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
```

From the backtrace, I cannot figure out what went wrong! Any idea?

Best regards,


-- 
Tanguy




Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Sat, 12 Nov 2022 15:41:01 GMT) Full text and rfc822 format available.

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

From: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
To: 59196 <at> debbugs.gnu.org
Subject: Re: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Sat, 12 Nov 2022 16:40:20 +0100
[Message part 1 (text/plain, inline)]
Hi,

Does it also fails with 'guix pull -M 1 -c 1' ?

Denis.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Sun, 13 Nov 2022 10:49:01 GMT) Full text and rfc822 format available.

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

From: Tanguy LE CARROUR <tanguy <at> bioneland.org>
To: Denis GNUtoo Carikli <GNUtoo <at> cyberdimension.org>,
Cc: 59196 <at> debbugs.gnu.org
Subject: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Sun, 13 Nov 2022 11:48:18 +0100
Hi Denis,

Thanks for your answer.

Strange thing, though… I didn't received your answer!?
I came across it by chance while checking
[bug-guix](https://lists.gnu.org/archive/html/bug-guix).

> Sat, 12 Nov 2022 16:40:20 +0100
> Does it also fails with 'guix pull -M 1 -c 1' ?

Thanks for the tip, but unfortunately, I get the same kind of error:

```
building /gnu/store/sq3w2hk9z1va6q2dbjg16mi0afw64q9b-gnutls-3.7.7.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
\ 'build' phas\Backtrace:
          15 (primitive-load "/gnu/store/62r09kg575mg293by6fb83808p9diy3b-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:
  2170:24 10 (run-with-store #<store-connection 256.99 b4712668> _ #:guile-for-build _ #:system _ #:target _)
   1998:8  9 (_ _)
In ./guix/gexp.scm:
   299:22  8 (_ _)
   1180:2  7 (_ _)
   1046:2  6 (_ _)
    892:4  5 (_ _)
In ./guix/store.scm:
  2055:12  4 (_ #<store-connection 256.99 b328f870>)
   1403:5  3 (map/accumulate-builds #<store-connection 256.99 b328f870> #<procedure b2d3b438 at ./guix/store.scm:20?> ?)
  1419:15  2 (_ #<store-connection 256.99 b328f870> _ _)
   713:11  1 (process-stderr #<store-connection 256.99 b328f870> _)
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/62r09kg575mg293by6fb83808p9diy3b-compute-guix-derivation'
failed to compute the derivation for Guix (version: "4f648f6096639427021da378fdfbd0c68d9d2aac"; system: "armhf-linux";
host version: "1.2.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
```

I'll try on a brand new SD card, because the one I used is a bit old.

Any other ideas about what might have gone wrong?

Regards,

-- 
Tanguy




Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Sun, 13 Nov 2022 20:55:01 GMT) Full text and rfc822 format available.

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

From: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
To: Tanguy LE CARROUR <tanguy <at> bioneland.org>
Cc: 59196 <at> debbugs.gnu.org
Subject: Re: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Sun, 13 Nov 2022 21:54:49 +0100
[Message part 1 (text/plain, inline)]
On Sun, 13 Nov 2022 11:48:18 +0100
Tanguy LE CARROUR <tanguy <at> bioneland.org> wrote:

> Hi Denis,
> 
> Thanks for your answer.
> 
> Strange thing, though… I didn't received your answer!?
> I came across it by chance while checking
> [bug-guix](https://lists.gnu.org/archive/html/bug-guix).
> 
> > Sat, 12 Nov 2022 16:40:20 +0100
> > Does it also fails with 'guix pull -M 1 -c 1' ?
[...]
> I'll try on a brand new SD card, because the one I used is a bit old.
> 
> Any other ideas about what might have gone wrong?
The command I gave sometimes works on 32bit machines with a low
amount of RAM, so it was worth trying.

Unfortunately here I'm out of ideas, other people with more experience
in Guix might know better.

Also note that I also do have an A20-OlinuXino-LIME2-eMMC, so I might
be able to run tests too if they are fast to do. Maybe I should try to
cross compile a rootfs and see if it boots.

Long time ago it booted if I recall well, and then it stopped working
but I didn't take the time to track the regression down or to try again.

Denis.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Mon, 14 Nov 2022 07:54:02 GMT) Full text and rfc822 format available.

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

From: Tanguy LE CARROUR <tanguy <at> bioneland.org>
To: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Cc: 59196 <at> debbugs.gnu.org
Subject: Re: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Mon, 14 Nov 2022 08:53:41 +0100
Quoting Denis 'GNUtoo' Carikli (2022-11-13 21:54:49)
> On Sun, 13 Nov 2022 11:48:18 +0100
> Tanguy LE CARROUR <tanguy <at> bioneland.org> wrote:
> > > Sat, 12 Nov 2022 16:40:20 +0100
> > > Does it also fails with 'guix pull -M 1 -c 1' ?
> [...]
> > I'll try on a brand new SD card, because the one I used is a bit old.
> > 
> > Any other ideas about what might have gone wrong?
> The command I gave sometimes works on 32bit machines with a low
> amount of RAM, so it was worth trying.
> 
> Unfortunately here I'm out of ideas, other people with more experience
> in Guix might know better.
> 
> Also note that I also do have an A20-OlinuXino-LIME2-eMMC, so I might
> be able to run tests too if they are fast to do. Maybe I should try to
> cross compile a rootfs and see if it boots.
> 
> Long time ago it booted if I recall well, and then it stopped working
> but I didn't take the time to track the regression down or to try again.

Good to know.
I don't actually need Guix System on my SBC, but you know, I have it on
my computer @work, @home, on my laptop… so I thought to myself that it
would make more sense to have it everywhere!
Today my computers, tomorrow the world! 😎


-- 
Tanguy




Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Mon, 14 Nov 2022 22:45:01 GMT) Full text and rfc822 format available.

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

From: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
To: Tanguy LE CARROUR <tanguy <at> bioneland.org>
Cc: 59196 <at> debbugs.gnu.org
Subject: Re: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Mon, 14 Nov 2022 23:44:05 +0100
[Message part 1 (text/plain, inline)]
I've tried to cross compile an image but I end up with this build
failure:
> $ zcat
> /var/log/guix/drvs/fl/nrxka21fgd5hpbchzp3fyv01xyrs2v-linux-modules.drv.gz
> Backtrace: 5 (primitive-load
> "/gnu/store/lm7mjsdx6p16pbavv80hpf561df?") In ice-9/eval.scm:
>     619:8  4 (_ #f)
>    626:19  3 (_ #<directory (guile-user) 7ffff5fdbc80>)
>    293:34  2 (_ #(#<directory (guile-user) 7ffff5fdbc80> #<procedu?>))
> In srfi/srfi-1.scm:
>    586:17  1 (map1 ("ahci" "usb-storage" "uas" "usbhid" "hid-gene?"
> ?)) In gnu/build/linux-modules.scm:
>     257:5  0 (_)
> 
> gnu/build/linux-modules.scm:257:5: kernel module not found "ahci"
> "/gnu/store/is9dg680cwlzhj6k6j0vxz86zwkqvx5m-linux-libre-6.0.8/lib/modules"

Though I don't know if it is related or not to your issue.

Denis.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Wed, 16 Nov 2022 03:18:01 GMT) Full text and rfc822 format available.

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

From: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
To: Tanguy LE CARROUR <tanguy <at> bioneland.org>
Cc: 59196 <at> debbugs.gnu.org
Subject: Re: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Wed, 16 Nov 2022 04:17:15 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've found an idea: guix pull can pull to a precise commit:
>       --commit=COMMIT    download the specified "guix" channel COMMIT

So maybe it works with a commit close to Guix 1.3. If that's the case
we can probably bisect it to the commit that broke your guix pull.

Denis.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Wed, 16 Nov 2022 08:14:01 GMT) Full text and rfc822 format available.

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

From: Tanguy LE CARROUR <tanguy <at> bioneland.org>
To: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Cc: 59196 <at> debbugs.gnu.org
Subject: Re: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Wed, 16 Nov 2022 09:13:00 +0100
Hi,


Quoting Denis 'GNUtoo' Carikli (2022-11-16 04:17:15)
> I've found an idea: guix pull can pull to a precise commit:
> >       --commit=COMMIT    download the specified "guix" channel COMMIT
> 
> So maybe it works with a commit close to Guix 1.3. If that's the case
> we can probably bisect it to the commit that broke your guix pull.

Sounds like a good idea! I'll try that later today and let you know!

Thanks,


-- 
Tanguy




Information forwarded to bug-guix <at> gnu.org:
bug#59196; Package guix. (Wed, 16 Nov 2022 15:11:01 GMT) Full text and rfc822 format available.

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

From: Tanguy LE CARROUR <tanguy <at> bioneland.org>
To: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Cc: 59196 <at> debbugs.gnu.org
Subject: Re: bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
Date: Wed, 16 Nov 2022 16:09:59 +0100
Hi,


Quoting Tanguy LE CARROUR (2022-11-16 09:13:00)
> Quoting Denis 'GNUtoo' Carikli (2022-11-16 04:17:15)
> > I've found an idea: guix pull can pull to a precise commit:
> > >       --commit=COMMIT    download the specified "guix" channel COMMIT
> > 
> > So maybe it works with a commit close to Guix 1.3. If that's the case
> > we can probably bisect it to the commit that broke your guix pull.
> 
> Sounds like a good idea! I'll try that later today and let you know!

I bought a brand new "microSDHC UHS-1 A1" card and re-installed the
latest Armbian on it, and… I couldn't even test your idea, for `guix pull`
now fails with the following error message:

```
root <at> lime2:~# guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
guix pull: error: Git error: error inflating zlib stream
```

I tried again, but… it failed again! 😞

… so I tried with [the binary install](https://guix.gnu.org/manual/en/html_node/Binary-Installation.html)
of Guix, but it fails to install Guix, for the `/tmp` directory on Armbian
is too small! 😱

I thought installing Guix System on my Lime would be less… frustrating!
I think I'll redirect my energy to other tasks for the time being…

Any way, thanks for your time and help!


-- 
Tanguy




This bug report was last modified 1 year and 133 days ago.

Previous Next


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