From owner-freebsd-current@FreeBSD.ORG Tue Nov 15 06:25:43 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DFD416A41F for ; Tue, 15 Nov 2005 06:25:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC9C843D64 for ; Tue, 15 Nov 2005 06:25:36 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jAF6PZ4D014768; Tue, 15 Nov 2005 08:25:35 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 77635-04; Tue, 15 Nov 2005 08:25:30 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jAF6KpEJ014644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 08:20:51 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jAF6KxFm002565; Tue, 15 Nov 2005 08:20:59 +0200 (EET) (envelope-from ru) Date: Tue, 15 Nov 2005 08:20:59 +0200 From: Ruslan Ermilov To: Nicolas Blais Message-ID: <20051115062059.GC56313@ip.net.ua> References: <200511141702.45491.nb_root@videotron.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s9fJI615cBHmzTOP" Content-Disposition: inline In-Reply-To: <200511141702.45491.nb_root@videotron.ca> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-current@freebsd.org Subject: Re: can't compile -CURRENT since 2 days ago X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 06:25:43 -0000 --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--