From owner-freebsd-current@FreeBSD.ORG Mon Jul 18 22:47:13 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 7F19B16A41C for ; Mon, 18 Jul 2005 22:47:13 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7D7843D46 for ; Mon, 18 Jul 2005 22:47:12 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j6IMlBHJ050642; Tue, 19 Jul 2005 01:47:11 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 93956-04; Tue, 19 Jul 2005 01:47:10 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j6IMlA79050639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jul 2005 01:47:10 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j6IMl3eg031181; Tue, 19 Jul 2005 01:47:03 +0300 (EEST) (envelope-from ru) Date: Tue, 19 Jul 2005 01:47:03 +0300 From: Ruslan Ermilov To: Garance A Drosihn Message-ID: <20050718224703.GC6039@ip.net.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0lnxQi9hkpPO77W3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-current@FreeBSD.org Subject: Re: Failure in installworld with new 6.x-branch 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: Mon, 18 Jul 2005 22:47:13 -0000 --0lnxQi9hkpPO77W3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 18, 2005 at 02:19:36AM -0400, Garance A Drosihn wrote: > I have a power-PC system which has been following HEAD, where > it has been running HEAD for awhile. Now that an official > 6.0-branch has been created, I moved aside /usr/src and checked > out a new src with -r RELENG_6. I copied over a few minor changes > (like the same kernel config I had been using), and started a > rebuild. >=20 > buildworld, buildkernel, and installkernel went fine. After I > rebooted into single-user mode, the installworld failed early, at: >=20 > -------------------------------------------------------------- > >>> Installing everything > -------------------------------------------------------------- > cd /usr/src; /usr/bin/make -f Makefile.inc1 install > =3D=3D=3D> share/info (install) > =3D=3D=3D> include (install) > creating osreldate.h from newvers.sh > touch: not found > *** Error code 127 >=20 > The quick-fix that I did was to add 'touch' to the rule in > /usr/src/Makefile.inc1 which does: >=20 > distributeworld installworld: installcheck > mkdir -p ${INSTALLTMP} > for prog in [ awk cap_mkdb cat chflags chmod chown \ > date echo egrep find grep install-info \ > ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl \ > test true uname wc zic; do \ > cp `which $$prog` ${INSTALLTMP}; \ > done >=20 > The installworld worked after that. The 'touch' that installworld > tripped over seems to be the one in /usr/src/sys/conf/newvers.sh >=20 > I was upgrading two machines in the same fashion (switching from > HEAD to RELENG_6) at about the same time. The i386 machine did not > get this error, but the ppc machine did. It is possible that I > forgot to do the 'make cleanworld' on the ppc machine. Everything > seems to be working okay on both machines, once I got past the > installworld issue and rebooted. >=20 Any chance the time was set incorrectly after booting into single-user mode, like running adjkerntz(8)? Anyway, this usually pops up on the mailing lists either due to time being set incorrectly, or other pilot errors. And no, touch isn't needed during the normal installworld, and we specifically limit a set of install tools to a minimum for reasons that are out of scope of this email (hint: to survive live upgrades). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --0lnxQi9hkpPO77W3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC3DFnqRfpzJluFF4RAivyAJ4mNXM0Z6AKYSbL+Ijbt2k7CZIstACfeTOS uEPmzyAeRbq/zGaf22xuBUE= =Tc8D -----END PGP SIGNATURE----- --0lnxQi9hkpPO77W3--