Re: Failure in installworld with new 6.x-branch

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Tue, 19 Jul 2005 01:47:03 +0300
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.
> 
> buildworld, buildkernel, and installkernel went fine.  After I
> rebooted into single-user mode, the installworld failed early, at:
> 
> --------------------------------------------------------------
> >>> Installing everything
> --------------------------------------------------------------
> cd /usr/src; /usr/bin/make -f Makefile.inc1 install
> ===> share/info (install)
> ===> include (install)
> creating osreldate.h from newvers.sh
> touch: not found
> *** Error code 127
> 
> The quick-fix that I did was to add 'touch' to the rule in
> /usr/src/Makefile.inc1 which does:
> 
> 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
> 
> The installworld worked after that.  The 'touch' that installworld
> tripped over seems to be the one in  /usr/src/sys/conf/newvers.sh
> 
> 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.
> 
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,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Mon Jul 18 2005 - 20:47:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC