On 4/23/24 10:11 AM, Cole Robinson wrote: > Hi, > > hppa-firmware.img and hppa-firmware64.img in qemu.git are missing ELF > build-id annotations. rpm builds on Fedora will error if an ELF binary > doesn't have build-id: > > RPM build errors: > Missing build-id in > /tmp/rpmbuild/BUILDROOT/qemu-9.0.0-1.rc2.fc41.x86_64/usr/share/qemu/hppa-firmware.img > Missing build-id in > /tmp/rpmbuild/BUILDROOT/qemu-9.0.0-1.rc2.fc41.x86_64/usr/share/qemu/hppa-firmware64.img > Generating build-id links failed > > I didn't hit this with qemu 8.2.* builds FWIW >
Though checking older bundled hppa-firmware binaries with `readelf` I don't see build-id either, so now I'm not sure why those RPM builds were passing. FWIW the RPM check is deep in RPM code: https://github.com/rpm-software-management/rpm/blob/68d0f3119c3d46b6184f4704edb51749ce9f819e/build/files.c#L1976 Maybe something else in hppa-firmware ELF headers caused this check to be skipped in the past Thanks, Cole