From owner-freebsd-stable@FreeBSD.ORG Mon Jun 8 11:28:32 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790C1106564A for ; Mon, 8 Jun 2009 11:28:32 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.94]) by mx1.freebsd.org (Postfix) with ESMTP id 12FFD8FC1A for ; Mon, 8 Jun 2009 11:28:31 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2702.orange.fr (SMTP Server) with ESMTP id E7A741C000AD; Mon, 8 Jun 2009 13:28:30 +0200 (CEST) Received: from localhost (AToulouse-156-1-56-115.w90-16.abo.wanadoo.fr [90.16.87.115]) by mwinf2702.orange.fr (SMTP Server) with ESMTP id 039701C000A4; Mon, 8 Jun 2009 13:28:29 +0200 (CEST) X-ME-UUID: 20090608112830148.039701C000A4@mwinf2702.orange.fr Message-ID: <4A2CF5DC.8020102@orange.fr> Date: Mon, 08 Jun 2009 13:28:28 +0200 From: Claude Buisson User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Willem Jan Withagen References: <4A29011B.9040803@withagen.nl> <200906050946.59547.kirk@strauser.com> <4A2BEF7D.5070808@withagen.nl> <4A2CEA86.9040509@digiware.nl> In-Reply-To: <4A2CEA86.9040509@digiware.nl> Content-Type: multipart/mixed; boundary="------------030609080002000609020706" Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: ZFS isntall requirements X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 11:28:32 -0000 This is a multi-part message in MIME format. --------------030609080002000609020706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Willem Jan Withagen wrote: > > Dmitry Morozovsky wrote: >> On Sun, 7 Jun 2009, Willem Jan Withagen wrote: >> >> WJW> > KS> On Friday 05 June 2009 06:27:23 am Willem Jan Withagen wrote: >> WJW> > KS> > Hi, >> WJW> > KS> > >> WJW> > KS> > I'm trying to get my world to 7.2-stable(amd64),but run >> into: >> WJW> > KS> > install -o root -g wheel -m 444 kgzldr.o /usr/lib >> WJW> > KS> > ===> sys/boot/i386/libi386 (install) >> WJW> > KS> > ===> sys/boot/i386/libfirewire (install) >> WJW> > KS> > ===> sys/boot/i386/loader (install) >> WJW> > KS> > make: don't know how to make >> WJW> > KS> > /usr/obj/mnt4/usr/src7/src/tmp/usr/lib/libzfs.a. Stop >> WJW> > KS> KS> ISTR that the build was temporarily broken several days >> ago. >> WJW> > WJW> > WJW> > Well, according to http://tinderbox.freebsd.org/ >> it does not ;) >> WJW> WJW> I'm not at all familiar with the intrinsics of the tinderbox >> setup. >> WJW> But am I free to assume that it is not tested with >> 'WITHOUT_ZFS=yes'??? >> WJW> WJW> Because that is required to have the trouble surface. >> >> Ah well, you're possibly right. In the interim, you can safely >> comment this line out, as there's nothing (except small amount of disk >> space) you lose when you compile ZFS but do not use it. > > I was trying to figure out if it was pilot error, or a bug. > But now I conclude it is a bug. > > Should I log a PR? > > --WjW > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freeb, which is invalisd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > This bug exists from some time and has already be discussed on this list. The bug stems from the use of the LIBZFS variable in sys/boot/i386/loader/Makefile: it is not defined in this Makefile if LOADER_ZFS_SUPPORT is not defined, so its value is taken from share/mk/bsd.libnames.mk which is invalid in the WITHOUT_CDDL/WITHOUT_ZFS case. Kip Macy said he would try to fix it by (last) Wednesday. He made a patch, then reverted it (see the svn history). You may use the attached simple patch. Hope it helps, Claude Buisson --------------030609080002000609020706 Content-Type: text/plain; name="patch-boot_i386_loader_Makefile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-boot_i386_loader_Makefile" --- sys/boot/i386/loader/Makefile.orig 2009-05-24 18:32:41.000000000 +0200 +++ sys/boot/i386/loader/Makefile 2009-06-01 15:18:57.000000000 +0200 @@ -18,7 +18,7 @@ # Put LOADER_ZFS_SUPPORT=yes in /etc/make.conf for ZFS support .if defined(LOADER_ZFS_SUPPORT) CFLAGS+= -DLOADER_ZFS_SUPPORT -LIBZFS= ${.OBJDIR}/../../zfs/libzfsboot.a +LIBZFSBOOT= ${.OBJDIR}/../../zfs/libzfsboot.a .endif # Enable PXE TFTP or NFS support, not both. @@ -105,8 +105,8 @@ # XXX crt0.o needs to be first for pxeboot(8) to work OBJS= ${BTXCRT} -DPADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} ${LIBSTAND} -LDADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} -lstand +DPADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFSBOOT} ${LIBI386} ${LIBSTAND} +LDADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFSBOOT} ${LIBI386} -lstand .include --------------030609080002000609020706--