unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Can't reconfigure, building grub-minimal fails
@ 2020-11-20 21:15 Christopher Baines
  2020-11-21 19:17 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Baines @ 2020-11-20 21:15 UTC (permalink / raw)
  To: help-guix

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


→ 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



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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

* Re: Can't reconfigure, building grub-minimal fails
  2020-11-20 21:15 Can't reconfigure, building grub-minimal fails Christopher Baines
@ 2020-11-21 19:17 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-11-21 19:17 UTC (permalink / raw)
  To: Christopher Baines; +Cc: help-guix

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

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2020-11-21 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 21:15 Can't reconfigure, building grub-minimal fails Christopher Baines
2020-11-21 19:17 ` Efraim Flashner

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