Public bug reported: When build d-i on Trusty, I'm getting the following error:
#Buildlog ... Using signed grub version 2.02~beta2-9ubuntu1.14 cp: cannot stat ‘/usr/lib/shim/shim.efi.signed’: No such file or directory make[7]: *** [x86_grub_efi] Error 1 make[6]: *** [_build] Error 2 make[5]: *** [flavour_build] Error 2 make[4]: *** [medium_build] Error 2 make[3]: *** [subarch_build] Error 2 make[2]: *** [all_build] Error 2 make[2]: Leaving directory `/<<PKGBUILDDIR>>/build' make[1]: *** [build-images] Error 2 make[1]: Leaving directory `/<<PKGBUILDDIR>>' make: *** [install] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2 I think the problem is that d-i for Trusty hasn't been built for a long time and recent shim-signed change never been adapt into d-i for Trusty which explain why it no longer build properly anymore. When looking shim-signed pkg on Trusty, there is no presence of "/usr/lib/shim/shim.efi.signed" anymore but we see "/usr/lib/shim/shimx64.efi.signed" https://pastebin.canonical.com/207767/ # debian-installer per release : t/debian-installer-20101020ubuntu318.42/build/util/efi-image: cp /usr/lib/shim/shim.efi.signed "$workdir/boot$efi_name.efi" x/debian-installer-20101020ubuntu451.18/build/util/efi-image: cp "/usr/lib/shim/shim$efi_name.efi.signed" "$workdir/boot$efi_name.efi" z/debian-installer-20101020ubuntu504/build/util/efi-image: cp "/usr/lib/shim/shim$efi_name.efi.signed" "$workdir/boot$efi_name.efi" a/debian-installer-20101020ubuntu523.1/build/util/efi-image: cp "/usr/lib/shim/shim$efi_name.efi.signed" "$workdir/boot$efi_name.efi" b/debian-installer-20101020ubuntu527/build/util/efi-image: cp "/usr/lib/shim/shim$efi_name.efi.signed" "$workdir/boot$efi_name.efi" The required shim change in d-i for Trusty never been integrated which explain why it works wel on all releases but Trusty. Trusty is the only release who still have an hardcoded no longer existing file and not using the "$efi_name" variable. ** Affects: debian-installer (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: debian-installer (Ubuntu Trusty) Importance: Undecided Assignee: Mathieu Trudel-Lapierre (cyphermox) Status: Confirmed ** Tags: ftbfs ** Also affects: debian-installer (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: debian-installer (Ubuntu) Status: New => Fix Released ** Tags added: ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1743787 Title: FTBFS in Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1743787/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
