Date: Tue, 24 Aug 2004 11:40:03 +0400 (MSD) From: Maxim Konovalov <maxim@macomnet.ru> To: Ruslan Ermilov <ru@freebsd.org> Cc: current@freebsd.org Subject: Re: buildworld problems when DESTDIR is specified? Message-ID: <20040824113430.F50603@mp2.macomnet.net> In-Reply-To: <20040824070215.GH35016@ip.net.ua> References: <1093304541.732.53.camel@einstein.local.nfy> <20040824070215.GH35016@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Aug 2004, 10:02+0300, Ruslan Ermilov wrote: > On Mon, Aug 23, 2004 at 04:42:22PM -0700, Mayo Jordanov wrote: > > Hello, > > > > I'm trying to buildworld with today's (Monday) RELENG_5 (cvsupped > > sometime in the morning (also tried with one from sat/sun). > > > > When I just run make buildworld, it builds everything just fine, however > > it fails when DESTDIR is specified (for both, buildworld and > > installworld). The error occurs in stage 1.2, in gnu/usr.bin/gperf/doc. > > > > Whole stage 1.2 section is attached below. > > > > Can someone give me any pointers? > > > Yes. DON'T DO THAT: do not specify DESTDIR as a command-line variable > to make(1) when doing a buildworld. Do a normal "make buildworld", > then do a "make installworld" specifying the DESTDIR. > > P.S. I know "make world DESTDIR=/foo" is broken at the moment due to > this. It seems we need to fix the warning for 'make world'. Now it suggests to define DESTDIR but not clear how to do that: : Define DESTDIR to where you want to install FreeBSD, : including /, to override this warning and proceed as usual. Moreover, a couple of days ago I was helping to a friend of mine to fix a problem with a broken build world, he had 'DESTDIR=/' in /etc/make.conf and 'make world' always failed for him. -- Maxim Konovalov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824113430.F50603>