Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 08:20:59 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Nicolas Blais <nb_root@videotron.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: can't compile -CURRENT since 2 days ago
Message-ID:  <20051115062059.GC56313@ip.net.ua>
In-Reply-To: <200511141702.45491.nb_root@videotron.ca>
References:  <200511141702.45491.nb_root@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDeX5LqRfpzJluFF4RAgc9AKCAdBnzkOoccGUhp1vAZ9Gk+jKu6wCfSBAw
bP3HAArIz4x+PcdoTcTmsW8=
=96n9
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115062059.GC56313>