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

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



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 '/<<PKGBUILDDIR>>'
/usr/bin/make clean ARCH=x86_64
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make clean ARCH=ia32 HOSTARCH=x86_64
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   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 '/<<PKGBUILDDIR>>'
LDFLAGS="" && LDFLAGS="" && \
/usr/bin/make ARCH=x86_64 PREFIX=/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/x86_64/lib
/usr/bin/make -C /<<PKGBUILDDIR>>/x86_64/lib -f /<<PKGBUILDDIR>>//lib/Makefile SRCDIR=/<<PKGBUILDDIR>>//lib ARCH=x86_64
make[3]: Entering directory '/<<PKGBUILDDIR>>/x86_64/lib'
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] R>>//lib/boxdraw.c -o boxdraw.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] DIR>>//lib/smbios.c -o smbios.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] R>>//lib/console.c -o console.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] GBUILDDIR>>//lib/crc.c -o crc.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/data.c -o data.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/debug.c -o debug.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/dpath.c -o dpath.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/entry.c -o entry.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/error.c -o error.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/event.c -o event.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/exit.c -o exit.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/guid.c -o guid.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/hand.c -o hand.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] PKGBUILDDIR>>//lib/hw.c -o hw.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/init.c -o init.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/lock.c -o lock.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] UILDDIR>>//lib/misc.c -o misc.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/pause.c -o pause.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/print.c -o print.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] LDDIR>>//lib/sread.c -o sread.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] GBUILDDIR>>//lib/str.c -o str.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] R>>//lib/cmdline.c -o cmdline.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] me/rtlock.c -o runtime/rtlock.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] firtlib.c -o runtime/efirtlib.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] time/rtstr.c -o runtime/rtstr.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] ib/runtime/vm.c -o runtime/vm.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] me/rtdata.c -o runtime/rtdata.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] initplat.c -o x86_64/initplat.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] /x86_64/math.c -o x86_64/math.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] _64/setjmp.S -o x86_64/setjmp.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] callwrap.c -o x86_64/callwrap.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//lib/../inc - [too-long-redacted] efi_stub.S -o x86_64/efi_stub.o
gcc -I/<<PKGBUILDDIR>>//lib -I/<<PKGBUILDDIR>>//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/efi_stub.o ctors.o
ar: creating libefi.a
a - boxdraw.o
a - smbios.o
a - console.o
a - crc.o
a - data.o
a - debug.o
a - dpath.o
a - entry.o
a - error.o
a - event.o
a - exit.o
a - guid.o
a - hand.o
a - hw.o
a - init.o
a - lock.o
a - misc.o
a - pause.o
a - print.o
a - sread.o
a - str.o
a - cmdline.o
a - runtime/rtlock.o
a - runtime/efirtlib.o
a - runtime/rtstr.o
a - runtime/vm.o
a - runtime/rtdata.o
a - x86_64/initplat.o
a - x86_64/math.o
a - x86_64/setjmp.o
a - x86_64/callwrap.o
a - x86_64/efi_stub.o
a - ctors.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/x86_64/lib'
mkdir -p /<<PKGBUILDDIR>>/x86_64/gnuefi
/usr/bin/make -C /<<PKGBUILDDIR>>/x86_64/gnuefi -f /<<PKGBUILDDIR>>//gnuefi/Makefile SRCDIR=/<<PKGBUILDDIR>>//gnuefi ARCH=x86_64
make[3]: Entering directory '/<<PKGBUILDDIR>>/x86_64/gnuefi'
gcc -I/<<PKGBUILDDIR>>//gnuefi -I/<<PKGBUILDDIR>>//gnuefi/.. [too-long-redacted] i-x86_64.S -o crt0-efi-x86_64.o
gcc -I/<<PKGBUILDDIR>>//gnuefi -I/<<PKGBUILDDIR>>//gnuefi/.. [too-long-redacted] eloc_x86_64.c -o reloc_x86_64.o
ar rDv libgnuefi.a reloc_x86_64.o
ar: creating libgnuefi.a
a - reloc_x86_64.o
sed \
	-e 's:@PREFIX@:/usr:g' \
	-e 's:@EXEC_PREFIX@:/usr:g' \
	-e 's:@INCLUDEDIR@:/usr/include:g' \
	-e 's:@LIBDIR@:/usr/lib:g' \
	-e 's:@VERSION@:3.0.18:g' \
/<<PKGBUILDDIR>>//gnuefi/gnu-efi.pc.in > gnu-efi.pc
make[3]: Leaving directory '/<<PKGBUILDDIR>>/x86_64/gnuefi'
mkdir -p /<<PKGBUILDDIR>>/x86_64/inc
/usr/bin/make -C /<<PKGBUILDDIR>>/x86_64/inc -f /<<PKGBUILDDIR>>//inc/Makefile SRCDIR=/<<PKGBUILDDIR>>//inc ARCH=x86_64
make[3]: Entering directory '/<<PKGBUILDDIR>>/x86_64/inc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/x86_64/inc'
mkdir -p /<<PKGBUILDDIR>>/x86_64/apps
/usr/bin/make -C /<<PKGBUILDDIR>>/x86_64/apps -f /<<PKGBUILDDIR>>//apps/Makefile SRCDIR=/<<PKGBUILDDIR>>//apps ARCH=x86_64
make[3]: Entering directory '/<<PKGBUILDDIR>>/x86_64/apps'
gcc -I/<<PKGBUILDDIR>>//apps -I/<<PKGBUILDDIR>>//apps/../inc [too-long-redacted] <PKGBUILDDIR>>//apps/t.c -o t.o
ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -z nocombreloc -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -z nocombreloc -shared -Bsymbolic -L/<<PKGBUILDDIR>>//apps/../x86_64/lib -L/<<PKGBUILDDIR>>//apps/../x86_64/gnuefi /<<PKGBUILDDIR>>//apps/../x86_64/gnuefi/crt0-efi-x86_64.o t.o -o t.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a -T /<<PKGBUILDDIR>>//apps/../gnuefi/elf_x86_64_efi.lds
objcopy -j .text -j .sdata -j .data -j .dynamic -j .rodata -j .rel \
	    -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
	    -j .areloc -j .reloc --target efi-app-x86_64 t.so t.efi
objcopy: t.so: file format not recognized
make[3]: *** [/<<PKGBUILDDIR>>//apps/../Make.rules:40: t.efi] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/x86_64/apps'
make[2]: *** [Makefile:82: apps] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:45: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:36: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: