From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RtoE6-0005xm-9U for mharc-grub-devel@gnu.org; Sat, 04 Feb 2012 17:36:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtoE2-0005qg-MR for grub-devel@gnu.org; Sat, 04 Feb 2012 17:36:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtoDx-0006kA-Aa for grub-devel@gnu.org; Sat, 04 Feb 2012 17:36:52 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:58547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtoDx-0006jk-4z for grub-devel@gnu.org; Sat, 04 Feb 2012 17:36:49 -0500 Received: from [192.168.0.4] (d14-69-47-19.try.wideopenwest.com [69.14.19.47]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id D1BB31B401F for ; Sat, 4 Feb 2012 22:36:47 +0000 (UTC) Message-ID: <4F2DB2FB.5090309@gentoo.org> Date: Sat, 04 Feb 2012 17:36:43 -0500 From: Mike Gilbert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20120105 Thunderbird/9.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [MERGE] Add a --disable-zfs configure flag. References: <4F2D8D69.8040101@gentoo.org> <4F2D8FD8.40604@gmail.com> <4F2D9912.5040702@gentoo.org> In-Reply-To: <4F2D9912.5040702@gentoo.org> X-Enigmail-Version: 1.3.4 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig2D5EA8C26B161FE56A1CE7A2" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 140.211.166.183 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 22:36:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2D5EA8C26B161FE56A1CE7A2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/04/2012 03:46 PM, Mike Gilbert wrote: > I have the libzfs headers in /usr/include/libzfs, which is where the ZF= S > on Linux build system puts them. My best guess is that it isn't finding= > libzfs.h, but I haven't really dug in. >=20 As it turns out, there are a few things going on here: 1. grub's configure is failing to detect libnvpair due to some breakage upstream. See https://github.com/zfsonlinux/zfs/issues/560 . 2. getroot.c only includes libzfs.h if HAVE_LIBZFS and HAVE_LIBNVPAIR are defined. 3. getroot.c references libzfs_handle_t if HAVE_LIBZFS is set, but does not look at HAVE_LIBNVPAIR. So, getroot.c is trying to use a ZFS structure without including the ZFS header(s). --------------enig2D5EA8C26B161FE56A1CE7A2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iF4EAREIAAYFAk8tsvsACgkQC77qH+pIQ6SERgD9HC/LjUtmpnjeYMx1cJLlVBfx LpZSUN+7JMZBOtytE3oA/iJG4UNl3j3G4j+0M6z3O1F+Kwiwm/Khs1HlZwTh/e5r =JBQn -----END PGP SIGNATURE----- --------------enig2D5EA8C26B161FE56A1CE7A2--