From owner-freebsd-current@FreeBSD.ORG Tue Jul 5 23:47:55 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 B1E3E16A41C for ; Tue, 5 Jul 2005 23:47:55 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 422CA43D45; Tue, 5 Jul 2005 23:47:55 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id B2E78C004; Wed, 6 Jul 2005 01:47:53 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 36069405B; Wed, 6 Jul 2005 01:47:58 +0200 (CEST) Date: Wed, 6 Jul 2005 01:47:58 +0200 From: Jeremie Le Hen To: Peter Losher Message-ID: <20050705234758.GR73907@obiwan.tataz.chchile.org> References: <200507031439.48288.Peter_Losher@isc.org> <20050705095859.GO73907@obiwan.tataz.chchile.org> <200507051106.49609.Peter_Losher@isc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507051106.49609.Peter_Losher@isc.org> User-Agent: Mutt/1.5.9i Cc: Doug Barton , freebsd-current@freebsd.org, Jeremie Le Hen Subject: Re: install erroring out durning mergemaster... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 05 Jul 2005 23:47:55 -0000 Hi Peter, Hi Doug, > -=- > cd /usr/src/etc/root; install -o root -g wheel -m 644 > dot.cshrc /var/tmp/temproot/root/.cshrc; install -o root -g wheel -m 644 > dot.login /var/tmp/temproot/root/.login; install -o root -g wheel -m 644 > dot.profile /var/tmp/temproot/root/.profile; rm > -f /var/tmp/temproot/.cshrc /var/tmp/temproot/.profile; > ln /var/tmp/temproot/root/.cshrc /var/tmp/temproot/.cshrc; > ln /var/tmp/temproot/root/.profile /var/tmp/temproot/.profile > cd /usr/src/etc/mtree; install -o root -g wheel -m 444 BSD.include.dist > BSD.local.dist BSD.root.dist BSD.usr.dist BSD.var.dist BSD.x11.dist > BSD.x11-4.dist BIND.chroot.dist /var/tmp/temproot/etc/mtree > cd /usr/src/etc/namedb; install -o root -g wheel -m 644 PROTO.localhost.rev > PROTO.localhost-v6.rev named.conf named.root > make-localhost /var/tmp/temproot/var/named/etc/namedb > install: wrong number or types of arguments > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > *** Error code 64 > > Stop in /usr/src/etc. > > *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to > the temproot environment > -=- > That sounds about right (I have NO_BIND_ETC=true defined in make.conf); any > workaround, since we really have no need to run the BIND9 release that comes > w/ 5.x ;), and a error like this makes NO_BIND or NO_BIND_ETC rather > useless. :( (if there isn't, I'll open a PR on it) Given the error you showed us, I would say you have NO_BIND_MTREE instead of NO_BIND_ETC in make.conf(5). This leads to not create /var/tmp/temproot/var/named/etc/namedb and then, it appears you do not have NO_BIND_ETC, because it tries to install files from src/etc/namedb (see src/etc/Makefile, distribution target). I don't know why this separation have been made. I would say that if someone don't want Bind configuration files installed, he doesn't want to run mtree for its chroot either. Conversely, if he doesn't want to run mtree for chroot'd Bind, he certainly doesn't want to install its configuration files. I dare to Cc Doug Barton to have an answer to this, since he is the author of these bits, IIRC. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >