[Bug 1743787] Re: FTBFS in Trusty
Eric Desrochers
eric.desrochers at canonical.com
Wed Jan 17 14:49:22 UTC 2018
** Tags added: sts
** Description changed:
- When build d-i on Trusty, I'm getting the following error:
+ When building d-i on Trusty as-is, we are getting a FBTFS situation with
+ the following error:
- #Buildlog
+ # Launchpad 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.
+ 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 :
+ # debian-installer src ci=ode 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.
+ explain why it works as expected on all releases but Trusty.
- Trusty is the only release who still have an hardcoded no longer
+ Trusty is the only release who still have an hard-coded no longer
existing file and not using the "$efi_name" variable.
** Changed in: debian-installer (Ubuntu Trusty)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1743787
Title:
FTBFS in Trusty
Status in debian-installer package in Ubuntu:
Fix Released
Status in debian-installer source package in Trusty:
Confirmed
Bug description:
[Impact]
d-i FBTFS is a blocker for any future Trusty d-i SRU or preseed SRU
that require a d-i rebuild to create for instance a new mini.iso
(Minimal image of Ubuntu).
[Test Case]
* Perform the following :
$ pull-lp-source debian-installer trusty
$ cd debian-installer-*
$ dch -i # Bump version in debian/changelog
$ debuild -S -k<YOUR_LP_GPG_KEY>
$ dput ppa:<YOUR_LP_ID>:<YOUR_PPA_NAME> ../debian-installer*.source.changes
* The build will fail with the following error in the build log
------------------------------------------------------------------
...
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
------------------------------------------------------------------
[Regression Potential]
No regression anticipated, it will simply fix the FTBFS by making sure
d-i reflect new shim-signed package reality.
[Other Info]
Only trusty is impacted.
[Original Description]
When building d-i on Trusty as-is, we are getting a FBTFS situation
with the following error:
# Launchpad 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
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 src ci=ode 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 as expected on all releases but Trusty.
Trusty is the only release who still have an hard-coded no longer
existing file and not using the "$efi_name" variable.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1743787/+subscriptions
More information about the foundations-bugs
mailing list