Date: Thu, 18 Jul 2002 16:30:05 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Kent Stewart <kstewart@owt.com> Cc: stable@FreeBSD.ORG Subject: Re: HEADS UP: share/mk stuff is being updated (was: Re: bsd.init.mk ?) Message-ID: <20020718133005.GA17957@sunbay.com> In-Reply-To: <3D36C194.2090607@owt.com> References: <1026974131.3d3661b3c9a1c@intranet.consol.de> <20020718115138.GB99249@sunbay.com> <3D36C194.2090607@owt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 18, 2002 at 06:24:36AM -0700, Kent Stewart wrote: >=20 >=20 > Ruslan Ermilov wrote: >=20 > >Hi! > > > >I am currently in the middle of the process of merging my half-a-year wo= rk > >on the share/mk stuff into RELENG_4. Below is the typical problem people > >have met with this, explanation of the problem, and a quick work-around > >for those who want it quickly. > > > >On Thu, Jul 18, 2002 at 08:35:31AM +0200, Thorsten.Greiner@consol.de wro= te: > > > >>Hello,=20 > >> > >>after cvsuping (just about now from cvsup3.de.freebsd.org) I'm having= =20 > >>problems during "make depend":=20 > >> > >>rm -f .newdep=20 > >>make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs mkdep -a -f=20 > >>.newdep -O -pipe -march=3Dpentiumpro -Wall -Wredundant-decls=20 > >>-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes=20 > >>-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi =20 > >>-nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter = =20 > >>-D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=3D2=20 > >>make -V SFILES -V SYSTEM_SFILES | xargs env MKDEP_CPP=3D"cc -E" mkdep = -a=20 > >>-f .newdep -x assembler-with-cpp -DLOCORE -O -pipe -march=3Dpentiumpro= =20 > >>-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =20 > >>-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =20 > >>-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include= =20 > >>-I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf =20 > >>-mpreferred-stack-boundary=3D2 rm -f .depend=20 > >>mv -f .newdep .depend=20 > >>cd ../../modules ; env=20 > >>MAKEOBJDIRPREFIX=3D/usr/src/sys/compile/TYBALT/modules=20 > >>MODULES_OVERRIDE=3D"linux sound/snd sound/pcm sound/driver/ich linprocf= s=20 > >>smbfs libiconv libmchain ipfw vn union cd9660 msdos" MACHINE=3Di386 mak= e=20 > >>obj ; env MAKEOBJDIRPREFIX=3D/usr/src/sys/compile/TYBALT/modules=20 > >>MODULES_OVERRIDE=3D"linux sound/snd sound/pcm sound/driver/ich linprocf= s=20 > >>smbfs libiconv libmchain ipfw vn union cd9660 msdos" MACHINE=3Di386 mak= e=20 > >>depend =3D=3D=3D> linux=20 > >>"/usr/src/sys/modules/linux/../../conf/kmod.mk", line 63: Could not fin= d=20 > >>bsd.init.mk "/usr/src/sys/modules/linux/../../conf/kmod.mk", line 190:= =20 > >>Could not find bsd.links.mk make: fatal errors encountered -- cannot=20 > >>continue *** Error code 1=20 > >> > >>Stop in /usr/src/sys/modules.=20 > >>*** Error code 1=20 > >> > >>Stop in /usr/src/sys/compile/TYBALT.=20 > >> > >> > >>The complaint is valid, there is no "bsd.init.mk" or "bsd.links.mk" in= =20 > >>/usr/share/mk.=20 > >>I have seen no "heads up" or something like that. I have removed the=20 > >>compile directory and rerun "config" to no avail.=20 > >> > >>Any hints?=20 > >> > >> > >The only method that is GUARANTEED to work with source code updates is > >described in UPDATING. It is "buildworld" followed by "buildkernel". > > > >This particular problem is caused by your /usr/share/mk stuff being not > >in sync with the source tree. To work around this (if you really want > >to build only your kernel from fresh sources), you need to: > > > > cd /usr/src/share/mk && make install > > > >Then continue with the kernel build config(8) way. > > > >Or use "buildkernel" that, as I said, should work all the time (it > >takes care of picking up the correct share/mk files from the source > >tree). If it does not work, try precede it with "buildworld" (it > >will build the new version of config(8)). If this does not help, > >then report it as a bug. >=20 >=20 > This isn't completely true. I just tried a buildworld and it is dying=20 > about 90% of the way thru the build. I also tried your work around and=20 > it did not work in this case. I see the message >=20 > =3D=3D=3D> share/mk > make: don't know how to make bsd.init.mk. Stop > *** Error code 2 >=20 Then there is probably a problem with your CVSup server lacking some changes. The share/mk/Makefile and share/mk/bsd.init.mk were committed atomically with this commitlog: MFC: bsd.init.mk, don't include bsd.own.mk from sys.mk, assorted fixes. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9NsLdUkv4P6juNwoRAsOYAJ9zJfJ+WVUDBerQTDUhbDWDaX096ACfUvkZ /GMEDZ8K3KIUWau2Xi6vyKA= =CrMX -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020718133005.GA17957>