Date: Wed, 24 Sep 2008 02:14:01 +0800 From: Eugene Grosbein <eugen@grosbein.pp.ru> To: stable@freebsd.org Subject: Re: RELENG_7: buildworld failed with MODULES_WITH_WORLD= Message-ID: <20080923181401.GA59382@svzserv.kemerovo.su> In-Reply-To: <20080923172718.GA86225@grosbein.pp.ru> References: <20080923172718.GA86225@grosbein.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 24, 2008 at 01:27:18AM +0800, Eugene Grosbein wrote: > I've just tried to build NanoBSD from 7.0-STABLE sources > with MODULES_WITH_WORLD knob enabled and it failed. > Note that NanoBSD uses make -j3 by default and I have dualcore system. > > ===> sys/modules/nfslockd (depend) > @ -> /usr/local/src/sys > machine -> /usr/local/src/sys/i386/include > echo "#define INET6 1" > opt_inet6.h > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ > -I@/contrib/altq /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_advlock.c > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_prot_clnt.c > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_prot_server.c > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_prot_svc.c > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_prot_xdr.c > /usr/local/src/sys/modules/nfslockd/../../nlm/sm_inter_xdr.c > In file included from > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_advlock.c:48: > @/nfsclient/nfs.h:40:21: error: opt_nfs.h: No such file or directory > In file included from > /usr/local/src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c:56: > @/nfsclient/nfs.h:40:21: error: opt_nfs.h: No such file or directory > mkdep: compile failed > *** Error code 1 This is easily repeatable without involving NanoBSD stuff, just with 'cd /usr/src; make -j3 MODULES_WITH_WORLD=yes buildworld'. I think this patch should be applied, at least it works for me: --- sys/modules/nfslockd/Makefile.orig 2008-08-09 16:07:45.000000000 +0800 +++ sys/modules/nfslockd/Makefile 2008-09-24 02:02:23.000000000 +0800 @@ -10,7 +10,7 @@ nlm_prot_svc.c \ nlm_prot_xdr.c \ sm_inter_xdr.c -SRCS+= opt_inet6.h +SRCS+= opt_inet6.h opt_nfs.h .if !defined(KERNBUILDDIR) NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel @@ -19,6 +19,9 @@ opt_inet6.h: echo "#define INET6 1" > ${.TARGET} .endif + +opt_nfs.h: + echo -n > ${.TARGET} .endif .include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080923181401.GA59382>