Subject: Re: bug#55283: ‘tests/guix-shell-export-manifest.sh’ fails on aarch64-linux

From: Ludovic Courtès <[email-masked]>
Date: Thu, 12 May 2022 10:09:47 +0200

Efraim Flashner <[email-masked]> skribis:

> On Tue, May 10, 2022 at 05:40:28PM +0200, Ludovic Courtès wrote:

[...]

>> >      (architecture
>> > -     ;; TODO: AArch64.
>> > -     architecture)))
>> > +      ;; TODO: More architectures
>> > +      (utsname:machine (uname)))))
>> 
>> We can return ‘architecture’ as is, no need to re-call ‘uname’.
>
> That's what we had before and we got the error.

The error reported at the beginning of this thread was different: it
came from the fact that (current-cpu) would return #f on aarch64,
whereas ‘current-cpu’ is meant to always return a <cpu> record.

Thanks,
Ludo’.