Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #400516

Bug#1117405: ipxe: FTBFS: qemu: could not load PC BIOS 'OVMF.fd'

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1117405: ipxe: FTBFS: qemu: could not load PC BIOS 'OVMF.fd'
Date 2025-10-05 19:40 +0200
Message-ID <LCASg-2YSH-59@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:ipxe
Version: 1.21.1+git-20250829.969ce2c55+dfsg-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/202510/

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:ipxe, 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>>'
rm -rf debian/self_tests
dh_auto_clean --sourcedirectory=src -- veryclean
	cd src && make -j2 clean veryclean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f -r bin/*.* bin-*/*.* bin/.certificate.* bin-*/.certificate.* bin/.certificates.* bin-*/.certificates.* bin/.private_key.* bin-*/.private_key.* bin/errors bin-*/errors bin/NIC bin-*/NIC ./util/zbin32 ./util/zbin32 ./util/zbin64 ./util/zbin64 ./util/elf2efi32 ./util/elf2efi32 ./util/elf2efi64 ./util/elf2efi64 ./util/efirom ./util/efirom ./util/efifatbin ./util/efifatbin ./util/einfo ./util/einfo TAGS TAGS bin/symtab bin-*/symtab
rm -f -r .echocheck .echocheck bin/.embedded.list bin-*/.embedded.list bin/.trusted.list bin-*/.trusted.list bin/.certificate.list bin-*/.certificate.list bin/.private_key.list bin-*/.private_key.list bin/.config.list bin-*/.config.list bin/.assert.list bin-*/.assert.list bin/.profile.list bin-*/.profile.list bin/.fnrec.list bin-*/.fnrec.list bin/.dbgcol.list bin-*/.dbgcol.list bin/deps bin-*/deps bin/rules bin-*/rules bin/.rom.list bin-*/.rom.list bin/.rom.defs bin-*/.rom.defs bin/.blib.list bin-*/.blib.list bin/doc bin-*/doc
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
rm -fr src/bin-*
find src/config/local -type f -name '*.h' -size 0 -delete
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean

[... snipped ...]

blhc: ignore-line-regexp: .*riscv64-linux-gnu-.*
CC="${CROSS}gcc" CXX="${CROSS}g++" PKG_CONFIG="${CROSS}pkg-config" CFLAGS="$(dpkg-buildflags --get CFLAGS)" CPPFLAGS="$(dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" dh_auto_build --sourcedirectory=src -- V=1 NO_WERROR=1 VERSION="1.21.1+git-20250829.969ce2c55+dfsg-1" bin-riscv64-efi/tests.efi
	cd src && make -j2 INSTALL="install --strip-program=true" V=1 NO_WERROR=1 VERSION=1.21.1\+git-20250829.969ce2c55\+dfsg-1 bin-riscv64-efi/tests.efi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
riscv64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 [too-long-redacted]  -DBUILD_NAME="\"tests.efi\"" \
	-DVERSION_MAJOR=1 \
	-DVERSION_MINOR=0 \
	-DVERSION_PATCH=0 \
	-DVERSION="\"1.21.1+git-20250829.969ce2c55+dfsg-1\"" \
	-c core/version.c -o bin-riscv64-efi/version.tests.efi.o
riscv64-linux-gnu-objcopy --prefix-symbols= bin-riscv64-efi/version.tests.efi.o
riscv64-linux-gnu-ld -m elf64lriscv -q -S   --gc-sections -static -z separate-code -z max-page-size=4096 -T scripts/efi.lds  -u _efi_start --defsym check__efi_start=_efi_start   -u obj_tests --defsym check_obj_tests=obj_tests   -u obj_config_root --defsym check_obj_config_root=obj_config_root   -u obj_config_efi --defsym check_obj_config_efi=obj_config_efi  --defsym pci_vendor_id=0 --defsym pci_device_id=0 -e _efi_start bin-riscv64-efi/version.tests.efi.o bin-riscv64-efi/blib.a -o bin-riscv64-efi/tests.efi.tmp \
	--defsym _build_id=3036368917 \
	--defsym _build_timestamp=1758099734 \
	-Map bin-riscv64-efi/tests.efi.tmp.map
