From owner-freebsd-stable Thu Jul 18 5:28:24 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C906C37B400; Thu, 18 Jul 2002 05:28:18 -0700 (PDT) Received: from gate.consol.de (gate.consol.de [194.221.87.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331A343E6A; Thu, 18 Jul 2002 05:28:17 -0700 (PDT) (envelope-from Thorsten.Greiner@consol.de) Received: from imap.consol.de (imap.consol.de [10.250.0.113]) by gate.consol.de (8.11.6/8.11.6) with ESMTP id g6ICSFB83476 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified NO); Thu, 18 Jul 2002 14:28:15 +0200 (CEST) (envelope-from Thorsten.Greiner@consol.de) Received: from msgsrv2.bb.consol.de (vscanner.bb.consol.de [10.250.0.120]) by imap.consol.de (8.12.2/8.12.2) with ESMTP id g6ICSFtp022289; Thu, 18 Jul 2002 14:28:15 +0200 (CEST) (envelope-from thorsten@consol.de) Received: (from www@localhost) by msgsrv2.bb.consol.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA26368; Thu, 18 Jul 2002 14:28:15 +0200 From: Thorsten.Greiner@consol.de X-Authentication-Warning: msgsrv2.bb.consol.de: www set sender to thorsten@consol.de using -f To: Ruslan Ermilov Subject: Re: HEADS UP: share/mk stuff is being updated (was: Re: bsd.init.mk ?) Message-ID: <1026995295.3d36b45f5c6c4@intranet.consol.de> Date: Thu, 18 Jul 2002 14:28:15 +0200 (CEST) Cc: freebsd-stable@FreeBSD.org References: <1026974131.3d3661b3c9a1c@intranet.consol.de> <20020718115138.GB99249@sunbay.com> In-Reply-To: <20020718115138.GB99249@sunbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG make buildworld / make buildkernel did the job. Thanks. -Thorsten Quoting Ruslan Ermilov : > Hi! > > I am currently in the middle of the process of merging my half-a-year > work > 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 > wrote: > > Hello, > > > > after cvsuping (just about now from cvsup3.de.freebsd.org) I'm having > problems during > > "make depend": > > > > rm -f .newdep > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs mkdep -a -f > .newdep -O -pipe > > -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi > > -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter > -D_KERNEL -include > > opt_global.h -elf -mpreferred-stack-boundary=2 > > make -V SFILES -V SYSTEM_SFILES | xargs env MKDEP_CPP="cc -E" mkdep > -a -f .newdep -x > > assembler-with-cpp -DLOCORE -O -pipe -march=pentiumpro -Wall > -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline > > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. > -I../../../include > > -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf > > -mpreferred-stack-boundary=2 > > rm -f .depend > > mv -f .newdep .depend > > cd ../../modules ; env > MAKEOBJDIRPREFIX=/usr/src/sys/compile/TYBALT/modules > > MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/ich linprocfs > smbfs libiconv > > libmchain ipfw vn union cd9660 msdos" MACHINE=i386 make obj ; env > > MAKEOBJDIRPREFIX=/usr/src/sys/compile/TYBALT/modules > MODULES_OVERRIDE="linux sound/snd > > sound/pcm sound/driver/ich linprocfs smbfs libiconv libmchain ipfw vn > union cd9660 msdos" > > MACHINE=i386 make depend > > ===> linux > > "/usr/src/sys/modules/linux/../../conf/kmod.mk", line 63: Could not > find bsd.init.mk > > "/usr/src/sys/modules/linux/../../conf/kmod.mk", line 190: Could not > find bsd.links.mk > > make: fatal errors encountered -- cannot continue > > *** Error code 1 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/src/sys/compile/TYBALT. > > > > > > The complaint is valid, there is no "bsd.init.mk" or "bsd.links.mk" in > /usr/share/mk. > > > > I have seen no "heads up" or something like that. I have removed the > compile directory > > and rerun "config" to no avail. > > > > Any hints? > > > 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. > > > Cheers, > -- > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message