From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RtmV1-0006Em-UQ for mharc-grub-devel@gnu.org; Sat, 04 Feb 2012 15:46:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmUz-0006ET-Bz for grub-devel@gnu.org; Sat, 04 Feb 2012 15:46:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtmUx-0003vD-JO for grub-devel@gnu.org; Sat, 04 Feb 2012 15:46:17 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:53636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtmUx-0003v6-Ai for grub-devel@gnu.org; Sat, 04 Feb 2012 15:46:15 -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 D70711B4007; Sat, 4 Feb 2012 20:46:13 +0000 (UTC) Message-ID: <4F2D9912.5040702@gentoo.org> Date: Sat, 04 Feb 2012 15:46:10 -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: The development of GNU GRUB Subject: Re: [MERGE] Add a --disable-zfs configure flag. References: <4F2D8D69.8040101@gentoo.org> <4F2D8FD8.40604@gmail.com> In-Reply-To: <4F2D8FD8.40604@gmail.com> X-Enigmail-Version: 1.3.4 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF611164EB8B3D3CC4118EC63" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 140.211.166.183 Cc: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= 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 20:46:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF611164EB8B3D3CC4118EC63 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/04/2012 03:06 PM, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote:= > On 04.02.2012 20:56, Mike Gilbert wrote: >> I happen to have the ZFS libraries installed on my machine, but I don'= t >> want my boot loader to use them. It seems to be broken for me at the >> moment in any case. >> >> I'm new to bazaar and this is my first submission to this mailing list= , >> so please let me know if I've done something incorrectly. > It's not maintainable to disable a feature every time we meet an issue > with a part of code. There is no maintenance burden here, just a one-time change to configure.ac. The code already has the proper #ifdefs and whatnot. Also, this goes beyond my own build issues. Having configure auto-detect libraries with no way to manually override it creates an "automagic dependency", which we hate over at Gentoo Linux. The following link has a great explanation. http://www.gentoo.org/proj/en/qa/automagic.xml > Could you please detail on your issues? I'm getting the following build failure: gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=3D1 -DGRUB_LIBDIR=3D\"/usr/local/lib/grub\" -DLOCALEDIR=3D\"/usr/local/share/locale\" -DGRUB_MACHINE_PCBIOS=3D1 -DGRUB_MACHINE=3DI386_PC -DGRUB_TARGET_CPU_I386=3D1 -DGRUB_FILE=3D\"util/getroot.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/gnulib -I./grub-core/gnulib -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -MT util/libgrubkern_a-getroot.o -MD -MP -MF util/.deps-util/libgrubkern_a-getroot.Tpo -c -o util/libgrubkern_a-getroot.o `test -f 'util/getroot.c' || echo './'`util/getroot.c util/getroot.c:2384:1: error: unknown type name 'libzfs_handle_t' util/getroot.c: In function 'fini_libzfs': util/getroot.c:2389:3: warning: implicit declaration of function 'libzfs_fini' [-Wimplicit-function-declaration] util/getroot.c: At top level: util/getroot.c:2392:1: error: unknown type name 'libzfs_handle_t' util/getroot.c: In function 'grub_get_libzfs_handle': util/getroot.c:2397:7: warning: implicit declaration of function 'libzfs_init' [-Wimplicit-function-declaration] util/getroot.c:2397:23: warning: assignment makes pointer from integer without a cast [enabled by default] I have the libzfs headers in /usr/include/libzfs, which is where the ZFS on Linux build system puts them. My best guess is that it isn't finding libzfs.h, but I haven't really dug in. --------------enigF611164EB8B3D3CC4118EC63 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) iF4EAREIAAYFAk8tmRMACgkQC77qH+pIQ6SF8AD/e9rq7kBA3dSsp0iKDnYkeZgD vYBKgVLOu2t9lkJw2nABAJ8I27Fzp+yIwu6Uv+VSNxLHE5PmCcSDAkVGAgr0JPQ1 =4o+Q -----END PGP SIGNATURE----- --------------enigF611164EB8B3D3CC4118EC63--