all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Christopher Baines <mail@cbaines.net>
Cc: help-guix@gnu.org
Subject: Re: Can't reconfigure, building grub-minimal fails
Date: Sat, 21 Nov 2020 21:17:20 +0200	[thread overview]
Message-ID: <20201121191720.GB1088@E5400> (raw)
In-Reply-To: <87eeknk9wm.fsf@cbaines.net>

[-- 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 --]

      reply	other threads:[~2020-11-21 19:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 21:15 Can't reconfigure, building grub-minimal fails Christopher Baines
2020-11-21 19:17 ` Efraim Flashner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201121191720.GB1088@E5400 \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.