From owner-freebsd-ports@FreeBSD.ORG Thu May 9 19:06:21 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 659B9584 for ; Thu, 9 May 2013 19:06:21 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel09.rubas.ch (cpanel09.rubas.ch [195.182.222.79]) by mx1.freebsd.org (Postfix) with ESMTP id 26517D09 for ; Thu, 9 May 2013 19:06:20 +0000 (UTC) Received: from 98-41.199-178.cust.bluewin.ch ([178.199.41.98]:59118 helo=gahrfit.gahr.ch) by cpanel09.rubas.ch with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1UaWAV-000XyD-5P; Thu, 09 May 2013 21:06:19 +0200 Date: Thu, 9 May 2013 21:06:16 +0200 From: Pietro Cerutti To: Beeblebrox Subject: Re: devel/json-c build fails Message-ID: <20130509190616.GH15016@gahrfit.gahr.ch> References: <1367859303386-5809185.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WkfBGePaEyrk4zXB" Content-Disposition: inline In-Reply-To: <1367859303386-5809185.post@n5.nabble.com> X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel09.rubas.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Get-Message-Sender-Via: cpanel09.rubas.ch: authenticated_id: gahr@gahr.ch Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 19:06:21 -0000 --WkfBGePaEyrk4zXB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-May-06, 09:55, Beeblebrox wrote: > Breaks with below Error Message. If ccache is enabled, breaks sooner. >=20 > WITH CCACHE: > =3D=3D=3D> Building for json-c-0.9 > gmake all-am > gmake[1]: Entering directory > `/wrkdirs/usr/ports/devel/json-c/work/json-c-0.9' > /bin/sh ./libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. = -Wall > -Wwrite-strings -Werror -std=3Dgnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe > -march=3Dk8 -fno-strict-aliasing -MT arraylist.lo -MD -MP -MF > .deps/arraylist.Tpo -c -o arraylist.lo arraylist.c > libtool: compile: cc -DHAVE_CONFIG_H -I. -Wall -Wwrite-strings -Werror > -std=3Dgnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=3Dk8 > -fno-strict-aliasing -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c > arraylist.c -fPIC -DPIC -o .libs/arraylist.o > cc: error: argument unused during compilation: '-I .' > gmake[1]: *** [arraylist.lo] Error 1 > gmake[1]: Leaving directory Try to add -Qunused-arguments to your CFLAGS. Also, see /usr/local/share/doc/ccache/ccache-howto-freebsd.txt --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --WkfBGePaEyrk4zXB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlGL86cACgkQwMJqmJVx9466cACgrP7eY7A8V+IN6VEgkFXvL0fa JxYAn0mP0++0LHd0MyVu13nj7xn3nwhj =sMdz -----END PGP SIGNATURE----- --WkfBGePaEyrk4zXB--