GNU bug report logs - #52267
disk image installer for rock64 fails

Previous Next

Package: guix;

Reported by: Florian Hoertlehner <hoertlehner <at> gmail.com>

Date: Sat, 4 Dec 2021 00:04:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Florian Hoertlehner <hoertlehner <at> gmail.com>
Cc: 52267 <at> debbugs.gnu.org
Subject: bug#52267: Acknowledgement (disk image installer for rock64 fails)
Date: Thu, 09 Dec 2021 07:45:21 +0000
I forgot to add debbugs in CC, resending ...

Maxime Devos schreef op do 09-12-2021 om 07:41 [+0100]:
> Florian Hoertlehner schreef op do 09-12-2021 om 00:04 [+0100]:
> > 
> > installer build on core-updates-frozen build with cross-
> > compilaition
> > fails with:
> > -builder for `/gnu/store/49ir2x9wypyrv9p1gvd54pzj4frap2jg-
> > dosfstools-
> > 4.2.drv' failed with exit code 1
> 
> Seems like there are two bugs in the dosfstools package definition
> currently preventing cross-compilation:
> 
> This line  ...
> > #:make-flags (list (string-append "PREFIX=" %output) "CC=gcc")))
> 
> ... needs to be replaced by ...
> 
> > #:make-flags ,#~(list (string-append "PREFIX=" #$output) (string-
> > append "CC=" ,(cc-for-target)))
> 
> in the package definition of dosfstools.
> 
> To test, you can try
> 
> ./guix-cuf/bin/guix system disk-image --target=aarch64-linux-gnu -e
> '(begin (set! (@ (gnu packages disk) dosfstools) ((@ (guix packages)
> package) (inherit (@ (gnu packages disk) dosfstools)) (arguments
> `(#:make-flags ,#~(list (string-append "PREFIX=" #$output) (string-
> append "CC=" ,(cc-for-target))) #:configure-flags (list "--enable-
> compat-symlinks"))))) (@ (gnu system install) rock64-installation-
> os))'
> 
> or apply the change to a local git checkout of guix (see ‘17.1
> Building from Git’ in the manual’) and test from there.
> 
> After the aarch64-linux-gnu cross-compiler has finished building,
> I'll test that change.
> 
> Greetings,
> Maxime






This bug report was last modified 3 years and 191 days ago.

Previous Next


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