Re: buildworld problems when DESTDIR is specified?

From: Maxim Konovalov <maxim_at_macomnet.ru>
Date: Tue, 24 Aug 2004 11:40:03 +0400 (MSD)
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
Received on Tue Aug 24 2004 - 05:40:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC