unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC
@ 2022-11-11 17:53 Tanguy LE CARROUR
  2022-11-12 15:40 ` bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC Denis 'GNUtoo' Carikli
  2022-11-13 10:48 ` Tanguy LE CARROUR
  0 siblings, 2 replies; 9+ messages in thread
From: Tanguy LE CARROUR @ 2022-11-11 17:53 UTC (permalink / raw)
  To: 59196

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@gnu.org>.
```

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

Best regards,


-- 
Tanguy




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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-11 17:53 bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Tanguy LE CARROUR
@ 2022-11-12 15:40 ` Denis 'GNUtoo' Carikli
  2022-11-13 10:48 ` Tanguy LE CARROUR
  1 sibling, 0 replies; 9+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-12 15:40 UTC (permalink / raw)
  To: 59196

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Hi,

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

Denis.

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

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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-11 17:53 bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Tanguy LE CARROUR
  2022-11-12 15:40 ` bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC Denis 'GNUtoo' Carikli
@ 2022-11-13 10:48 ` Tanguy LE CARROUR
  2022-11-13 20:54   ` Denis 'GNUtoo' Carikli
  1 sibling, 1 reply; 9+ messages in thread
From: Tanguy LE CARROUR @ 2022-11-13 10:48 UTC (permalink / raw)
  To: Denis GNUtoo Carikli; +Cc: 59196

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@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




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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-13 10:48 ` Tanguy LE CARROUR
@ 2022-11-13 20:54   ` Denis 'GNUtoo' Carikli
  2022-11-14  7:53     ` Tanguy LE CARROUR
  0 siblings, 1 reply; 9+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-13 20:54 UTC (permalink / raw)
  To: Tanguy LE CARROUR; +Cc: 59196

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

On Sun, 13 Nov 2022 11:48:18 +0100
Tanguy LE CARROUR <tanguy@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.

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

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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-13 20:54   ` Denis 'GNUtoo' Carikli
@ 2022-11-14  7:53     ` Tanguy LE CARROUR
  2022-11-14 22:44       ` Denis 'GNUtoo' Carikli
  2022-11-16  3:17       ` Denis 'GNUtoo' Carikli
  0 siblings, 2 replies; 9+ messages in thread
From: Tanguy LE CARROUR @ 2022-11-14  7:53 UTC (permalink / raw)
  To: Denis 'GNUtoo' Carikli; +Cc: 59196

Quoting Denis 'GNUtoo' Carikli (2022-11-13 21:54:49)
> On Sun, 13 Nov 2022 11:48:18 +0100
> Tanguy LE CARROUR <tanguy@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




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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-14  7:53     ` Tanguy LE CARROUR
@ 2022-11-14 22:44       ` Denis 'GNUtoo' Carikli
  2022-11-16  3:17       ` Denis 'GNUtoo' Carikli
  1 sibling, 0 replies; 9+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-14 22:44 UTC (permalink / raw)
  To: Tanguy LE CARROUR; +Cc: 59196

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

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.

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

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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-14  7:53     ` Tanguy LE CARROUR
  2022-11-14 22:44       ` Denis 'GNUtoo' Carikli
@ 2022-11-16  3:17       ` Denis 'GNUtoo' Carikli
  2022-11-16  8:13         ` Tanguy LE CARROUR
  1 sibling, 1 reply; 9+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-16  3:17 UTC (permalink / raw)
  To: Tanguy LE CARROUR; +Cc: 59196

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

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.

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

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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-16  3:17       ` Denis 'GNUtoo' Carikli
@ 2022-11-16  8:13         ` Tanguy LE CARROUR
  2022-11-16 15:09           ` Tanguy LE CARROUR
  0 siblings, 1 reply; 9+ messages in thread
From: Tanguy LE CARROUR @ 2022-11-16  8:13 UTC (permalink / raw)
  To: Denis 'GNUtoo' Carikli; +Cc: 59196

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




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

* bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
  2022-11-16  8:13         ` Tanguy LE CARROUR
@ 2022-11-16 15:09           ` Tanguy LE CARROUR
  0 siblings, 0 replies; 9+ messages in thread
From: Tanguy LE CARROUR @ 2022-11-16 15:09 UTC (permalink / raw)
  To: Denis 'GNUtoo' Carikli; +Cc: 59196

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@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




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

end of thread, other threads:[~2022-11-16 15:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 17:53 bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Tanguy LE CARROUR
2022-11-12 15:40 ` bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC Denis 'GNUtoo' Carikli
2022-11-13 10:48 ` Tanguy LE CARROUR
2022-11-13 20:54   ` Denis 'GNUtoo' Carikli
2022-11-14  7:53     ` Tanguy LE CARROUR
2022-11-14 22:44       ` Denis 'GNUtoo' Carikli
2022-11-16  3:17       ` Denis 'GNUtoo' Carikli
2022-11-16  8:13         ` Tanguy LE CARROUR
2022-11-16 15:09           ` Tanguy LE CARROUR

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).