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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC