From owner-freebsd-current@FreeBSD.ORG Sun May 5 18:21:01 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 27F582F6; Sun, 5 May 2013 18:21:01 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx1.freebsd.org (Postfix) with ESMTP id 02C3686D; Sun, 5 May 2013 18:21:00 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id 14so1659028pdc.0 for ; Sun, 05 May 2013 11:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=BNRHDREh0YGkx6V+PoJA0BWIvnhAVsKCM6qGrPU0iwo=; b=xSh6CeKOYsiZS7K6wl8Bc9SE5EWlaxP83CRo3x1xlT8aRTV/WCIqIvOw5/bXi/h7mL R9iM9zcoQELSqZa5sWsjAgJ6BbY1FzMyoklujaq6r0YH3pHhoA5dEOyPn3FnXYjB0sKp LTDZ+yCmvgG8oC3oXKx0hVeI/t1iSYfeT/cIn661wWhz1zvlRKx19wieYa4SydAYN+VI +EJo6vsg8QXgD+R8WyC40HyUVJoZFpKJ6NNEUCQAW0HoPDnzh/Z0Q40UqvfJaIfgK1Xd uwsbZJzKrGmFc4yAbziJZ9crslZqdFFuXsrZE/CCdhj2swmLX4oNx3Gzx0a0myq4sBt4 dW7g== X-Received: by 10.68.129.10 with SMTP id ns10mr21137993pbb.13.1367778060432; Sun, 05 May 2013 11:21:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.156.163 with HTTP; Sun, 5 May 2013 11:20:39 -0700 (PDT) In-Reply-To: <20130430191325.GE19259@lor.one-eyed-alien.net> References: <20130429152546.GI50623@lor.one-eyed-alien.net> <20130430191325.GE19259@lor.one-eyed-alien.net> From: Eir Nym Date: Sun, 5 May 2013 22:20:39 +0400 Message-ID: Subject: Re: Installing new world failed (install -l) To: Brooks Davis Content-Type: text/plain; charset=UTF-8 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: Sun, 05 May 2013 18:21:01 -0000 Hack INSTALL=/usr/obj/${TARGET}.${TARGET_ARCH}${SRC_PATH}/tmp/legacy/usr/bin/install is working, but this conversation will become PR. -- Eir Nym On 30 April 2013 23:13, Brooks Davis wrote: > On Tue, Apr 30, 2013 at 10:17:09PM +0400, Eir Nym wrote: >> -- Eir Nym >> >> >> 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=/path/to/directory hierarchy distrib-dirs distribution >> >> 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/distro.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= in make.conf, src.conf, etc? >> > >> > -- Brooks >> >> 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=/dev/null & SRCCONF=/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