From owner-freebsd-ports@FreeBSD.ORG Thu Nov 21 18:12:15 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08CD158D for ; Thu, 21 Nov 2013 18:12:15 +0000 (UTC) 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 7D1792897 for ; Thu, 21 Nov 2013 18:12:13 +0000 (UTC) Received: from server.rulingia.com (c220-239-250-249.belrs5.nsw.optusnet.com.au [220.239.250.249]) by vps.rulingia.com (8.14.7/8.14.5) with ESMTP id rALIC2pv027718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Nov 2013 05:12:03 +1100 (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 rALIBvjl051389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Nov 2013 05:11:57 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.7/8.14.7/Submit) id rALIBuWd051388; Fri, 22 Nov 2013 05:11:56 +1100 (EST) (envelope-from peter) Date: Fri, 22 Nov 2013 05:11:56 +1100 From: Peter Jeremy To: freebsd-ports@freebsd.org Subject: Using Apache ant without base gcc Message-ID: <20131121181156.GA51208@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: tphilipp@potion-studios.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 18:12:15 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've tried asking this on -java without any response so I'm trying a wider audience. I am the manintainer for graphics/jogl and the build cluster reports that it's failing on 10-stable and head on both i386 and amd64 because there's no gcc: =20 /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 =20 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 Whilst ant isn't that uncommon in the ports tree, graphics/jogamp-jogl is the only other port I've found that uses ant in this way and it is also failing. 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 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iKYEARECAGYFAlKOTOxfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDBCRjc3QTcyNTg5NEVCRTY0RjREN0VFRUZF OEE0N0JGRjAwRkI4ODcACgkQ/opHv/APuIdpUQCfR6qz9/Gzu+A+wIyW9evm+zoD nx4Anil/oDdm7YtY6Ksx0XD3sceVHf8C =U+8b -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--