From owner-freebsd-ports@FreeBSD.ORG Tue Jul 27 13:55:22 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9696C16A4D5; Tue, 27 Jul 2004 13:55:22 +0000 (GMT) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B51043D1D; Tue, 27 Jul 2004 13:55:20 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id i6Q8RZJq015311; Mon, 26 Jul 2004 11:27:35 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.52] (edgar.ebs.gr [10.1.1.52]) by ebs.gr (8.12.11/8.12.11) with ESMTP id i6Q8RWwS057374; Mon, 26 Jul 2004 11:27:33 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <4104C070.2010907@ebs.gr> Date: Mon, 26 Jul 2004 11:27:28 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 0.7 (X11/20040702) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jiawei Ye References: <20040725171544.71dc613e.nork@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Norikatsu Shigemura cc: rtdean@cytherianage.net cc: ports@freebsd.org cc: alex@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: HEADS UP: Eclipse 3.0 updated X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 13:55:22 -0000 Jiawei Ye wrote: > On Sun, 25 Jul 2004 17:15:44 +0900, Norikatsu Shigemura > wrote: > >>Hi eclipse user and maintainer. >> >> I updated Eclipse 3.0 and related ports, so then some ports >> was broken. Please fix these ports! :-) >> >> If you find a problem, please report to java@ and nork@. > > Hi, I ran into this error while 'make install' on 4.10-stable system: > > build: > [echo] Building libupdate.so > [echo] gcc33 -o libupdate.so -shared > -I/home/ports/java/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/../../org.eclipse.update.core.freebsd/src/ > -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd > libupdate.so -static -lc > [apply] /home/ports/java/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/update.c: > In function `Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetFreeSpace': > [apply] /home/ports/java/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/update.c:52: > syntax error before `int' [...] This was reported a few days ago from Jan-Peter Koopmann (CC'ed). I had suggested the following crude patch, that seemed to compile for him, but haven't heard ever since whether ir really worked. diff -u Makefile Makefile.new --- Makefile Thu Jul 8 20:19:57 2004 +++ Makefile.new Wed Jul 21 12:47:32 2004 @@ -21,6 +21,7 @@ ONLY_FOR_ARCHS= i386 USE_ZIP= yes +USE_GCC= 3.3 USE_JAVA= yes JAVA_VERSION= 1.4+ diff -u files/update-build.xml files/update-build.xml.new --- files/update-build.xml Tue Jun 22 11:25:45 2004 +++ files/update-build.xml.new Wed Jul 21 18:46:49 2004 @@ -47,9 +47,9 @@ - + - + If it turns out OK, we have to replace gcc33 with $(CC) and make sure this gets correctly propagated down to update-build.xml during building. I have some more cleanups like that (s/gcc/$(CC)/) but I want to make sure this on works first. Let me know if it works for you. -- Panagiotis Astithas, PhD R&D Manager EBS, Electronic Business Systems Ltd. 18 Evgenidou Street, 115 25, Athens GREECE Phone: +30 210 674 7631 Fax: +30 210 674 7601 http://www.ebs.gr