Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 05:11:56 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        freebsd-ports@freebsd.org
Cc:        tphilipp@potion-studios.com
Subject:   Using Apache ant without base gcc
Message-ID:  <20131121181156.GA51208@server.rulingia.com>

next in thread | raw e-mail | index | archive | help

--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:
    <compiler id=3D"compiler.cfg.freebsd" name=3D"gcc">
    </compiler>
    <compiler id=3D"compiler.cfg.freebsd.amd64" name=3D"gcc">
      <compilerarg value=3D"-fPIC"/>
    </compiler>

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
  <compiler id=3D"compiler.cfg.freebsd" name=3D"cc">

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--



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