`guix pull` fails on A20-OLinuXino-LIME2-eMMC

  • Open
  • quality assurance status badge
Details
2 participants
  • Denis 'GNUtoo' Carikli
  • Tanguy LE CARROUR
Owner
unassigned
Submitted by
Tanguy LE CARROUR
Severity
normal
T
T
Tanguy LE CARROUR wrote on 11 Nov 2022 18:53
(address . bug-guix@gnu.org)
166818920030.11941.18086085314230182732@localhost
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
D
D
Denis 'GNUtoo' Carikli wrote on 12 Nov 2022 16:40
Re: guix pull fails on A20-OlinuXino-LIME2-eMMC
(address . 59196@debbugs.gnu.org)
20221112164020.7352b106@primary_laptop
Hi,

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

Denis.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmNvvmUACgkQX138wUF3
4mMrFQ//d3kqnc5iczVrg7JZpTFGCalSIx2Gpmfs5jQXg3uBBovppkttKKxl1Sze
zZwUXaoCpQwMqVrgT1wET39uN3YQlT28jPdeur/lIByKHzgrVeiJMpxDg3WZOV0K
m0lrSG8KbvYKxMIs6A9oU5rq9esGbLIfr5Xv8kYcewpuYbjW1uV9hX3f16++0KW9
M3hRvIWOK/oVO2BIXOE2GjK9nsiLek7YXG69KiRZWxHesfViUn+HedbS5ktl3/GP
XYjT0uzNcpMS3uEGyqWUkX+iMTYSgN2csFatAEMs8bJqqVXGEwb7+/PiS2udfWo1
2U+U1ODO/zeqR4rzACz7f3SqP/0ERC8+xOLOOXTEjoUmPqeU50LZQi7k6D6Lux+c
og/lbnpETNg86Cimc/dOlHOdLDuxAlCeTUPgKOV57itY/WMP8ITS+ngbs4RuElUQ
+tYjvYQ8gZ0mtVHvLkuzJlfZv1uSTNNzo/joyCqjbHb3uvW9IAXRl4jdUE776TWt
3LQ1i49WMRQLSZe87n4WtkrnwkrwcsNZN8tYg+4DhE+mdqwkpOs73hI5U/pLWnx3
VMVN4dqCb1DzNW1VNvGlPMyWE38m5+4Jf4LN5smlEkr5KpbCWTmOmmXE5IsDr6Ug
wsKlNQnQHQSI41W5LD5zgoLgpJj9lOLllIbKfhm6WP8gJdQ3mAs=
=I3Dq
-----END PGP SIGNATURE-----


T
T
Tanguy LE CARROUR wrote on 13 Nov 2022 11:48
bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC
(name . Denis GNUtoo Carikli)(address . GNUtoo@cyberdimension.org)(address . 59196@debbugs.gnu.org)
166833649884.5170.14878109250915752009@localhost
Hi Denis,

Thanks for your answer.

Strange thing, though… I didn't received your answer!?
I came across it by chance while checking

Toggle quote (3 lines)
> 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
D
D
Denis 'GNUtoo' Carikli wrote on 13 Nov 2022 21:54
(name . Tanguy LE CARROUR)(address . tanguy@bioneland.org)(address . 59196@debbugs.gnu.org)
20221113215449.5d31b9fb@primary_laptop
On Sun, 13 Nov 2022 11:48:18 +0100
Tanguy LE CARROUR <tanguy@bioneland.org> wrote:

