From owner-freebsd-ports@FreeBSD.ORG Tue Apr 11 13:41:13 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 086AD16A401 for ; Tue, 11 Apr 2006 13:41:13 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F6A43DE0 for ; Tue, 11 Apr 2006 13:41:09 +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 k3BDf4Z2029074; Tue, 11 Apr 2006 16:41:04 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.185] (pc185.ebs.gr [10.1.1.185]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k3BDfGNp028496; Tue, 11 Apr 2006 16:41:17 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.385 [268.4.1/307]); Tue, 11 Apr 2006 16:41:02 +0300 Message-ID: <443BB1EE.4000000@ebs.gr> Date: Tue, 11 Apr 2006 16:41:02 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Adam K Kirchhoff References: <20060411075502.b094d131.adamk@voicenet.com> In-Reply-To: <20060411075502.b094d131.adamk@voicenet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Building eclipse. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 13:41:13 -0000 Adam K Kirchhoff wrote: > FYI, > > The eclipse port appears to be broken at the moment. About forty five minutes in, the build fails. The problem appears to have originated with: > > [javac] The method processUpdate(Attributes) from the type JNLPGenerator is never used locally > [javac] ---------- > [javac] ---------- > [javac] 2. WARNING in /usr/ports/java/eclipse/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java > [javac] (at line 157) > [javac] private static void transferStreams(InputStream source, OutputStream destination) throws IOException { > [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [javac] The method transferStreams(InputStream, OutputStream) from the type PluginVersionReplaceTask is never used locally > [javac] ---------- > [javac] 2 problems (2 warnings) > [exec] In file included from xpcom_structs.h:29, > [exec] from xpcom.cpp:30: > [exec] xpcom.h:21:21: nsXPCOM.h: No such file or directory > [exec] xpcom.h:22:25: nsEmbedAPI.h: No such file or directory > [exec] xpcom.h:23:27: nsEmbedString.h: No such file or directory > [exec] xpcom.h:24:28: nsIInputStream.h: No such file or directory > [exec] xpcom.h:25:30: nsISupportsUtils.h: No such file or directory > [exec] In file included from xpcom.cpp:30: > [exec] xpcom_structs.h:33: error: expected constructor, destructor, or type conversion before '*' token > [exec] xpcom_structs.h:33: error: expected `,' or `;' before '*' token > [exec] xpcom_structs.h:34: error: `nsID' has not been declared > [exec] xpcom_structs.h:34: error: ISO C++ forbids declaration of `lpStruct' with no type > > > And it continues on till it gets to: > > [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_strlen(JNIEnv*, _jclass*, jint)': > [exec] xpcom.cpp:2023: error: `strlen' undeclared (first use this function) > [exec] gmake: *** [xpcom.o] Error 1 > > BUILD FAILED > /usr/ports/java/eclipse/work/build.xml:53: exec returned: 2 You appear to be missing the mozilla/firefox headers. Do you have any oh these installed? If you specifically don't want the browser widget, you could build eclipse with WITHOUT_MOZILLA. Cheers, Panagiotis