Eclipse 3.1 port?
Frank Staals
f.staals at zonnet.nl
Fri Jul 22 18:10:01 GMT 2005
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 ) :
>>
>> <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 at Riza$ uname -a
>> FreeBSD Riza.FStaals.LAN 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat May
>> 21 14:02:31 CEST 2005
>> root at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at 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
More information about the freebsd-java
mailing list