From owner-freebsd-current Tue Apr 21 08:45:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA27853 for freebsd-current-outgoing; Tue, 21 Apr 1998 08:45:00 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ren.dtir.qld.gov.au (firewall-user@ns.dtir.qld.gov.au [203.108.138.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27836 for ; Tue, 21 Apr 1998 15:44:49 GMT (envelope-from syssgm@dtir.qld.gov.au) Received: by ren.dtir.qld.gov.au; id BAA22739; Wed, 22 Apr 1998 01:44:14 +1000 (EST) Received: from ogre.dtir.qld.gov.au(167.123.8.3) by ren.dtir.qld.gov.au via smap (3.2) id xma022725; Wed, 22 Apr 98 01:43:55 +1000 Received: from troll.dtir.qld.gov.au (troll.dtir.qld.gov.au [167.123.8.1]) by ogre.dtir.qld.gov.au (8.8.7/8.8.7) with ESMTP id BAA13524 for ; Wed, 22 Apr 1998 01:43:55 +1000 (EST) Received: from localhost (syssgm@localhost) by troll.dtir.qld.gov.au (8.8.5/8.8.5) with SMTP id BAA13587; Wed, 22 Apr 1998 01:43:51 +1000 (EST) Message-Id: <199804211543.BAA13587@troll.dtir.qld.gov.au> X-Authentication-Warning: troll.dtir.qld.gov.au: syssgm@localhost didn't use HELO protocol To: syssgm@dtir.qld.gov.au cc: current@FreeBSD.ORG Subject: Re: usr.bin/expand breaks make world References: <199804211004.MAA05688@sos.freebsd.dk> <199804211011.UAA11629@troll.dtir.qld.gov.au> <353CA4EF.7C262514@giovannelli.it> <199804211205.WAA12503@troll.dtir.qld.gov.au> In-Reply-To: <199804211205.WAA12503@troll.dtir.qld.gov.au> from Stephen McKay at "Tue, 21 Apr 1998 22:05:08 +1000" Date: Wed, 22 Apr 1998 01:43:51 +1000 From: Stephen McKay Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 21st April 1998, Stephen McKay wrote: >On Tuesday, 21st April 1998, Gianmarco Giovannelli wrote: > >> 1 # -I/usr/obj/usr/src/tmp/usr/include >>/usr/src/usr.bin/expand/expand.c >> 2 # 1 "" >> 3 # 1 "/usr/src/usr.bin/expand/expand.c" >> 4 >> 5 [... a lot of blank lines deleted ...] >> 6 >> 7 >> 8 static char copyright[] = > >This is not even close to being correct! This is wrong from line 2. >It should look something like (without the line numbers): > >1 # -I/usr/obj/usr/src/tmp/usr/include /usr/src/usr.bin/expand/expand.c >2 expand.o: /usr/src/usr.bin/expand/expand.c \ >3 /usr/obj/usr/src/tmp/usr/include/ctype.h \ >4 /usr/obj/usr/src/tmp/usr/include/runetype.h.h \ >... > >This looks like a different problem to mine. My .depend files always start >with the right stuff, and are corrupted part way through. Perhaps my tree >is just a little out of date and I haven't met this one yet. :-) > >I'll see what I can find when I get home tonight. [Talking to myself again...] Well, it is a curious state of affairs. When I looked further, I found both the type of corruption I described earlier, and this cpp vomit type. I found that, on my system, ${WORLDTMP}/usr/libexec/cpp was missing because it failed to build because of the OTHER type of .depend corruption :-) and that in this case cc calls ${WORLDTMP}/usr/bin/cpp. This version of cpp doesn't work very well in this case. Without make -j it reads standard input before messing up .depend. With make -j it seems to just go ahead and mess up .depend right away. Now, some of this looks to be deliberate since COMPILER_PATH is set to ${WORLDTMP}/usr/libexec:${WORLDTMP}/usr/bin, and not just to ${WORLDTMP}/usr/libexec. Can't see the point of the usr/bin bit. Is this an error? Is anybody else missing their ${WORLDTMP}/usr/libexec/cpp? Should we delete /usr/bin/cpp? Or change COMPILER_PATH? Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message