Hi, I am trying to upgrade an old laptop with 5.2.1 to -STABLE 5.3. As always I mounted /usr/src and /usr/obj via NFS to the laptop, but when I try to make installworld in /usr/ src, I got: ntbk@/usr/src # make installworld mkdir -p /tmp/install.gS2oCXSs for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.gS2oCXSs; done +cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac PATH=/usr/obj/usr/ src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/ usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/ i386/usr/games:/tmp/install.gS2oCXSs make -f Makefile.inc1 reinstall *** Error code 127 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I found this: http://lists.freebsd.org/pipermail/freebsd-current/2004-October/040448.html but it doesn't seem to help. The buildworld I try to install is the same one I previously installed on the machine that built it, and it went fine. I was able to partially installkernel. Partially since it break at modules with "+for: not found". I made the modules install step by step by hand. ntbk@/usr/src # make -V MAKEOBJDIRPREFIX /usr/obj desk@/usr/src # cat /etc/exports /usr/obj /usr/src /usr/ports -ro -network 192.168.0.0 -mask 255.255.255.0 ntbk@/usr/src # mount | grep nfs desk:/usr/src on /usr/src (nfs, read-only) desk:/usr/obj on /usr/obj (nfs, read-only) ntbk@/usr/src # uname -srp FreeBSD 5.2.1-RELEASE-p4 i386 desk@/usr/src # uname -srp FreeBSD 5.3-STABLE i386 desk@/usr/src # head /etc/make.conf CFLAGS= -O -pipe PAPERSIZE= A4 A4= yes X_WINDOW_SYSTEM=xorg KERNCONF= SMYRU USA_RESIDENT= yes NOUUCP= true NOINFO= true NOPERL= true NOINFO= true NOINET6= true NOPROFILE= true # NO_PF= true # NO_CVS= true NO_I4B= true NO_LPR= true NO_BIND= true NO_VINUM= true NO_AUTHPF= true NO_FORTRAN= true NO_IPFILTER= true NO_KERBEROS= true NO_SENDMAIL= true NO_SHAREDOCS= true NO_BLUETOOTH= true ntbk@/usr/src # head /etc/make.conf CFLAGS= -O -pipe PAPERSIZE= A4 A4= yes X_WINDOW_SYSTEM=xfree86 KERNCONF= NTBK USA_RESIDENT= true NOUUCP= true NOINFO= true NOPERL= true NOINET6= true # NOGAMES= true NOPROFILE= true # NO_CVS= true # NO_PF= true NO_I4B= true NO_LPR= true NO_BIND= true NO_VINUM= true NO_AUTHPF= true NO_FORTRAN= true NO_IPFILTER= true NO_KERBEROS= true NO_SENDMAIL= true NO_SHAREDOCS= true NO_BLUETOOTH= true I am out of ideas. Any help appreciated. Let me know if I should provide you with more information on the system. TIA, -- Piotr Smyrak piotr.smyrak@heron.pl
On Tue, 23 Nov 2004 piotr.smyrak@heron.pl wrote:> Hi, > > I am trying to upgrade an old laptop with 5.2.1 to -STABLE 5.3. As always I mounted > /usr/src and /usr/obj via NFS to the laptop, but when I try to make installworld in /usr/ > src, I got: > > ntbk@/usr/src # make installworld > mkdir -p /tmp/install.gS2oCXSs > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln > make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp > `which $prog` /tmp/install.gS2oCXSs; done > +cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 > MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac PATH=/usr/obj/usr/ > src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/ > usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/ > i386/usr/games:/tmp/install.gS2oCXSs make -f Makefile.inc1 reinstall > *** Error code 127Error 127 = command not found Its not finding the bootstrapped make because the build and install environments don't match. You can try make ALWAYS_CHECK_MAKE=yes installworld to attempt to force a rebuild, but exporting /usr/obj read-only will probably cause that to fail immediately. ache will probably chime in here shortly to say that this is not a supported configuration (where the build and install target machines are not the same release level). -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
Joan Picanyol
2004-Dec-01 09:34 UTC
on supported builds and make errors (was: Re: cannot install -STABLE world on 5.2.1 via NFS)
* Doug White <dwhite@gumbysoft.com> [20041129 12:20]:> > Error 127 = command not foundWhere are all these defined? Can't find them in make(1) nor "Pmake - A Tutorial" nor /usr/share/mk/.> ache will probably chime in here shortly to say that this is not a > supported configuration (where the build and install target machines are > not the same release level).Is there a list of (un)supported configurations? What I gather is that one of the following must be true: 1.- build and install machines are the same release level (or I can somehow "cross-build" 4.8.p2 from 4-STABLE?) 2.- build and install machines are the same arch (or __MAKE_CONF can overcome this?) tks -- pica