Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
Robert Millan wrote:
> I'd check if a GRUB rebuild helps.
It does! I should never have doubted.
After a rebuild, running "grub-probe -t drive /" with libgeom from
unstable produces no output and exits with status 139 (sigsegv). I
assume libgeom could benefit from a symbols bump in addition to a
Breaks against the previous grub-common version.
How about this patch, for grub2 in experimental?
---
debian/changelog | 10 ++++++++++
debian/control | 2 +-
debian/shlibs.local | 1 +
3 files changed, 12 insertions(+), 1 deletions(-)
create mode 100644 debian/shlibs.local
diff --git a/debian/changelog b/debian/changelog
index 0260b3f..b0e80b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+grub2 (1.99-6.1) local; urgency=low
+
+ * Rebuild against libgeom 8.2 (thanks, Robert Millan):
+ - control: Build-Depends on libgeom-dev (>= 8.2).
+ Works around: #630107.
+ - Add a shlibs.local file to work around an undeclared
+ change in the layout of struct gprovider.
+
+ -- Jonathan Nieder <jrnieder@gmail.com> Sat, 11 Jun 2011 19:19:50 -0500
+
grub2 (1.99-6) unstable; urgency=low
[ Colin Watson ]
diff --git a/debian/control b/debian/control
index 290121b..415ef12 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Build-Depends: debhelper (>= 7.4.2~),
libdevmapper-dev (>= 2:1.02.34) [linux-any],
libzfs-dev [kfreebsd-any],
libnvpair-dev [kfreebsd-any],
- libgeom-dev [kfreebsd-any],
+ libgeom-dev (>= 8.2) [kfreebsd-any],
libsdl1.2-dev [!hurd-any],
xorriso (>= 0.5.6.pl00),
qemu-system [i386 kfreebsd-i386 kopensolaris-i386 any-amd64],
diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644
index 0000000..c12e078
--- /dev/null
+++ b/debian/shlibs.local
@@ -0,0 +1 @@
+libgeom 0 libgeom0 (>= 8.2)
--
1.7.5.4
Reply to: