Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 22:17:09 +0400
From:      Eir Nym <eirnym@gmail.com>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Installing new world failed (install -l)
Message-ID:  <CAO8GK0pcSu-eVhuN4spUBkV6FjgqSfinr28Rw0ZnVDHE89-1NA@mail.gmail.com>
In-Reply-To: <20130429152546.GI50623@lor.one-eyed-alien.net>
References:  <CAO8GK0ox-VHCoP9%2BJhc0twOPVFLAXwaOH-_onhs=m%2BrOwWDTNQ@mail.gmail.com> <20130429152546.GI50623@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-- Eir Nym


On 29 April 2013 19:25, Brooks Davis <brooks@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO8GK0pcSu-eVhuN4spUBkV6FjgqSfinr28Rw0ZnVDHE89-1NA>