Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 21:16:01 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        freebsd-java@freebsd.org
Subject:   Using Apache ant without base gcc
Message-ID:  <20130925111601.GE33452@server.rulingia.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
[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.IOException: error=2, No such file or directory

The compiler is defined as:
    <compiler id="compiler.cfg.freebsd" name="gcc">
    </compiler>
    <compiler id="compiler.cfg.freebsd.amd64" name="gcc">
      <compilerarg value="-fPIC"/>
    </compiler>

If I add "USE_GCC=any" 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:497: cc is not a legal value for this attribute
where gluegen-cpptasks.xml:497 has
  <compiler id="compiler.cfg.freebsd" name="cc">

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?

-- 
Peter Jeremy

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlJCxfEACgkQ/opHv/APuIfIsQCgoSt5c3zDt5/Et2Stjko09BTx
v4YAoKRAFakHePOt07T/sbILYMefM5G2
=BfOi
-----END PGP SIGNATURE-----
help

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