Subject: [bug#74710] [PATCH] gnu: ipxe: Update to 24db39fb2983ca83ab5c6ee37cb57a4f7f6f94e6.

From: Vagrant Cascadian <[email-masked]>
Date: Fri, 06 Dec 2024 12:10:00 -0800

On 2024-12-06, Roman Scherer wrote:
> * gnu/packages/bootloaders.scm (ipxe): Update to 24db39fb2983ca83ab5c6ee37cb57a4f7f6f94e6.

This fails to build on aarch64-linux for me, with lots of "unrecognized
command-line option" errors, such as:

gcc: error: unrecognized command-line option ‘-m32’
gcc: error: unrecognized command-line option ‘-malign-double’
gcc: error: unrecognized command-line option ‘-malign-double’
gcc: error: unrecognized command-line option ‘-malign-double’
make[2]: *** [Makefile.housekeeping:979: bin-i386-efi/__moddi3.o] Error 1
make[2]: *** [Makefile.housekeeping:979: bin-i386-efi/__udivmoddi4.o] Error 1
gcc: error: unrecognized command-line option ‘-malign-double’
make[2]: *** [Makefile.housekeeping:979: bin-i386-efi/__udivdi3.o] Error 1
make[2]: *** [Makefile.housekeeping:979: bin-i386-efi/__umoddi3.o] Error 1
make[1]: *** [Makefile.housekeeping:166: bin-i386-efi/ipxe.efi] Error 2
make: *** [Makefile:170: everything] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "6" "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo -e" "BUILD_ID_CMD=echo -n 0x8198a1b7" "BUILD_TIMESTAMP=1733491642" "everything") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 71.5 seconds
command "make" "-j" "6" "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo -e" "BUILD_ID_CMD=echo -n 0x8198a1b7" "BUILD_TIMESTAMP=1733491642" "everything" failed with status 2
build process 8 exited with status 256
builder for `/gnu/store/s60h3s4h3rass2fq6sdkxgs9nf2nhbij-ipxe-1.21.1-3.24db39f.drv' failed with exit code 1
build of /gnu/store/s60h3s4h3rass2fq6sdkxgs9nf2nhbij-ipxe-1.21.1-3.24db39f.drv failed
View build log at '/var/log/guix/drvs/s6/0h3s4h3rass2fq6sdkxgs9nf2nhbij-ipxe-1.21.1-3.24db39f.drv.gz'.
guix build: error: build of `/gnu/store/s60h3s4h3rass2fq6sdkxgs9nf2nhbij-ipxe-1.21.1-3.24db39f.drv' failed

Although I see the same build failures without the patch applied...

live well,
  vagrant