Bug#1122417: gnu-efi: FTBFS: objcopy: t.so: file format not recognized

2026-01-05 Thread Chris Hofstaedtler
Below is a completely untested patch, which I still expect to work.

Chris

--- gnu-efi-3.0.18.orig/apps/Makefile
+++ gnu-efi-3.0.18/apps/Makefile
@@ -68,9 +68,9 @@ TARGET_RTDRIVERS =

 ifneq ($(HAVE_EFI_OBJCOPY),)

-FORMAT := --target efi-app-$(ARCH)
-$(TARGET_BSDRIVERS): FORMAT=--target efi-bsdrv-$(ARCH)
-$(TARGET_RTDRIVERS): FORMAT=--target efi-rtdrv-$(ARCH)
+FORMAT := --output-target efi-app-$(ARCH)
+$(TARGET_BSDRIVERS): FORMAT=--output-target efi-bsdrv-$(ARCH)
+$(TARGET_RTDRIVERS): FORMAT=--output-target efi-rtdrv-$(ARCH)

 else



Bug#1122417: gnu-efi: FTBFS: objcopy: t.so: file format not recognized

2025-12-30 Thread Bastian Germann
Control: fixed-upstream

I see this is fied in git with 4.0.0 already.
What is hindering the upload?



Bug#1122417: gnu-efi: FTBFS: objcopy: t.so: file format not recognized

2025-12-10 Thread Santiago Vila
Package: src:gnu-efi
Version: 3.0.18-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gnu-efi, so that this is still
visible in the BTS web page for this package.

Thanks.


[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<>'
/usr/bin/make clean ARCH=x86_64
make[2]: Entering directory '/<>'
make[2]: Leaving directory '/<>'
/usr/bin/make clean ARCH=ia32 HOSTARCH=x86_64
make[2]: Entering directory '/<>'
make[2]: Leaving directory '/<>'
make[1]: Leaving directory '/<>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
LDFLAGS="" && LDFLAGS="" && \
/usr/bin/make ARCH=x86_64 PREFIX=/usr
make[2]: Entering directory '/<>'
mkdir -p /<>/x86_64/lib
/usr/bin/make -C /<>/x86_64/lib -f /<>//lib/Makefile 
SRCDIR=/<>//lib ARCH=x86_64
make[3]: Entering directory '/<>/x86_64/lib'
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] R>>//lib/boxdraw.c -o boxdraw.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] DIR>>//lib/smbios.c -o smbios.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] R>>//lib/console.c -o console.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] GBUILDDIR>>//lib/crc.c -o crc.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/data.c -o data.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/debug.c -o debug.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/dpath.c -o dpath.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/entry.c -o entry.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/error.c -o error.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/event.c -o event.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/exit.c -o exit.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/guid.c -o guid.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/hand.c -o hand.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] PKGBUILDDIR>>//lib/hw.c -o hw.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/init.c -o init.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/lock.c -o lock.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] UILDDIR>>//lib/misc.c -o misc.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/pause.c -o pause.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/print.c -o print.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/sread.c -o sread.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] GBUILDDIR>>//lib/str.c -o str.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] R>>//lib/cmdline.c -o cmdline.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] me/rtlock.c -o runtime/rtlock.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] firtlib.c -o runtime/efirtlib.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] time/rtstr.c -o runtime/rtstr.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] ib/runtime/vm.c -o runtime/vm.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] me/rtdata.c -o runtime/rtdata.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] initplat.c -o x86_64/initplat.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] /x86_64/math.c -o x86_64/math.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] _64/setjmp.S -o x86_64/setjmp.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] callwrap.c -o x86_64/callwrap.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] efi_stub.S -o x86_64/efi_stub.o
gcc -I/<>//lib -I/<>//lib/../inc - 
[too-long-redacted] LDDIR>>//lib/ctors.S -o ctors.o
ar rDv libefi.a boxdraw.o smbios.o console.o crc.o data.o debug.o dpath.o 
entry.o error.o event.o exit.o guid.o hand.o hw.o init.o lock.o misc.o pause.o 
print.o sread.o str.o cmdline.o runtime/rtlock.o runtime/efirtlib.o 
runtime/rtstr.o runtime/vm.o runtime/rtdata.o x86_64/initplat.o x86_64/math.o 
x86_64/setjmp.o x86_64/callwrap.o x86_64/