help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't reconfigure, building grub-minimal fails


From: Efraim Flashner
Subject: Re: Can't reconfigure, building grub-minimal fails
Date: Sat, 21 Nov 2020 21:17:20 +0200

On Fri, Nov 20, 2020 at 09:15:05PM +0000, Christopher Baines wrote:
> 
> → sudo -E guix system reconfigure ~/Projects/Systems/capella.scm 
> The following derivation will be built:
>    /gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv
> 
> building /gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv...
> - 'build' phasebuilder for 
> `/gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv' failed 
> with exit code 1
> build of /gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv 
> failed
> View build log at 
> '/var/log/guix/drvs/l8/ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv.bz2'.
> guix system: error: build of 
> `/gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv' failed
> 
> 
> → sudo -E guix build grub-minimal
> /gnu/store/5sm2gyym9a7hqv66xd6scfp994mz9mlm-grub-minimal-2.04
> 
> 
> → sudo -E guix describe
>   guix aee183e
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: aee183e1a57aa7606c79d9375e8e3f13e7726e41
> 
> 

Oh? I just touched grub

> 
> This is the failure:
> 
> (for x in tests/util/grub-fs-tester.in ; do cat ./"$x"; done) | 
> ./config.status --file=grub-fs-tester:-
> ./build-grub-mkfont -o unicode.pf2 ./unifont.bdf || (rm -f unicode.pf2; exit 
> 1)
> ./build-grub-mkfont -o ascii.pf2 ./unifont.bdf -r 
> 0x0-0x7f,0x2190-0x2193,0x2501-0x251B || (rm -f ascii.pf2; exit 1)
> ./build-grub-mkfont: error while loading shared libraries: libfreetype.so.6: 
> wrong ELF class: ELFCLASS32
> mv -f grub-core/loader/.deps-util/grub_file-macho.Tpo 
> grub-core/loader/.deps-util/grub_file-macho.Po
> ./build-grub-mkfont: error while loading shared libraries: libfreetype.so.6: 
> wrong ELF class: ELFCLASS32
> mv -f 
> grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-whirlpool.Tpo 
> grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-whirlpool.Po
> ./build-grub-mkfont -o euro.pf2 ./unifont.bdf -r 
> 0x0-0x4ff,0x1e00-0x1fff,0x2190-0x2193,0x2501-0x251B || (rm -f euro.pf2; exit 
> 1)
> ./build-grub-gen-asciih ./unifont.bdf ascii.h || (rm -f ascii.h; exit 1)
> ./build-grub-mkfont: error while loading shared libraries: libfreetype.so.6: 
> wrong ELF class: ELFCLASS32
> make[2]: *** [Makefile:13132: unicode.pf2] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [Makefile:13135: ascii.pf2] Error 1
> make[2]: *** [Makefile:13138: euro.pf2] Error 1
> ./build-grub-gen-asciih: error while loading shared libraries: 
> libfreetype.so.6: wrong ELF class: ELFCLASS32
> make[2]: *** [Makefile:13141: ascii.h] Error 1
> mv -f grub-core/loader/.deps-util/grub_file-macho32.Tpo 
> grub-core/loader/.deps-util/grub_file-macho32.Po
> mv -f util/ieee1275/.deps-util/grub_ofpathname-grub-ofpathname.Tpo 
> util/ieee1275/.deps-util/grub_ofpathname-grub-ofpathname.Po
> mv -f grub-core/loader/.deps-util/grub_file-macho64.Tpo 
> grub-core/loader/.deps-util/grub_file-macho64.Po
> mv -f 
> grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-serpent.Tpo 
> grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-serpent.Po
> mv -f 
> grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-twofish.Tpo 
> grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-twofish.Po
> config.status: creating grub-fs-tester
> chmod a+x grub-fs-tester
> make[2]: Leaving directory '/tmp/guix-build-grub-minimal-2.04.drv-0/grub-2.04'
> make[1]: *** [Makefile:11304: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-grub-minimal-2.04.drv-0/grub-2.04'
> make: *** [Makefile:3343: all] Error 2
> command "make" "-j" "12" failed with status 2
> builder for 
> `/gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv' failed 
> with exit code 1
> build of /gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv 
> failed
> View build log at 
> '/var/log/guix/drvs/l8/ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv.bz2'.
> guix system: error: build of 
> `/gnu/store/l8ipcxqhz1kizk6fcxmjdb36a0rks83z-grub-minimal-2.04.drv' failed

Damnit freetype! I thought I tested it on x86_64 for itself and x86_64
-> mips64el.. and maybe some others. I'd try reverting
34a6f123514b5677d442ed7cd609ff01534904b8 and seeing if it suddenly
starts working. What architectures and EFI/non-EFI is involved?


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]