From owner-freebsd-current@FreeBSD.ORG Mon Apr 29 06:19:51 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8CB336E7 for ; Mon, 29 Apr 2013 06:19:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE761849 for ; Mon, 29 Apr 2013 06:19:50 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.6/8.14.6) with ESMTP id r3T6JfeD006126; Mon, 29 Apr 2013 10:19:41 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.6/8.14.6/Submit) id r3T6JfFm006125; Mon, 29 Apr 2013 10:19:41 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 29 Apr 2013 10:19:41 +0400 From: Gleb Smirnoff To: Eir Nym Subject: Re: Installing new world failed (install -l) Message-ID: <20130429061941.GF76816@glebius.int.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r 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: Mon, 29 Apr 2013 06:19:51 -0000 On Sun, Apr 28, 2013 at 11:36:20PM +0400, Eir Nym wrote: E> Since -l switch introduced into install(8), I can't build new FreeBSD E> box at all. E> E> I do following command set to build new box: (http://eroese.org/mkw.sh) E> 1) cd /usr/head/src && svn up E> 2) make buildworld E> 3) make DESTDIR=/path/to/directory hierarchy distrib-dirs distribution E> installworld E> E> This worked for long time but after some point it had been broken. I E> found only 20130425 in UPDATING about this, but installing mergemaster E> gives nothing, obviously. E> I can't compile new install(8) since I have old system like E> FreeBSD-9-RELEASE (FreeBSD-CURRENT, r226748) and it doesn't have E> needed functions. E> E> The tail of install log is below. E> E> .. (lines removed) E> mtree -deU -f /usr/head/src/etc/mtree/BSD.sendmail.dist -p E> /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/ E> ./var/spool/clientmqueue missing (created) E> install -l s usr/src/sys /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/sys E> install: illegal option -- l E> usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] E> [-o owner] file1 file2 E> install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] E> [-o owner] file1 ... fileN directory E> install -d [-v] [-g group] [-m mode] [-o owner] directory ... E> *** [distrib-dirs] Error code 64 I came to the following recipe when upgrading from a stale current to a modern one. This workarounds problem with install(1) and failure of clang bootstrap with old time.h in /usr/include. cd usr.bin/xinstall make && make install && make clean cd - make hierarchy make includes Now, make buildworld is possible. -- Totus tuus, Glebius.