I've decided to update my 8.1-STABLE to 9-STABLE. I'm using cvsup method for upgrade for some years now, never had any major problem.
But I hit a problem today I can't solve right now.
First, my setup:
And used the standard approach:
So far, so good - everything was built OK. But buildkernel fails with an error:
I've checked /usr/src/UPDATING, checked release notes .. it seems I'm missing something ..
But I hit a problem today I can't solve right now.
First, my setup:
# grep -vE '^#|^$' /etc/make.conf
Code:
USA_RESIDENT=true
DOC_LANG=en_US.ISO8859-1
LOADER_TFTP_SUPPORT=YES
PERL_VERSION=5.10.1
# grep -vE '^#|^$' ~/fbsd/supfile
Code:
*default tag=RELENG_9
*default host=cvsup.cz.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress
src-all
And used the standard approach:
# cvsup ~/fbsd/supfile
# cd /usr/src && make buildworld
So far, so good - everything was built OK. But buildkernel fails with an error:
# make buildkernel
Code:
--< snip >--
--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/GENERIC; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original /usr/obj/usr/src/sys/GENERIC
yacc -b aicasm_gram -d -o aicasm_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
--< snip >--
d-parameter -Wcast-align -Wno-pointer-sign -c aicasm_scan.c
cc1: warnings being treated as errors
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:837: warning: function declaration isn't a prototype
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
#
I've checked /usr/src/UPDATING, checked release notes .. it seems I'm missing something ..