From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 20:08:23 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0173516A434 for ; Thu, 21 Jul 2005 20:08:22 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: from smtp1.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155AD43D68 for ; Thu, 21 Jul 2005 20:08:07 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: (qmail 19054 invoked by uid 0); 21 Jul 2005 20:08:05 -0000 Received: from unknown (HELO [192.168.5.2]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 21 Jul 2005 20:08:05 -0000 Message-ID: <42E000B5.6050903@zonnet.nl> Date: Thu, 21 Jul 2005 22:08:21 +0200 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050521) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ralf Folkerts References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> In-Reply-To: <1121975583.994.14.camel@beaster> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Panagiotis Astithas , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 20:08:23 -0000 Ralf Folkerts wrote: >Hi Panagiots, > >thank you very much for your work! I just tried the patch - >unfortunately the Build didn't work. > >I get: > >--- >BUILD FAILED >/usr/ports/java/eclipse-devel/work/build.xml:48: /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src not found. > >Total time: 6 minutes 34 seconds >*** Error code 1 > >Stop in /usr/ports/java/eclipse-devel. >--- > >The Contents of >the /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86 Directory at the time of the failure is: > >--- >drwxr-xr-x 2 root wheel 512 Jul 21 21:02 META-INF >-rw-r--r-- 1 root wheel 1732 Jul 21 21:02 about.html >-rw-r--r-- 1 root wheel 611 Jul 21 21:02 build.properties >-rw-r--r-- 1 root wheel 4593 Jul 21 21:02 build.xml >-rw-r--r-- 1 root wheel 186 Jul 21 21:02 fragment.xml >[-su]beaster:org.eclipse.rcp.source.freebsd.gtk.x86 >--- > > >It seems that the failing task is a ZIP-task that tries to move the >contents >from /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src to ${swtlibs}. > >I tried to create the src-Directory - but then the build fails when it >tried to execute build.sh from ${swtlibs}. > >Do you have a hint what went wrong? I did a "make WITH_MOZILLA=firefox" >and tried both as "toor"-User with bash and as "root" with csh. Is >there a make-Target that did not get executed that should have created / >unzipped the SWT-SRC? If you need more info pls. send me a short note. > >Would be great if you had a hint but would not be too bad I you don't >find the time to dig into that ;-) > >Cheers, >_ralf_ > > > That is the same error I get, but when adding a 'src' dir in the folder it will go on. ( this was the 'src' error ) : [javac] ^^^^^^^^^^^^^ [javac] The local variable xPelsPerMeter is never read [javac] ---------- [javac] ---------- [javac] 16. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java [javac] (at line 2984) [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | ((infoHeader[31] & 0xFF) << 24); [javac] ^^^^^^^^^^^^^ [javac] The local variable yPelsPerMeter is never read [javac] ---------- [javac] 16 problems (16 warnings) [javac] ---------- [javac] 1. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java [javac] (at line 186) [javac] private void processUpdate(Attributes attributes) { [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The method processUpdate(Attributes) from the type JNLPGenerator is never used locally [javac] ---------- [javac] ---------- [javac] 2. WARNING in /home/eclipse-devel/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) BUILD FAILED /home/eclipse-devel/work/build.xml:48: /home/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src not found. Total time: 15 minutes 51 seconds *** Error code 1 Stop in /home/eclipse-devel. when adding an 'src' dir it compiles on but after a while I get this error: [javac] ^^^^^^^^^^^^^ [javac] The local variable xPelsPerMeter is never read [javac] ---------- [javac] ---------- [javac] 16. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java [javac] (at line 2984) [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | ((infoHeader[31] & 0xFF) << 24); [javac] ^^^^^^^^^^^^^ [javac] The local variable yPelsPerMeter is never read [javac] ---------- [javac] 16 problems (16 warnings) [javac] ---------- [javac] 1. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java [javac] (at line 186) [javac] private void processUpdate(Attributes attributes) { [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The method processUpdate(Attributes) from the type JNLPGenerator is never used locally [javac] ---------- [javac] ---------- [javac] 2. WARNING in /home/eclipse-devel/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] build.sh: Can't open build.sh: No such file or directory BUILD FAILED /home/eclipse-devel/work/build.xml:53: exec returned: 2 Total time: 15 minutes 40 seconds *** Error code 1 Stop in /home/eclipse-devel. I'm not sure what I'll have to do now. The problems and warnings appeared for a long time but I didn't knew what to do about it. I'm running 5.4 release on i386: frank@Riza$ uname -a FreeBSD Riza.FStaals.LAN 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat May 21 14:02:31 CEST 2005 root@Riza.FStaals.LAN:/usr/src/sys/i386/compile/RIZAKERNEL i386 Thanks in advance -Frank Staals