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

--s9fJI615cBHmzTOP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 14, 2005 at 05:02:40PM -0500, Nicolas Blais wrote:
> Hi,
>=20
> I haven't been able to compile -CURRENT since about 2 days ago. I saw tha=
t the=20
> tinderbox got the same message as me:
>=20
> =3D=3D=3D> games/grdc (depend)
> rm -f .depend
> CC=3D'/usr/bin/cc' mkdep -f .depend -a     /usr/src/games/grdc/grdc.c
> echo=20
> grdc: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/li=
bncurses.a=20
> >> .depend
> =3D=3D=3D> games/morse (depend)
> rm -f .depend
> CC=3D'/usr/bin/cc' mkdep -f .depend -a   =20
> -DSPEAKER=3D\"/dev/speaker\" /usr/src/games/morse/morse.c
> /usr/src/games/morse/morse.c:67:33: dev/speaker/speaker.h: No such file o=
r=20
> directory
> mkdep: compile failed
> *** Error code 1
>=20
> Stop in /usr/src/games/morse.
> *** Error code 1
>=20
> Stop in /usr/src/games.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
> 872.891u 91.628s 18:21.83 87.5% 4051+2485k 5485+1445io 441pf+0w
>=20
> I cleared /usr/obj, set NOCCACHE and cleared my .ccache folder anyway.  I=
s=20
> there a fix?
>=20
Your build environment is screwed, there shouldn't be CC=3D'/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=3D'/usr/bin/cc' prevents this from happening, hence the breakage.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--s9fJI615cBHmzTOP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

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

--s9fJI615cBHmzTOP--



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