riscv64-linux-gnu-objdump -ht bin-riscv64-efi/tests.efi.tmp | perl ./util/sortobjdump.pl >> bin-riscv64-efi/tests.efi.tmp.map
./util/elf2efi64 --subsystem=10 bin-riscv64-efi/tests.efi.tmp bin-riscv64-efi/tests.efi
rm bin-riscv64-efi/version.tests.efi.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
tar -C src -cf "src/bin-riscv64-efi//config.tar" config/local config/named.h include/compiler.h include/ipxe/profile.h include/assert.h
if [ -e "src/bin-loong64-efi//config.tar" ]; then tar -C src -xf "src/bin-loong64-efi//config.tar"; fi
blhc: ignore-line-regexp: .*loongarch64-linux-gnu-.*
CC="${CROSS}gcc" CXX="${CROSS}g++" PKG_CONFIG="${CROSS}pkg-config" CFLAGS="$(dpkg-buildflags --get CFLAGS)" CPPFLAGS="$(dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" dh_auto_build --sourcedirectory=src -- V=1 NO_WERROR=1 VERSION="1.21.1+git-20250829.969ce2c55+dfsg-1" bin-loong64-efi/tests.efi
	cd src && make -j2 INSTALL="install --strip-program=true" V=1 NO_WERROR=1 VERSION=1.21.1\+git-20250829.969ce2c55\+dfsg-1 bin-loong64-efi/tests.efi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
loongarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g [too-long-redacted]  -DBUILD_NAME="\"tests.efi\"" \
	-DVERSION_MAJOR=1 \
	-DVERSION_MINOR=0 \
	-DVERSION_PATCH=0 \
	-DVERSION="\"1.21.1+git-20250829.969ce2c55+dfsg-1\"" \
	-c core/version.c -o bin-loong64-efi/version.tests.efi.o
loongarch64-linux-gnu-objcopy --prefix-symbols= bin-loong64-efi/version.tests.efi.o
loongarch64-linux-gnu-ld -q -S   --gc-sections -static -z separate-code -z max-page-size=4096 -T scripts/efi.lds  -u _efi_start --defsym check__efi_start=_efi_start   -u obj_tests --defsym check_obj_tests=obj_tests   -u obj_config_root --defsym check_obj_config_root=obj_config_root   -u obj_config_efi --defsym check_obj_config_efi=obj_config_efi  --defsym pci_vendor_id=0 --defsym pci_device_id=0 -e _efi_start bin-loong64-efi/version.tests.efi.o bin-loong64-efi/blib.a -o bin-loong64-efi/tests.efi.tmp \
	--defsym _build_id=161971953 \
	--defsym _build_timestamp=1758099734 \
	-Map bin-loong64-efi/tests.efi.tmp.map
loongarch64-linux-gnu-objdump -ht bin-loong64-efi/tests.efi.tmp | perl ./util/sortobjdump.pl >> bin-loong64-efi/tests.efi.tmp.map
./util/elf2efi64 --subsystem=10 bin-loong64-efi/tests.efi.tmp bin-loong64-efi/tests.efi
rm bin-loong64-efi/version.tests.efi.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
tar -C src -cf "src/bin-loong64-efi//config.tar" config/local config/named.h include/compiler.h include/ipxe/profile.h include/assert.h
dh override_dh_auto_build-indep
rm src/bin-x86_64-efi-rom/ns8390.efirom src/bin-x86_64-efi-rom/82540em.efirom src/bin-x86_64-efi-rom/vmxnet3.efirom src/bin-x86_64-efi-rom/eepro100.efirom src/bin-x86_64-efi-rom/rtl8139.efirom src/bin-x86_64-efi-rom/virtio-net.efirom src/bin-x86_64-efi-rom/pcnet32.efirom src/bin-x86_64-efi-rom/808610d3.efirom
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./debian/tests/ipxe-tests src/bin-i386-pcbios/tests.lkrn
2+0 records in
2+0 records out
2 bytes copied, 2.973e-05 s, 67.3 kB/s
spawn qemu-system-amd64 -cpu kvm64 -machine pc -bios /usr/share/seabios/bios-256k.bin -smp cpus=1,cores=1,sockets=1 -m 1G -chardev stdio,mux=on,id=char0 -nographic -monitor none -serial chardev:char0 -device virtio-rng-pci -netdev user,id=net0,tftp=/tmp/tmp.FrAtDesqZl,bootfile=__nonexistent__ -device vmxnet3,netdev=net0,id=net0,romfile= -kernel src/bin-i386-pcbios/tests.lkrn -no-reboot -blockdev driver=raw,node-name=img,file.driver=file,file.filename=/tmp/tmp.FrAtDesqZl/test.img -device virtio-scsi-pci,id=scsi -device scsi-hd,id=medium,bus=scsi.0,drive=img,bootindex=1

