From owner-freebsd-current Mon Jan 26 23:05:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25330 for current-outgoing; Mon, 26 Jan 1998 23:05:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sendero.simon-shapiro.org (sendero-fxp0.Simon-Shapiro.ORG [206.190.148.34]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA25285 for ; Mon, 26 Jan 1998 23:05:28 -0800 (PST) (envelope-from shimon@sendero-fxp0.simon-shapiro.org) Received: (qmail 11467 invoked by uid 1000); 27 Jan 1998 07:07:38 -0000 Message-ID: X-Mailer: XFMail 1.3-alpha-011998 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199801270551.WAA03992@mt.sri.com> Date: Mon, 26 Jan 1998 23:07:38 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Nate Williams Subject: Re: gnu/usr.bin/cvs/libdiff Cc: freebsd-current@FreeBSD.ORG, "Jordan K.Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk On 27-Jan-98 Nate Williams wrote: >> >> This got me baffled. I just CVSuped a whole new tree and said src >> >> directory has a Makefile and nothing else, but the Makefile thinks >> >> there >> >> should be a lot more there. What have I done? >> > >> > "man make" > ... >> While I know most of my shortcomings (thanx for the rminder :-), I still >> did >> nothing short of cvs update (or checkout - matters not), followed be >> make >> buildworld and poof - the compile failed. > > Then you didn't update everything you needed. Did you update > /usr/src/contrib, which is where the CVS stuff is gotten from? If not, > then you didn't update everything, and if you would have looked at the > Makefile you would have known that it was looking in > /usr/src/contrib/cvs for the files in question. I tend to make a very routine and rigid procedure, which is not in a shell script only due to lazynesss and desire to visually inspect each step: < cvsup of ALL of the sources, ALL of the ports and ALL of the docs > rm -rf /usr/obj/usr/src/3.0 chflags -R noschg /usr/obj/usr/src/3.0 rm -rf /usr/obj/usr/src/3.0 < Much fasterthan chflags followedby rm > cd /usr/src/{2,2,3.0}/src cvs update -P -d >& ../update.out xemac ../update.out < Correct any deviations and repeat until no more complaints (if any) > make buildworld >& ../build.out xemacs ../build.out < Repeat until perfect > < NFS mount /usr/src and /usr/obj form a sacrifice machine, make installworld and reboot > make installworld If the source tree is healthy and I do not miss something, it always works. This time I forgot the rm -rf /usr/obj/... which in my stubborn, make-neophite mind is unnecessary step which renders make an awkward shell instead of an incremental system builder. Now, I know all the reasons why this should be necessary, but in my slow brain, they simply do not register well :-) My apologies for consuming this bandwidth with an obvious cocpit error. ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313