From owner-freebsd-questions@FreeBSD.ORG Tue Nov 9 08:16:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B9D016A4CE for ; Tue, 9 Nov 2004 08:16:15 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ADEA43D58 for ; Tue, 9 Nov 2004 08:15:09 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a144.otenet.gr [212.205.215.144]) iA98F4QC009324; Tue, 9 Nov 2004 10:15:06 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id iA8MqKCi001353; Tue, 9 Nov 2004 00:52:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id iA8MqKsm001352; Tue, 9 Nov 2004 00:52:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 9 Nov 2004 00:52:19 +0200 From: Giorgos Keramidas To: "Chad Leigh -- Shire.Net LLC" Message-ID: <20041108225219.GB774@gothmog.gr> References: <8EA27754-31A7-11D9-BFDF-003065A70D30@shire.net> <20041108171107.GA32321@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-questions@freebsd.org Subject: Re: make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 08:16:15 -0000 On 2004-11-08 15:08, "Chad Leigh -- Shire.Net LLC" wrote: > On Nov 8, 2004, at 10:11 AM, Giorgos Keramidas wrote: > >I haven't tried "make world" in a long time, but I recently installed a > >clean snapshot of CURRENT using a slightly different approach: > > > > # cd /usr/src > > # make buildworld buildkernel > > # make DESTDIR=/mnt installkernel installworld > > Unfortunately, I still get an error. A different one. I can do it > without DESTDIR= and update my actual system, but to make a jail, > which requires DESTDIR, I get this error (when splitting up buildworld > and installworld DESTDIR=) Ah, sorry about that. My fault for not mentioning all the details. I did use the above sequence of commands, but only after recreating the entire directory structure with mtree(8), i.e.: # cd /mnt # mtree -deU -f /etc/mtree/BSD.root.dist # mtree -deU -f /etc/mtree/BSD.sendmail.dist # cd /mnt/var # mtree -deU -f /etc/mtree/BSD.var.dist # cd /mnt/usr # mtree -deU -f /etc/mtree/BSD.usr.dist # cd /mnt/usr/include # mtree -deU -f /etc/mtree/BSD.include.dist # cd /mnt/usr/local # mtree -deU -f /etc/mtree/BSD.local.dist The error you see below is probably a result of the failure to locate a ${DESTDIR}/usr/include/bluetooth directory. > hostname# make buildworld > [--- stuff ---] > hostname# make installworld DESTDIR=/local/jails/master > [--- stuff ---] > cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 > ufs/ffs/*.h /local/jails/master/usr/include/ufs/ffs > cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 > ufs/ufs/*.h /local/jails/master/usr/include/ufs/ufs > cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 > netgraph/bluetooth/include/*.h > /local/jails/master/usr/include/netgraph/bluetooth/include > install: > /local/jails/master/usr/include/netgraph/bluetooth/include/ > ng_bluetooth.h: No such file or directory > *** Error code 71