c[?7lSeaBIOS (version 1.17.0-debian-1.17.0-1)


Booting from ROM...


iPXE initialising devices...








iPXE 1.21.1+git-20250829.969ce2c55+dfsg-1 -- Open Source Network Boot Firmware -


- https://ipxe.org


Features: VLAN DNS HTTP HTTPS iSCSI NFS TFTP AoE ELF MBOOT PXE bzImage Menu PXEX


T


Starting i386 self-tests


OK: "time" 102 tests passed


OK: "uri" 727 tests passed


OK: "utf8" 116 tests passed


OK: "uuid" 13 tests passed


OK: "vsprintf" 56 tests passed


OK: "x25519" 126 tests passed


OK: "x509" 139 tests passed


OK: "zlib" 7 tests passed


OK: "acpi" 6 tests passed


OK: "aes" 90 tests passed


OK: "base16" 21 tests passed


OK: "base64" 21 tests passed


OK: "bigint" 212 tests passed


OK: "bitops" 28 tests passed


OK: "byteswap" 6 tests passed


OK: "cms" 33 tests passed


OK: "cpio" 231 tests passed


OK: "crc32" 4 tests passed


OK: "deflate" 191 tests passed


OK: "der" 12 tests passed


OK: "des" 3570 tests passed


OK: "dhe" 32 tests passed


OK: "dns" 86 tests passed


OK: "editstring" 290 tests passed


OK: "efisig" 9 tests passed


OK: "fdt" 100 tests passed


OK: "gcm" 288 tests passed


OK: "gzip" 21 tests passed


OK: "hash_df" 40 tests passed


OK: "hmac_drbg" 208 tests passed


OK: "hmac" 18 tests passed


OK: "iobuf" 82 tests passed


OK: "ipv4" 420 tests passed


OK: "ipv6" 303 tests passed


OK: "linebuf" 165 tests passed


OK: "list" 156 tests passed


OK: "math" 108 tests passed


OK: "md4" 24 tests passed


OK: "md5" 24 tests passed


OK: "memcpy" 217 tests passed


OK: "memset" 192 tests passed


OK: "mschapv2" 2 tests passed


OK: "nap" 1 tests passed


OK: "ntlm" 31 tests passed


OK: "ocsp" 33 tests passed


OK: "p256" 35 tests passed


OK: "p384" 35 tests passed


OK: "pccrc" 89 tests passed


OK: "pem" 27 tests passed


OK: "png" 224 tests passed


OK: "pnm" 49 tests passed


OK: "profile" 14 tests passed


OK: "rsa" 28 tests passed


OK: "setjmp" 20 tests passed


OK: "settings" 187 tests passed


OK: "sha1" 24 tests passed


OK: "sha256" 48 tests passed


OK: "sha512" 96 tests passed


OK: "string" 166 tests passed


OK: "tcpip" 24 tests passed


OK: all 9627 tests passed


Booting from Hard Disk..[!p
mkdir -p debian/self_tests/src/bin-i386-pcbios/ && touch debian/self_tests/src/bin-i386-pcbios/tests.lkrn
./debian/tests/ipxe-tests src/bin-x86_64-efi/tests.efi
mkfs.fat 4.2 (2021-01-31)
spawn qemu-system-amd64 -cpu kvm64 -machine pc -bios OVMF.fd -smp cpus=1,cores=1,sockets=1 -m 1G -chardev stdio,mux=on,id=char0 -nographic -monitor none -serial chardev:char0 -device virtio-rng-pci -netdev user,id=net0,tftp=/tmp/tmp.G6z4iq8odN,bootfile=__nonexistent__ -device vmxnet3,netdev=net0,id=net0,romfile= -blockdev driver=raw,node-name=img,file.driver=file,file.filename=/tmp/tmp.G6z4iq8odN/test.img -device virtio-scsi-pci,id=scsi -device scsi-hd,id=medium,bus=scsi.0,drive=img,bootindex=1

qemu: could not load PC BIOS 'OVMF.fd'

VM terminates unexpectedly
make[1]: *** [debian/rules:154: debian/self_tests/src/bin-x86_64-efi/tests.efi] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1117405: ipxe: FTBFS: qemu: could not load PC BIOS 'OVMF.fd' Santiago Vila <sanvila@debian.org> - 2025-10-05 19:40 +0200
  Processed (with 1 error): Re: Bug#1117405: ipxe: FTBFS: qemu:  could not load PC BIOS 'OVMF.fd' "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-09 23:20 +0200
  Bug#1117405: marked as done (ipxe: FTBFS: qemu: could not load PC  BIOS 'OVMF.fd') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-12 16:00 +0100

csiph-web