Source upgrade 10.3 -> 11.0 fails during installworld

Odhiambo Washington odhiambo at gmail.com
Wed Jan 4 19:50:46 UTC 2017


I have followed the following steps in an attempt to upgrade a 10.3-STABLE
machine to 11.0.

1. cd /usr
2. mv src src-10.3
3. svn co svn://svn0.us-east.FreeBSD.org/base/stable/11 /usr/src
4. cd /usr/src
5. make buildworld
6. make buildkernel KERNCONF=mykernel&& make install kernel
KERNCONF=mykernel
7. shutdown -r now
8. make installworld

So make installworld fails as follows:

--------------------------------------------------------------
>>> Installing everything
--------------------------------------------------------------
cd /usr/src; /usr/obj/usr/src/make.amd64/bmake -f Makefile.inc1 install
===> lib (install)
===> lib/csu (install)
===> lib/csu/amd64 (install)
cc  -O2 -pipe -I/usr/src/lib/csu/amd64/../common
 -I/usr/src/lib/csu/amd64/../../libc/include -fno-omit-frame-pointer
 -std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
 -Qunused-arguments  ERROR-tried-to-rebuild-during-make-install -S -o
crt1.s /usr/src/lib/csu/amd64/crt1.c
cc: error: no such file or directory:
'ERROR-tried-to-rebuild-during-make-install'
*** Error code 1

Stop.
bmake[6]: stopped in /usr/src/lib/csu/amd64
*** Error code 1

Stop.
bmake[5]: stopped in /usr/src/lib/csu
*** Error code 1

Stop.
bmake[4]: stopped in /usr/src/lib
*** Error code 1

Stop.
bmake[3]: stopped in /usr/src
*** Error code 1

Stop.
bmake[2]: stopped in /usr/src
*** Error code 1

Stop.
bmake[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src






-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


More information about the freebsd-questions mailing list