From owner-freebsd-current@FreeBSD.ORG Tue Apr 30 19:13:28 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 842C652E for ; Tue, 30 Apr 2013 19:13:28 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id C569C1452 for ; Tue, 30 Apr 2013 19:13:27 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r3UJDQM0036135; Tue, 30 Apr 2013 14:13:26 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r3UJDQUs036134; Tue, 30 Apr 2013 14:13:26 -0500 (CDT) (envelope-from brooks) Date: Tue, 30 Apr 2013 14:13:26 -0500 From: Brooks Davis To: Eir Nym Subject: Re: Installing new world failed (install -l) Message-ID: <20130430191325.GE19259@lor.one-eyed-alien.net> References: <20130429152546.GI50623@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vv4Sf/kQfcwinyKX" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Apr 2013 19:13:28 -0000 --vv4Sf/kQfcwinyKX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2013 at 10:17:09PM +0400, Eir Nym wrote: > -- Eir Nym >=20 >=20 > On 29 April 2013 19:25, Brooks Davis wrote: > > On Sun, Apr 28, 2013 at 11:36:20PM +0400, Eir Nym wrote: > >> Since -l switch introduced into install(8), I can't build new FreeBSD > >> box at all. > >> > >> I do following command set to build new box: (http://eroese.org/mkw.sh) > >> 1) cd /usr/head/src && svn up > >> 2) make buildworld > >> 3) make DESTDIR=3D/path/to/directory hierarchy distrib-dirs distributi= on > >> installworld > > > > heriarchy and distrib-dirs are both pointless here AFACT. > > > >> > >> This worked for long time but after some point it had been broken. I > >> found only 20130425 in UPDATING about this, but installing mergemaster > >> gives nothing, obviously. > >> I can't compile new install(8) since I have old system like > >> FreeBSD-9-RELEASE (FreeBSD-CURRENT, r226748) and it doesn't have > >> needed functions. > >> > >> The tail of install log is below. > >> > >> .. (lines removed) > >> mtree -deU -f /usr/head/src/etc/mtree/BSD.sendmail.dist -p > >> /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/ > >> ./var/spool/clientmqueue missing (created) > >> install -l s usr/src/sys /usr/home/root/logs/2013-04-28/16.18.03/distr= o.i386/sys > >> install: illegal option -- l > >> usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > >> [-o owner] file1 file2 > >> install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > >> [-o owner] file1 ... fileN directory > >> install -d [-v] [-g group] [-m mode] [-o owner] directory ... > >> *** [distrib-dirs] Error code 64 > > > > Are you setting INSTALL=3D in make.conf, src.conf, etc? > > > > -- Brooks >=20 > I don't set this option at all. > As far as I know I should not set it setting and I've tested with > clean environment (like __MAKE_CONF=3D/dev/null & SRCCONF=3D/dev/null). > The PATH should be different for cross-platform build as I do. > the correct install path is > ${MAKEOBJDIRPREFIX}/i386.i386/usr/head/src/tmp/legacy/usr/bin/install That's not the problem. I belive that the problem is that the hierarchy target is broken when called directly. As I mention above, it's also pointless. Just use installworld before distribution so installworld creates all the required directories rather than pre-creating them with hierarchy and distrib-dirs. -- Brooks --vv4Sf/kQfcwinyKX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFRgBfVXY6L6fI4GtQRAjdkAJ4rl1mruRyPOmcmO7ssgYYtF/ybIACglK47 d1iDxSg5hRtvz7qJyRPJELU= =843J -----END PGP SIGNATURE----- --vv4Sf/kQfcwinyKX--