From owner-freebsd-ports@FreeBSD.ORG Fri Nov 22 09:14:47 2013 Return-Path: Delivered-To: freebsd-ports@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 ESMTPS id 8A1B688F for ; Fri, 22 Nov 2013 09:14:47 +0000 (UTC) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AFF6244D for ; Fri, 22 Nov 2013 09:14:47 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id w5so688234vbf.0 for ; Fri, 22 Nov 2013 01:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ByA66F7GxuVKF9JGFXSEeyekqSLbdPKe6GQtnUGt8BM=; b=NbWrId3PUdDXpsFNuecr15fMxuWHzpRkH1Gli/Jwfmt/aZ9v5g9pTiBQReGvEjCcym iJwJVFfjG+8gUWBH9DirghjvKsiPiCfQjTCIPQdJ+kIvwpREuOBUL+aCtosWagvlhXqh sk3ViSpJUUgxzqBbpG9XDKibre82lJNwZFixlMmiPkWTHQNUnSlkqoTQw3Ldlvbn4HFR klOgKMqXwtL95xsG7pemmchImv83ih6sP0DcRABYnCoraKgNMXBt0QJicCAFlgS5lB2z 6KddCAiwzV8Pp1MzBfXWlHJCPFeoKyb6LgDU+xDXJVo4v+c0IN5nEcOtD8WUGrp+wO79 ePGw== MIME-Version: 1.0 X-Received: by 10.52.28.6 with SMTP id x6mr8401246vdg.3.1385111686429; Fri, 22 Nov 2013 01:14:46 -0800 (PST) Received: by 10.52.94.51 with HTTP; Fri, 22 Nov 2013 01:14:46 -0800 (PST) In-Reply-To: References: <20131121181156.GA51208@server.rulingia.com> <20131121130218.a1df939b1e7d5835de8182b2@potion-studios.com> Date: Fri, 22 Nov 2013 11:14:46 +0200 Message-ID: Subject: Re: Using Apache ant without base gcc From: Alexander Yerenkow To: Tassilo Philipp Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: Peter Jeremy , Ports FreeBSD 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: Fri, 22 Nov 2013 09:14:47 -0000 My guess for easiest way is to create temp dir somewhere in WRKDIR, put there link gcc -> system-gcc46 and prepend it to path. 2013/11/22 Alexander Yerenkow > You should take a look at > > http://ant-contrib.sourceforge.net/compiler.html > > cc is not there. > > I'll take a look a bit later, maybe some solution will come up. > > > > 2013/11/21 Tassilo Philipp > >> Hi, >> >> although I planned to, I didn't have time to look at jogamp-jogl, yet, so >> I'm sorry, I don't really know what to do here, either... >> >> Sorry, >> ~ Tassilo >> >> >> On Fri, 22 Nov 2013 05:11:56 +1100 >> Peter Jeremy wrote: >> >> > 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: >> > >> > /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: >> > >> > >> > >> > >> > >> > >> > 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 >> > >> > >> > 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? >> > >> > -- >> > Peter Jeremy >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > > > > -- > Regards, > Alexander Yerenkow > -- Regards, Alexander Yerenkow