[Bug 1321335] [NEW] Build failure when ZFS support is enabled
Rjvbertin
1321335 at bugs.launchpad.net
Tue May 20 15:17:13 UTC 2014
Public bug reported:
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.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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