Subject: Going from 1.2 to -current (was: 4/110 boot problems...)
To: None <current-users@NetBSD.ORG>
From: Rob Windsor <windsor@warthog.com>
List: current-users
Date: 09/26/1997 09:24:24
This was something that I started on port-sparc, I'm going to move it offline
to current-users.  Please don't followup to this to port-sparc.

The order:
# back up /usr/share/mk/* first, unless you don't care about the old mk files
(cd /usr/src/share/mk && cp bsd.* sys.mk /usr/share/mk)
(cd /usr/src && make includes)
(cd /usr/src/usr.bin/make && make depend && make && make install)
(cd /usr/src/usr.bin/yacc && make depend && make && make install)
# if building with src/domestic
#    (cd /usr/src/domestic/usr.bin/make_cmds \ 
#     && make depend && make && make install)
#    (cd /usr/src/domestic/usr.bin/compile_et \
#     && make depend && make && make install)
# fi
(cd /usr/src && make build)


When you use a -current make(1) with a 1.2.x libc, it complains about libc
being an older rev than it was expecting, but still performs enough to
rebuild make.

Also, a -current kernel doesn't like the old mount_mfs, which isn't a
big deal, your compiles just uses ffs instead of mfs for temp space
until you get your userland rebuilt.

If you see the following while building src/bin/sh/*...

cc1: warnings being treated as errors
y.tab.c:395: warning: function declaration isn't a prototype
y.tab.c: In function `yyparse':
y.tab.c:497: warning: label `yyerrlab' defined but not used
y.tab.c:492: warning: label `yynewerror' defined but not used
arith.c: At top level:
arith.c:5: warning: `yyrcsid' defined but not used
*** Error code 1

You need to (re)build yacc.

-- Rob
----------------------------------------
Internet: windsor@warthog.com
Life: Rob@Carrollton.Texas.USA.Earth

The weather is here, wish you were beautiful.