[Bug 1321335] Re: Build failure when ZFS support is enabled

Launchpad Bug Tracker 1321335 at bugs.launchpad.net
Tue May 5 06:37:59 UTC 2020


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  Build failure when ZFS support is enabled

Status in grub2 package in Ubuntu:
  Expired

Bug description:
  I downloaded the GRUB2 sources from Launchpad, version 2.02~beta2-9
  for "Trusty", in order to understand why grub-probe would not deal
  correctly with ZFS pools.

  It turns out that even the original source, without the Ubuntu
  patches, fails to build when libzfs is present (and/or --enable-zfs is
  used) because the zfs libraries are missing from the grub-ofpathname
  utility's link command.

  Consequently, I think that the grub-probe error I reported in the
  linked question is due to missing ZFS support in the binary GRUB2
  packages distributed via Launchpad.

  After correcting Makefile.util.def, everything builds OK and grub-
  probe correctly reports that ZFS pools are of type zfs .

  A patchfile for the correction is attached, and an upstream bug report
  created (https://savannah.gnu.org/bugs/index.php?42392).

  I'm currently building an updated set of Ubuntu/Debian packages; I'll
  modify this ticket (or file a new one) if there are additional issues
  booting off a ZFS root.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1321335/+subscriptions



More information about the foundations-bugs mailing list