From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 18:10:00 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 981BA16A46B for ; Fri, 22 Jul 2005 18:09:52 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: from smtp2.versatel.nl (smtp2.versatel.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 996D5448C4 for ; Fri, 22 Jul 2005 17:04:44 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: (qmail 28659 invoked by uid 0); 22 Jul 2005 17:04:41 -0000 Received: from unknown (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp2.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 22 Jul 2005 17:04:41 -0000 Message-ID: <42E12739.4050703@zonnet.nl> Date: Fri, 22 Jul 2005 19:04:57 +0200 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050521) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Panagiotis Astithas References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> In-Reply-To: <42E0B533.2060306@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ralf Folkerts , 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: Fri, 22 Jul 2005 18:10:01 -0000 Panagiotis Astithas wrote: > Frank Staals wrote: > >> 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 > > > > Weird, I have never seen the src error myself. Could both of you send > me privately (or put somewhere and send me a link to) the full output > of a build up to that point? Something like: > > make clean build |& tee /var/tmp/eclipse.log > > I'll see if I can reproduce it this weekend. No need to worry about > the javac warnings, though. > > Thanks, > > Panagiotis > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > I used script to build the logfile, it is here: http://fstaals.net/junk/eclipse_out_log.txt it is the intire build process. the eclipse-devel.tar.gz is a clean copy of the eclipse-devel ( 3.1M7 ) port downloaded from the FreeBSD server ( http://cvsweb.freebsd.org/ports/java/eclipse-devel/eclipse-devel.tar.gz?tarball=1 ). In the log it is also visible what happend after the 'src' error when I manually added the dir. I'm currently building eclipse-devel when copying the patched dir back into the ports-tree as Jan Grant suggested, I will post the log of that when it is finished building. -Frank Staals