Date: Tue, 23 Sep 2008 22:09:08 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Eugene Grosbein <eugen@grosbein.pp.ru> Cc: stable@freebsd.org, ps@freebsd.org Subject: Re: RELENG_7: buildworld failed with MODULES_WITH_WORLD= Message-ID: <20080923190908.GY47828@deviant.kiev.zoral.com.ua> In-Reply-To: <20080923181401.GA59382@svzserv.kemerovo.su> References: <20080923172718.GA86225@grosbein.pp.ru> <20080923181401.GA59382@svzserv.kemerovo.su>
next in thread | previous in thread | raw e-mail | index | archive | help
--kUoBhQsr7LsiFken Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 24, 2008 at 02:14:01AM +0800, Eugene Grosbein wrote: > On Wed, Sep 24, 2008 at 01:27:18AM +0800, Eugene Grosbein wrote: >=20 > > 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. > >=20 > > =3D=3D=3D> 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_advl= ock.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 >=20 > This is easily repeatable without involving NanoBSD stuff, > just with 'cd /usr/src; make -j3 MODULES_WITH_WORLD=3Dyes buildworld'. >=20 > I think this patch should be applied, at least it works for me: >=20 > --- 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+=3D opt_inet6.h > +SRCS+=3D opt_inet6.h opt_nfs.h > =20 > .if !defined(KERNBUILDDIR) > NFS_INET6?=3D 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 > =20 > .include <bsd.kmod.mk> First chunk of your patch was already committed by Paul Saab as r181040. You may ask him to do MFC and merge second chunk, if needed. --kUoBhQsr7LsiFken Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkjZPtIACgkQC3+MBN1Mb4jWzgCglgNY39Fu7AA/INe6NS5t6zfV EIEAoK0J0SQYcF55C46B0rH3HLmioewP =JNeg -----END PGP SIGNATURE----- --kUoBhQsr7LsiFken--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080923190908.GY47828>