From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 07:40:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0C5A16A4CE; Tue, 24 Aug 2004 07:40:05 +0000 (GMT) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC5D43D46; Tue, 24 Aug 2004 07:40:05 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received-SPF: pass (mp2.macomnet.net: domain of maxim@macomnet.ru designates 127.0.0.1 as permitted sender) receiver=mp2.macomnet.net; client_ip=127.0.0.1; envelope-from=maxim@macomnet.ru; Received: from localhost (duazrlz9@localhost [127.0.0.1]) by mp2.macomnet.net (8.12.11/8.12.11) with ESMTP id i7O7e3El050664; Tue, 24 Aug 2004 11:40:03 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Tue, 24 Aug 2004 11:40:03 +0400 (MSD) From: Maxim Konovalov To: Ruslan Ermilov In-Reply-To: <20040824070215.GH35016@ip.net.ua> Message-ID: <20040824113430.F50603@mp2.macomnet.net> References: <1093304541.732.53.camel@einstein.local.nfy> <20040824070215.GH35016@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Mayo Jordanov cc: current@freebsd.org Subject: Re: buildworld problems when DESTDIR is specified? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 07:40:06 -0000 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