Date: Mon, 08 Jun 2009 13:28:28 +0200 From: Claude Buisson <clbuisson@orange.fr> To: Willem Jan Withagen <wjw@digiware.nl> Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky <marck@rinet.ru> Subject: Re: ZFS isntall requirements Message-ID: <4A2CF5DC.8020102@orange.fr> In-Reply-To: <4A2CEA86.9040509@digiware.nl> References: <4A29011B.9040803@withagen.nl> <200906050946.59547.kirk@strauser.com> <alpine.BSF.2.00.0906062245260.14324@woozle.rinet.ru> <4A2BEF7D.5070808@withagen.nl> <alpine.BSF.2.00.0906080233240.34418@woozle.rinet.ru> <4A2CEA86.9040509@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.prog.mk> --------------030609080002000609020706--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2CF5DC.8020102>