From owner-freebsd-java@FreeBSD.ORG Wed Sep 25 11:39:06 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E82443EB for ; Wed, 25 Sep 2013 11:39:06 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 66E8B2E30 for ; Wed, 25 Sep 2013 11:39:05 +0000 (UTC) Received: from server.rulingia.com (c220-239-237-213.belrs5.nsw.optusnet.com.au [220.239.237.213]) by vps.rulingia.com (8.14.7/8.14.5) with ESMTP id r8PBG7Cf001614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 Sep 2013 21:16:08 +1000 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.7/8.14.7) with ESMTP id r8PBG1AB050323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 25 Sep 2013 21:16:01 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.7/8.14.7/Submit) id r8PBG1Vb050322 for freebsd-java@freebsd.org; Wed, 25 Sep 2013 21:16:01 +1000 (EST) (envelope-from peter) Date: Wed, 25 Sep 2013 21:16:01 +1000 From: Peter Jeremy To: freebsd-java@freebsd.org Subject: Using Apache ant without base gcc Message-ID: <20130925111601.GE33452@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 11:39:07 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please Cc me on any responses] Hi, I am the manintainer for graphics/jogl and the build cluster reports that it's failing on head on both i386 and amd64 because there's no gcc: /wrkdirs/usr/ports/graphics/jogl/work/gluegen/make/build.xml:343: Could not= launch gcc: java.io.IOException: Cannot run program "gcc" (in directory "/= wrkdirs/usr/ports/graphics/jogl/work/gluegen/build/obj"): java.io.IOExcepti= on: error=3D2, No such file or directory The compiler is defined as: If I add "USE_GCC=3Dany" to the port Makefile then it still fails because lang/gcc installs 'gcc46', rather than 'gcc'. If I change all the 'gcc' references to 'cc' (which would pick up clang) then it fails with: /tank/obj/usr/ports/graphics/jogl/work/gluegen/make/gluegen-cpptasks.xml:49= 7: cc is not a legal value for this attribute where gluegen-cpptasks.xml:497 has I'm a long way from an expert on ant and I've had a rummage around the Internet but haven't found a solution. Can anyone with more ant-foo help? --=20 Peter Jeremy --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlJCxfEACgkQ/opHv/APuIfIsQCgoSt5c3zDt5/Et2Stjko09BTx v4YAoKRAFakHePOt07T/sbILYMefM5G2 =BfOi -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--