Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 22:08:21 +0200
From:      Frank Staals <f.staals@zonnet.nl>
To:        Ralf Folkerts <ralf.folkerts@gmx.de>
Cc:        Panagiotis Astithas <past@ebs.gr>, freebsd-java@freebsd.org
Subject:   Re: Eclipse 3.1 port?
Message-ID:  <42E000B5.6050903@zonnet.nl>
In-Reply-To: <1121975583.994.14.camel@beaster>
References:  <1120942860.19352.7.camel@localhost.eu.mscsoftware.com>	<42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ) :

<snip>



    [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:

<snip>
    [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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E000B5.6050903>