Toggle quote (10 lines)
> 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' ?
[...]
Toggle quote (3 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmNxWZkACgkQX138wUF3
4mNI7w/+MEKaI2BqUz70clfY3QGFh2h5ywPP1ESImjODa6qjBF/QLpKPRvcsIjrG
GGK/RVnNLXxbXJupoVhnvBH8d1Og3oi82efZ4geuIjU/yFcMW077y6BzwDaEN3hO
zrypWgE54FlowJg/fMhhWvCrMcCCR/yPQzslxu5yPh0yRdY38idDdEmfS1mmQ/kE
u7NYwYDqnVgiL34/KkWS7aVbdc517WSDilBZ3g15i9rUkHRsAznogiFGf7+KdVOZ
iwJmjwrMvXq4bJ3JMqI+xap35XKjy9U3SmGlz+WaDSjPLiFu+BeRjeChne78NDpC
FyE01R4Pm/XicN0vSDBKLy4e0nqZ/MK3vga88TRxEvkXWpyKQcfqwcJe5ZG9t3yz
zR8Y2VC254vuJn6YFR/1nCSl5j4TqeohVfK5sol4JpTr9Q7I2zsKR3o0qTJC9xJz
OjjtcC7Ro9dRx2D7rUcnalmJuDk+H5vsKWL7SSTHFAiSvOVZXHnNxbmzcqTZ/0G2
BSR+2DdvVitYU4wgS0s44B+MdHgscD0egDJefFAmEZ6d8ZSphqy4gLWWiRDcQH+u
vf8OkIsoxwkyf8UQ2AdYyRD7TGldzgd7cEEpWYQ5AyIbORyiDnDbdzkcjGQfh66c
G/vEJ6ojQ2oFrCcdmbkIqaJ05YndnMpWckF682nzGe9B9jlEl/M=
=ZO2d
-----END PGP SIGNATURE-----


T
T
Tanguy LE CARROUR wrote on 14 Nov 2022 08:53
(name . Denis 'GNUtoo' Carikli)(address . GNUtoo@cyberdimension.org)(address . 59196@debbugs.gnu.org)
166841242191.18688.11635928554710611383@localhost
Quoting Denis 'GNUtoo' Carikli (2022-11-13 21:54:49)
Toggle quote (21 lines)
> 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
D
D
Denis 'GNUtoo' Carikli wrote on 14 Nov 2022 23:44
(name . Tanguy LE CARROUR)(address . tanguy@bioneland.org)(address . 59196@debbugs.gnu.org)
20221114234405.66f568bb@primary_laptop
I've tried to cross compile an image but I end up with this build
failure:
Toggle quote (15 lines)
> $ 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.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmNyxLUACgkQX138wUF3
4mNUZw/+M0ZShp90G0DGjm5zkOXs/3Ckie3U1re7/K7N2W1z9c0ITicuB98/9amb
+8oMN9Uor+DEHpXDJunb239CXyf5+dyuuXzUs2tXVEIxeRANnx8F3RnUyksIFKGx
FJyivu3/NT7pJe8JIIBOZTr3k+9HCuI96zRQP5UGDjIWXEFZmPVadVnLRIBhA1kZ
Hw9U/nq6bZn0nYFxsNaWLBIWdfttI3vL4K6QTp+zxS+l+RlIsK42S903WAOaOlb4
RDcFFbzYBsB45w48NFR0Evp1WvQ7RAq4C82Bg8jLtUQWD6XAhFAwHr4dwA08X1HA
R2Dwl4JSxJ4/nsu7prafCT+Wamaat4d9htWaMKoHn37Zm1SbJv65lO3NmuaX1XQd
tOQXezPPoWHWCD9ExREp65U6lHO2KTPMs4X8Bi3py4iQYI1Mdkz7zZipDF8FY9Hk
HrUi5XB328d4OOStzIu9Y+NWSTCt+pD/iKIFK+KB/V0Wna3v6DkUw1t/ae0pW6JV
VdnolVIUhsPCprIQpCevXS17YcEooEiBF8GtFDGYIDGixZIx7a6hYRRT91kKR7MW
zwq8bH3SSS4R8CWJrGGDYXbdu6m6GHYSI3SDtqGUaVxHjqQ7hS/lDb/sIwCddtK+
D8rndWmWrB49S+i56nrX3bw1xVBZJPlsPSxhzp2Ws/qDRZdZd2w=
=zPhx
-----END PGP SIGNATURE-----


D
D
Denis 'GNUtoo' Carikli wrote on 16 Nov 2022 04:17
(name . Tanguy LE CARROUR)(address . tanguy@bioneland.org)(address . 59196@debbugs.gnu.org)
20221116041715.3633eee7@primary_laptop
Hi,

I've found an idea: guix pull can pull to a precise commit:
Toggle quote (2 lines)
> --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.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmN0VjwACgkQX138wUF3
4mNU9Q/+OfZxI4ZhTHCCMjiN/u9E0sgAS4MDes9UFM7G5Fr6EQlFVqyIaLrhplAe
nK8jMk53ahaODzBsHi3WTBCpKFqyGWzYR9x3uQXqJqfVfgCCdTtrq3ecvGQlVy0x
jXyZevAuShaTIoClXgHd7qoG9/CJOLXJoryDfWCAxLT7ZmeRdsmFVTfV6PC7q6+0
kXjqJOa11YNCHVHcNIkhrqI5I/01LpB/Qpv0Jl6X9kgp+AawWIHyJXSOv2TJgfzv
9Dm1snr7y8DSdGdiZaCGZ1vnFhEwWN+YQXrohBKxxy90tgRcxw1vnRFn6VNXgA0i
GZ7/dTkAKOP0+LGF5FzXCG7exPYuiFpY/bsh8LvIGtEeFjXJzmhdec7FunMPrX35
U3UK3vY2FZj51nchZmP+KtUC+bnTd1+I7rida6ftTb38zRdWmiGkqTSzs0JD0L+l
GmsyO4VtIs0jGKn6eR14fyIqHCx7D1z85W81CL7ZHniOqd9lNLq4+ernEzqHE2da
FAzbkxNq07AFfEa1PDRAf7LbzxyLyTCJxJnJ9V91yciowc2ma90lUIvtbOJS8bEf
+nTppryU4LVI7V7CqcuyU+B//Li4P5tFAv867OK/pDSjg4fdWQtHZnc2fz2JyEVh
qnsBXTXciUQi0LfJVApnJSEV9JWsutkQ/QjtGz1k+EOkgr9v59Q=
=DkkP
-----END PGP SIGNATURE-----


T
T
Tanguy LE CARROUR wrote on 16 Nov 2022 09:13
(name . Denis 'GNUtoo' Carikli)(address . GNUtoo@cyberdimension.org)(address . 59196@debbugs.gnu.org)
166858638006.2150.4800330188429681399@localhost
Hi,


Quoting Denis 'GNUtoo' Carikli (2022-11-16 04:17:15)
Toggle quote (6 lines)
> 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
T
T
Tanguy LE CARROUR wrote on 16 Nov 2022 16:09
(name . Denis 'GNUtoo' Carikli)(address . GNUtoo@cyberdimension.org)(address . 59196@debbugs.gnu.org)
166861139930.10592.6114061299601752476@localhost
Hi,


Quoting Tanguy LE CARROUR (2022-11-16 09:13:00)
Toggle quote (9 lines)
> 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! ?

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
?