Date: Wed, 22 Apr 1998 01:43:51 +1000 From: Stephen McKay <syssgm@dtir.qld.gov.au> To: syssgm@dtir.qld.gov.au Cc: current@FreeBSD.ORG Subject: Re: usr.bin/expand breaks make world Message-ID: <199804211543.BAA13587@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 %2B1000" References: <199804211004.MAA05688@sos.freebsd.dk> <199804211011.UAA11629@troll.dtir.qld.gov.au> <353CA4EF.7C262514@giovannelli.it> <199804211205.WAA12503@troll.dtir.qld.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804211543.BAA13587>