The reason I needed to do a 'make buildworld' was to be able to install
cuse4bsd-kmod from ports. I was able to fix the problem below by using
'freebsd-update' instead and upgrade to 9.2. Hence no 'make
buildworld' was needed. It could be buildworld would work now but I
haven't tried.
On Mon, Dec 02, 2013 at 03:02:58PM -0800, Valeriu Mutu
wrote:> Hello,
>
> Running FreeBSD 9.1 host with a generic kernel and attempted a "make
buildworld" as described in the documentation. I've updated the kernel
source from svn.
>
> % uname -a
> FreeBSD decebal 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9
21:34:37 UTC 2013 root at
amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>
> "make buildworld" fails with the following message:
> # chflags -R noschg /usr/obj/usr
> # rm -rf /usr/obj/usr
> # cd /usr/src/
> # make cleandir ; make cleandir
> # make buildworld
> [...]
> cc -O2 -pipe -DVERSION='"9.9.3-P2"' -DHAVE_CONFIG_H
-D_REENTRANT -D_THREAD_SAFE -DWANT_IPV6 -DOPENSSL -DUSE_MD5
-DNS_LOCALSTATEDIR='"/var"'
-DNS_SYSCONFDIR='"/etc/namedb"'
-DNAMED_CONFFILE='"/etc/namedb/named.conf"'
-DRNDC_CONFFILE='"/etc/namedb/rndc.conf"'
-DRNDC_KEYFILE='"/etc/namedb/rndc.key"'
-I/usr/src/usr.sbin/named/../../lib/bind
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/bind9/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/dns/include/dst
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/dns/include
-I/usr/src/usr.sbin/named/../../lib/bind/dns
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isccc/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isccfg/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/unix/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/pthreads/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/include
-I/usr/src/usr.sbin/named/../../lib/bind/isc
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/lwres/unix/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/lwres/include
-I/usr/src/usr.sbin/named/../../lib/bind/lwres
-DCONFIGARGS="\"'--prefix=/usr'
'--infodir=/usr/share/info' '--mandir=/usr/share/man'
'--enable-threads' '--enable-getifaddrs'
'--disable-linux-caps' '--with-openssl=/usr'
'--with-randomdev=/dev/random' '--without-idn'
'--without-libxml2'\"" -DPRODUCT=\"BIND\"
-DDESCRIPTION=\""(Extended Support Version)"\"
-DSRCID=\"\"
-I/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/unix/include
-I/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/include
-I/usr/src/usr.sbin/named/../../lib/bind
-I/usr/src/usr.sbin/named/../../contrib/bind9/lib/isc/x86_32/include -U__DATE__
-std=gnu99 -fstack-protector -Wno-pointer-sign -c
/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c
> *** [query.o] Error code 1
>
> Stop in /usr/src/usr.sbin/named.
> *** [all] Error code 1
>
> Stop in /usr/src/usr.sbin.
> *** [usr.sbin.all__D] Error code 1
>
> Stop in /usr/src.
> *** [everything] Error code 1
>
> Stop in /usr/src.
> *** [buildworld] Error code 1
>
> Stop in /usr/src.
>
> Does anyone have an idea what I am doing wrong?
>
> Regards,
> --
> Valeriu Mutu
--
Valeriu Mutu