can't compile -CURRENT since 2 days ago

Ruslan Ermilov ru at freebsd.org
Mon Nov 14 22:25:43 PST 2005


On Mon, Nov 14, 2005 at 05:02:40PM -0500, Nicolas Blais wrote:
> Hi,
> 
> I haven't been able to compile -CURRENT since about 2 days ago. I saw that the 
> tinderbox got the same message as me:
> 
> ===> games/grdc (depend)
> rm -f .depend
> CC='/usr/bin/cc' mkdep -f .depend -a     /usr/src/games/grdc/grdc.c
> echo 
> grdc: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libncurses.a 
> >> .depend
> ===> games/morse (depend)
> rm -f .depend
> CC='/usr/bin/cc' mkdep -f .depend -a    
> -DSPEAKER=\"/dev/speaker\" /usr/src/games/morse/morse.c
> /usr/src/games/morse/morse.c:67:33: dev/speaker/speaker.h: No such file or 
> directory
> mkdep: compile failed
> *** Error code 1
> 
> Stop in /usr/src/games/morse.
> *** Error code 1
> 
> Stop in /usr/src/games.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 872.891u 91.628s 18:21.83 87.5% 4051+2485k 5485+1445io 441pf+0w
> 
> I cleared /usr/obj, set NOCCACHE and cleared my .ccache folder anyway.  Is 
> there a fix?
> 
Your build environment is screwed, there shouldn't be CC='/usr/bin/cc'.
During buildworld, /usr/obj/usr/src/tmp/usr/include is populated with
fresh headers, and a special (not /usr/bin/cc) compiler and friends
are used to pick up headers from this location and not /usr/include.
This CC='/usr/bin/cc' prevents this from happening, hence the breakage.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051115/e7416d4e/attachment.bin


More information about the freebsd-current mailing list