[Bug 2015801] Re: gcc-10 backport to bionic needed for grub2

Alex Kompel 2015801 at bugs.launchpad.net
Thu Apr 20 19:51:33 UTC 2023


I would like to upvote this bug. Having broken source package in Bionic
is less than ideal.

I am not sure there is a technical reason for grub2 to depend on gcc-10. Debian package follows build-deps from the target codeline so that's probably not a right argument here. For example, 
grub 2.06 in Buster still depends on gcc-8: https://salsa.debian.org/grub-team/grub/-/blob/buster/debian/control

Bionic toolchain should be perfectly capable of compiling grub. I tried
to build grub2-unsigned-2.06 on Bionic after dropping gcc-10 and fuse3
dependency. It builds, tests pass, and amd64 binaries appear to work on
the live system. Please consider publishing grub2-unsigned with correct
dependencies for the codeline regardless of how the binary packages are
produced and published.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2015801

Title:
  gcc-10 backport to bionic needed for grub2

Status in gcc-10 package in Ubuntu:
  Invalid
Status in gcc-10 source package in Bionic:
  Triaged

Bug description:
  grub2-unsigned is now being binary-copied from kinetic back to all
  stable series, in order to avoid re-signing the UEFI binaries multiple
  times for the same code changes.

  Current grub2-unsigned build-depends on gcc-10.  This package does not
  exist in bionic - but because the binaries were copied from a later
  series, this was not a build failure that blocked the grub2-unsigned
  binaries being published in bionic.

  Nevertheless, we require that all packages be rebuildable from source
  using build-dependencies *within* the given series.  So this is a bug
  that needs to be addressed.

  There are two options: either we publish a separate source version of
  grub2-unsigned for bionic that rolls back the build-dependency on
  gcc-10; or, we publish gcc-10 to bionic as a non-default compiler that
  doesn't take over any of the binary packages from gcc-9 in that series
  (notably: libgcc).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/2015801/+subscriptions




More information about the foundations-bugs mailing list