CFT: Eclipse Galileo 3.5

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

I'm at last ready to have some public testing of the 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform has been
the least tested (actually, not at all this time  ;)  so I'd appreciate to have feedback for this one. I've also only done testing
with the native jdk1.6.0 from ports (java/jdk16) so please indicate which jdk you're using if you send me a go/no-go.

Highlights:
- - First FreeBSD Galileo release
- - The build is now using eclipse-build from the "Linux Tools" project
- - Patches are now much more simple and have been split into two parts for easier push upstream (one against eclipse-build and the
other for eclipse itself)
- - The only Gecko provider supported is now libxul
- - The gnome dependencies are now static and no longer configurable via options (there might be one or two that are no longer
necessary but I haven't gotten around yet to check which one)
- - Eclipse installs in ${PREFIX}/lib/eclipse instead of ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
- - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This directory can be used for features/plugins that are not
installed via the p2 provisioning engine. All the ports that are not changed to use p2 will have to use this directory in the future
(this will be done in a separate patch).
- - The setup-user step is no longer necessary. p2 has been fixed upstream and the user installed plugins are discovered correctly
even after a re-installation of eclipse.

The patch can be found at the following address:

        http://people.freebsd.org/~sepotvin/eclipse35.diff

Have fun!

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrxj3cACgkQmdOXtTCX/nutNwCg7wfjBNje+vX7TkfyPHlesohC
VM8AoKDgcck+bMks7fZSSogxwv0an22x
=6sWs
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Andrey Kosachenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Stephane!

First of all thanks for you time and efforts on this matter.
Great job, really!

Well, I've managed to compile and launch Galileo on my i386 laptop.

# uname -smrni
FreeBSD beastie.lan 8.0-RC1 i386 BEASTIE_SMP_ULE


#java -version
java version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build
1.6.0_03-p4-root_08_aug_2009_17_08-b00)
Java HotSpot(TM) Server VM (build
1.6.0_03-p4-root_08_aug_2009_17_08-b00, mixed mode)


There is one minor issue within Makefile (port fails to compile if it is
there). I fixed it this way:

=== begin-of-patch ===
--- Makefile.orig       2009-11-05 00:12:49.000000000 +0200
+++ Makefile    2009-11-05 00:13:03.000000000 +0200
@@ -46,7 +46,7 @@
  ECLIPSE_SRCFILE=       eclipse-${BUILD_ID}-fetched-src.tar.bz2
  FBSD_SUPPORT_SRCFILE=  freebsd-support.patch

-MAKE_ARGS=     -DbuildOs=freebsd -DbuildArch=${ARCH:C/amd64/x86_64/}
-Dprefix=${PREFIX}
+MAKE_ARGS=     -DbuildOs=freebsd
-DbuildArch=${ARCH:C/amd64/x86_64/:C/i386/x86/} -Dprefix=${PREFIX}
  WRKSRC=                ${WRKDIR}/${ECLIPSE_BUILD_SRCFILE:C/.tar.gz//}
  PATCH_STRIP=   -p1
=== end-of-patch ===


Unfortunately I've not got enough time to play with it, but I'm
definitely about to give it a try this weekend.

Thanks!


Stephane E. Potvin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everyone,
>
> I'm at last ready to have some public testing of the 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform has been
> the least tested (actually, not at all this time  ;)  so I'd appreciate to have feedback for this one. I've also only done testing
> with the native jdk1.6.0 from ports (java/jdk16) so please indicate which jdk you're using if you send me a go/no-go.
>
> Highlights:
> - - First FreeBSD Galileo release
> - - The build is now using eclipse-build from the "Linux Tools" project
> - - Patches are now much more simple and have been split into two parts for easier push upstream (one against eclipse-build and the
> other for eclipse itself)
> - - The only Gecko provider supported is now libxul
> - - The gnome dependencies are now static and no longer configurable via options (there might be one or two that are no longer
> necessary but I haven't gotten around yet to check which one)
> - - Eclipse installs in ${PREFIX}/lib/eclipse instead of ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
> - - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This directory can be used for features/plugins that are not
> installed via the p2 provisioning engine. All the ports that are not changed to use p2 will have to use this directory in the future
> (this will be done in a separate patch).
> - - The setup-user step is no longer necessary. p2 has been fixed upstream and the user installed plugins are discovered correctly
> even after a re-installation of eclipse.
>
> The patch can be found at the following address:
>
> http://people.freebsd.org/~sepotvin/eclipse35.diff
>
> Have fun!
>
> Steph
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkrxj3cACgkQmdOXtTCX/nutNwCg7wfjBNje+vX7TkfyPHlesohC
> VM8AoKDgcck+bMks7fZSSogxwv0an22x
> =6sWs
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-eclipse@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
> To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."
>

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by `hwh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stephane E. Potvin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everyone,
>
> I'm at last ready to have some public testing of the 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform has been
> the least tested (actually, not at all this time  ;)  so I'd appreciate to have feedback for this one. I've also only done testing
> with the native jdk1.6.0 from ports (java/jdk16) so please indicate which jdk you're using if you send me a go/no-go.
>
> Highlights:
> - - First FreeBSD Galileo release
> - - The build is now using eclipse-build from the "Linux Tools" project
> - - Patches are now much more simple and have been split into two parts for easier push upstream (one against eclipse-build and the
> other for eclipse itself)
> - - The only Gecko provider supported is now libxul
> - - The gnome dependencies are now static and no longer configurable via options (there might be one or two that are no longer
> necessary but I haven't gotten around yet to check which one)
> - - Eclipse installs in ${PREFIX}/lib/eclipse instead of ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
> - - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This directory can be used for features/plugins that are not
> installed via the p2 provisioning engine. All the ports that are not changed to use p2 will have to use this directory in the future
> (this will be done in a separate patch).
> - - The setup-user step is no longer necessary. p2 has been fixed upstream and the user installed plugins are discovered correctly
> even after a re-installation of eclipse.
>
> The patch can be found at the following address:
>
> http://people.freebsd.org/~sepotvin/eclipse35.diff
>
> Have fun!
>  
Hi,
 I build Galileo under FreeBSD 8.0RC2, It is ok, but run eclipse, I got
this error:

!SESSION 2009-11-05 13:41:17.764
-----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_03-p4
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=zh_CN
Command-line arguments:  -os freebsd -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2009-11-05 13:41:18.651
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
swt.library.path, java.library.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1291)

I try to find libswt-gtk-3550*.so under work directory, could not found
right one.

any ideas?

--hwh


_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Huang wen hui wrote:

> Stephane E. Potvin wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi everyone,
>>
>> I'm at last ready to have some public testing of the
>> 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform
>> has been
>> the least tested (actually, not at all this time  ;)  so I'd
>> appreciate to have feedback for this one. I've also only done testing
>> with the native jdk1.6.0 from ports (java/jdk16) so please indicate
>> which jdk you're using if you send me a go/no-go.
>>
>> Highlights:
>> - - First FreeBSD Galileo release
>> - - The build is now using eclipse-build from the "Linux Tools" project
>> - - Patches are now much more simple and have been split into two
>> parts for easier push upstream (one against eclipse-build and the
>> other for eclipse itself)
>> - - The only Gecko provider supported is now libxul
>> - - The gnome dependencies are now static and no longer configurable
>> via options (there might be one or two that are no longer
>> necessary but I haven't gotten around yet to check which one)
>> - - Eclipse installs in ${PREFIX}/lib/eclipse instead of
>> ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
>> - - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This
>> directory can be used for features/plugins that are not
>> installed via the p2 provisioning engine. All the ports that are not
>> changed to use p2 will have to use this directory in the future
>> (this will be done in a separate patch).
>> - - The setup-user step is no longer necessary. p2 has been fixed
>> upstream and the user installed plugins are discovered correctly
>> even after a re-installation of eclipse.
>>
>> The patch can be found at the following address:
>>
>>     http://people.freebsd.org/~sepotvin/eclipse35.diff
>>
>> Have fun!
>>  
> Hi,
> I build Galileo under FreeBSD 8.0RC2, It is ok, but run eclipse, I got
> this error:
>
> !SESSION 2009-11-05 13:41:17.764
> -----------------------------------------------
> eclipse.buildId=I20090611-1540
> java.version=1.6.0_03-p4
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=zh_CN
> Command-line arguments:  -os freebsd -ws gtk -arch x86_64
>
> !ENTRY org.eclipse.osgi 4 0 2009-11-05 13:41:18.651
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
> swt.library.path, java.library.path or the jar file
>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
>    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
>    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
>    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
>    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>    at
> org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
>
>    at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
>
>    at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
>
>    at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
>    at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
>    at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
>
>    at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
>    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
>    at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
>    at org.eclipse.equinox.launcher.Main.main(Main.java:1291)
>
> I try to find libswt-gtk-3550*.so under work directory, could not found
> right one.
>
> any ideas?
>
Hi,

Could you please send me offline the build output? (Do not send it to the list, it will be very large).

Regards,

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkry0OkACgkQmdOXtTCX/nvaQwCfdfFexg/YskKiZX2OScNt5SzS
Lv8AoLhHS2fjrIPuFC9x20X43i61xr1V
=jV0p
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  I got the following error @9.0-current/jdk1.6.0/amd64.
  Do I need upgrade/downgrade any utilities?

---------------------------------------------------------
   :                  :                  :
   :                  :                  :
build:

p2prep:

provision.sdk:

install:
     [copy] Copying 1048 files to /usr/local/lib/eclipse
     [copy] Copied 131 empty directories to 1 empty directory under /usr/local/lib/eclipse

BUILD SUCCESSFUL
Total time: 2 seconds
===>   Registering installation for eclipse-3.5.0.I20090611.1540
pkg_create: read_plist: unknown command '@dirrmtry /usr/local/share/eclipse/dropins' (package tools out of date?)
pkg_create: write_plist: unknown command type -1 (/usr/local/share/eclipse/dropins)
*** Error code 2

Stop in /usr/ports/java/eclipse.
*** Error code 1

Stop in /usr/ports/java/eclipse.
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Greg Lewis-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

G'day Steph,

On Wed, Nov 04, 2009 at 09:28:07AM -0500, Stephane E. Potvin wrote:

> I'm at last ready to have some public testing of the
> 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform
> has been the least tested (actually, not at all this time  ;)  so I'd
> appreciate to have feedback for this one. I've also only done testing
> with the native jdk1.6.0 from ports (java/jdk16) so please indicate
> which jdk you're using if you send me a go/no-go.
>
> Highlights:
> - - First FreeBSD Galileo release
> - - The build is now using eclipse-build from the "Linux Tools" project
> - - Patches are now much more simple and have been split into two parts for easier push upstream (one against eclipse-build and the
> other for eclipse itself)

Cool, how can we get this pushed upstream?  Anything I can do to help?

> - - The only Gecko provider supported is now libxul
> - - The gnome dependencies are now static and no longer configurable via options (there might be one or two that are no longer
> necessary but I haven't gotten around yet to check which one)
> - - Eclipse installs in ${PREFIX}/lib/eclipse instead of ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
> - - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This directory can be used for features/plugins that are not
> installed via the p2 provisioning engine. All the ports that are not changed to use p2 will have to use this directory in the future
> (this will be done in a separate patch).
> - - The setup-user step is no longer necessary. p2 has been fixed upstream and the user installed plugins are discovered correctly
> even after a re-installation of eclipse.
>
> The patch can be found at the following address:
>
> http://people.freebsd.org/~sepotvin/eclipse35.diff

I'm trying on 7.2/i386.  The system version of patch(1) didn't really like
that diff (complained about a malformed patch at line 9954(?)).  Patching
with gpatch worked though.

I think I've hit the same problem Andrey did in an earlier post.  I'm
trying out his patch now.  I've actually adapted things slightly and
am building the port as eclipse-devel.  I'd be happy to commit it there
for wider testing if you feel thats warranted before we update the main
eclipse port.

--
Greg Lewis                          Email   : glewis@...
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@...
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrey wrote:

> Hi, Stephane!
>
> First of all thanks for you time and efforts on this matter.
> Great job, really!
>
> Well, I've managed to compile and launch Galileo on my i386 laptop.
>
> # uname -smrni
> FreeBSD beastie.lan 8.0-RC1 i386 BEASTIE_SMP_ULE
>
>
> #java -version
> java version "1.6.0_03-p4"
> Java(TM) SE Runtime Environment (build
> 1.6.0_03-p4-root_08_aug_2009_17_08-b00)
> Java HotSpot(TM) Server VM (build
> 1.6.0_03-p4-root_08_aug_2009_17_08-b00, mixed mode)
>
>
> There is one minor issue within Makefile (port fails to compile if it is
> there). I fixed it this way:
>
> === begin-of-patch ===
> --- Makefile.orig       2009-11-05 00:12:49.000000000 +0200
> +++ Makefile    2009-11-05 00:13:03.000000000 +0200
> @@ -46,7 +46,7 @@
>  ECLIPSE_SRCFILE=       eclipse-${BUILD_ID}-fetched-src.tar.bz2
>  FBSD_SUPPORT_SRCFILE=  freebsd-support.patch
>
> -MAKE_ARGS=     -DbuildOs=freebsd -DbuildArch=${ARCH:C/amd64/x86_64/}
> -Dprefix=${PREFIX}
> +MAKE_ARGS=     -DbuildOs=freebsd
> -DbuildArch=${ARCH:C/amd64/x86_64/:C/i386/x86/} -Dprefix=${PREFIX}
>  WRKSRC=                ${WRKDIR}/${ECLIPSE_BUILD_SRCFILE:C/.tar.gz//}
>  PATCH_STRIP=   -p1
> === end-of-patch ===
>
>
> Unfortunately I've not got enough time to play with it, but I'm
> definitely about to give it a try this weekend.

Thanks for the report and for catching the $ARCH error. I've updated my patch locally.

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkry+m0ACgkQmdOXtTCX/nuTAQCggWz2jjAOYYQOPnTbOtHdNH5I
pMEAoLMttwk3oUi74JHf/YVHLWiFma60
=u3+q
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by `hwh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ken 写道:

>   I got the following error @9.0-current/jdk1.6.0/amd64.
>   Do I need upgrade/downgrade any utilities?
>
> ---------------------------------------------------------
>    :                  :                  :
>    :                  :                  :
> build:
>
> p2prep:
>
> provision.sdk:
>
> install:
>      [copy] Copying 1048 files to /usr/local/lib/eclipse
>      [copy] Copied 131 empty directories to 1 empty directory under /usr/local/lib/eclipse
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> ===>   Registering installation for eclipse-3.5.0.I20090611.1540
> pkg_create: read_plist: unknown command '@dirrmtry /usr/local/share/eclipse/dropins' (package tools out of date?)
> pkg_create: write_plist: unknown command type -1 (/usr/local/share/eclipse/dropins)
> *** Error code 2
>
> Stop in /usr/ports/java/eclipse.
> *** Error code 1
>
> Stop in /usr/ports/java/eclipse.
>  
I also hit this problem when first time make install.
> _______________________________________________
> freebsd-eclipse@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
> To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."
>  

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ken wrote:

>   I got the following error @9.0-current/jdk1.6.0/amd64.
>   Do I need upgrade/downgrade any utilities?
>
> ---------------------------------------------------------
>    :                  :                  :
>    :                  :                  :
> build:
>
> p2prep:
>
> provision.sdk:
>
> install:
>      [copy] Copying 1048 files to /usr/local/lib/eclipse
>      [copy] Copied 131 empty directories to 1 empty directory under /usr/local/lib/eclipse
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> ===>   Registering installation for eclipse-3.5.0.I20090611.1540
> pkg_create: read_plist: unknown command '@dirrmtry /usr/local/share/eclipse/dropins' (package tools out of date?)
> pkg_create: write_plist: unknown command type -1 (/usr/local/share/eclipse/dropins)
> *** Error code 2
>
> Stop in /usr/ports/java/eclipse.
> *** Error code 1
>
> Stop in /usr/ports/java/eclipse.

No cookies for me, I should know better than add last minute changes and not test them.

Change the @dirrmtry line to this:

        @${ECHO_CMD} "@unexec rmdir %D/share/${PORTNAME}/dropins 2>/dev/null || true " >> ${TMPPLIST}
        @${ECHO_CMD} "@unexec rmdir %D/share/${PORTNAME} 2>/dev/null || true " >> ${TMPPLIST}

and it should fix your problem.

Thanks for the report!

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkry+wUACgkQmdOXtTCX/ntrlwCeI0uHdCyCfK7o+Bd+7+9zEidL
3+UAmgOpS1qD9pdhEW3U5tTdjrDbWrPo
=77nu
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Vladimir Grebenschikov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Just tried on RELENG_8:

patch applied without problems, but build fails, see details below:

....
     [java] Setting project property: sdkSource -> build/eclipse-I20090611-1540-fetched-src
     [java] Adding reference: depsDirs
     [java] Adding reference: helpDirs
     [java] Adding reference: depsDirs2
     [java] Adding reference: orbitDeps
     [java] Adding reference: pdebuildClasspath
     [java] Adding reference: depsZips
     [java] Adding reference: eclipse.ant.targetVector
     [java] Build sequence for target(s) `generateScripts2' is [generateScripts2]
     [java] Complete build sequence is [generateScripts2, collectBootstrapPlugins, bootstrap, zipPlugins, bootstrap2, zipPlugins2, clean, cleanBuild, bootstrap-clean, cleanBuilded, generateScripts, ]
     [java]
     [java] generateScripts2:
     [java] [pathconvert] Set property plugins = plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@...
     [java] Setting project property: plugins -> plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@..., plugin@...
     [java]
     [java] BUILD FAILED
     [java] /usr/ports/java/eclipse/work/eclipse-build-0_4_RC1/pdebuild.xml:161: Unable to find element: org.eclipse.swt.gtk.freebsd.i386.
     [java] at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.execute(BuildScriptGeneratorTask.java:88)
     [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java] at org.apache.tools.ant.Task.perform(Task.java:348)
     [java] at org.apache.tools.ant.Target.execute(Target.java:357)
     [java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:622)
     [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:494)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
     [java] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
     [java] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
     [java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     [java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     [java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
     [java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
     [java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
     [java] at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
     [java] at org.eclipse.equinox.launcher.Main.main(Main.java:1291)
     [java]
     [java] Total time: 1 second
     [java]
     [java] !ENTRY org.eclipse.osgi 4 0 2009-11-05 16:11:20.046
     [java] !MESSAGE Application error
     [java] !STACK 1
     [java] java.lang.reflect.InvocationTargetException
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
     [java] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
     [java] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
     [java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     [java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     [java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
     [java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
     [java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
     [java] at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
     [java] at org.eclipse.equinox.launcher.Main.main(Main.java:1291)
     [java] Caused by: /usr/ports/java/eclipse/work/eclipse-build-0_4_RC1/pdebuild.xml:161: Unable to find element: org.eclipse.swt.gtk.freebsd.i386.
     [java] at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.execute(BuildScriptGeneratorTask.java:88)
     [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java] at org.apache.tools.ant.Task.perform(Task.java:348)
     [java] at org.apache.tools.ant.Target.execute(Target.java:357)
     [java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:622)
     [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:494)
     [java] ... 19 more
     [java] Root exception:
     [java] /usr/ports/java/eclipse/work/eclipse-build-0_4_RC1/pdebuild.xml:161: Unable to find element: org.eclipse.swt.gtk.freebsd.i386.
     [java] at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.execute(BuildScriptGeneratorTask.java:88)
     [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java] at org.apache.tools.ant.Task.perform(Task.java:348)
     [java] at org.apache.tools.ant.Target.execute(Target.java:357)
     [java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:622)
     [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:494)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
     [java] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
     [java] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
     [java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     [java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     [java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
     [java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] at java.lang.reflect.Method.invoke(Method.java:597)
     [java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
     [java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
     [java] at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
     [java] at org.eclipse.equinox.launcher.Main.main(Main.java:1291)

BUILD FAILED
/usr/ports/java/eclipse/work/eclipse-build-0_4_RC1/build.xml:71: The following error occurred while executing this line:
/usr/ports/java/eclipse/work/eclipse-build-0_4_RC1/pdebuild.xml:193: Java returned: 13

Total time: 1 minute 7 seconds
*** Error code 1

Stop in /usr/ports/java/eclipse.
....

-----Original Message-----
From: Stephane E. Potvin <sepotvin@...>
To: freebsd-eclipse@...
Subject: CFT: Eclipse Galileo 3.5
Date: Wed, 04 Nov 2009 09:28:07 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

I'm at last ready to have some public testing of the 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform has been
the least tested (actually, not at all this time  ;)  so I'd appreciate to have feedback for this one. I've also only done testing
with the native jdk1.6.0 from ports (java/jdk16) so please indicate which jdk you're using if you send me a go/no-go.

Highlights:
- - First FreeBSD Galileo release
- - The build is now using eclipse-build from the "Linux Tools" project
- - Patches are now much more simple and have been split into two parts for easier push upstream (one against eclipse-build and the
other for eclipse itself)
- - The only Gecko provider supported is now libxul
- - The gnome dependencies are now static and no longer configurable via options (there might be one or two that are no longer
necessary but I haven't gotten around yet to check which one)
- - Eclipse installs in ${PREFIX}/lib/eclipse instead of ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
- - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This directory can be used for features/plugins that are not
installed via the p2 provisioning engine. All the ports that are not changed to use p2 will have to use this directory in the future
(this will be done in a separate patch).
- - The setup-user step is no longer necessary. p2 has been fixed upstream and the user installed plugins are discovered correctly
even after a re-installation of eclipse.

The patch can be found at the following address:

        http://people.freebsd.org/~sepotvin/eclipse35.diff

Have fun!

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrxj3cACgkQmdOXtTCX/nutNwCg7wfjBNje+vX7TkfyPHlesohC
VM8AoKDgcck+bMks7fZSSogxwv0an22x
=6sWs
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."
--
Vladimir B. Grebenschikov
vova@...
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir Grebenschikov wrote:
> Hi
>
> Just tried on RELENG_8:
>
> patch applied without problems, but build fails, see details below:
>

Hi,

There was an error on the i386 platform in the original patch. Try this new one which should if your problem:

http://people.freebsd.org/~sepotvin/eclipse35_1.diff

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrzEcUACgkQmdOXtTCX/nv18ACdHcYBuome68w3s+4sEDA2Pwyf
6eYAn2fcP6xVg8/6tMmBNHF7/gBeQKaZ
=QCqv
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Vladimir Grebenschikov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Still not builds, logs are in attachment


-----Original Message-----
From: Stephane E. Potvin <sepotvin@...>
To: vova@...
Cc: freebsd-eclipse@...
Subject: Re: CFT: Eclipse Galileo 3.5
Date: Thu, 05 Nov 2009 12:56:21 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir Grebenschikov wrote:
> Hi
>
> Just tried on RELENG_8:
>
> patch applied without problems, but build fails, see details below:
>

Hi,

There was an error on the i386 platform in the original patch. Try this new one which should if your problem:

http://people.freebsd.org/~sepotvin/eclipse35_1.diff

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrzEcUACgkQmdOXtTCX/nv18ACdHcYBuome68w3s+4sEDA2Pwyf
6eYAn2fcP6xVg8/6tMmBNHF7/gBeQKaZ
=QCqv
-----END PGP SIGNATURE-----

--
Vladimir B. Grebenschikov
vova@...

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Thank you.
  I could compile and install without any error, but it does not coming up after banner window coming-up and fading out.  I think that I experienced this phenomen before when I tried to upgrade to new version, but I do not remember what was the cause of this.

  Any hint to solve this problem?
 
  top -S shows;
  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
       :            :               :        :              :    :
 1767 root         18  47    0   716M 77544K select  2   0:01  0.00% java
       :            :               :         :             :

 
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir Grebenschikov wrote:
> Hi
>
> Still not builds, logs are in attachment
>
>

Hi Vladimir,

There are a lot of strange errors in your build output, starting with patch errors at the top. Could you make sure that you're
starting with a clean eclipse checkout and that there are no failures when you apply the eclipse35_1.diff patch on top of it?

How much memory do you have in your system? There were some out of memory errors that should not be there.

Regards,

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr0JNYACgkQmdOXtTCX/nvjowCeNc0tayFAJI4SMuRfrBuAiMJR
XHoAn1ga6NFqMw+EM50NWVkgpSrRH6dZ
=ED5f
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Stephane E. Potvin-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ken wrote:

>   Thank you.
>   I could compile and install without any error, but it does not coming up after banner window coming-up and fading out.  I think that I experienced this phenomen before when I tried to upgrade to new version, but I do not remember what was the cause of this.
>
>   Any hint to solve this problem?
>  
>   top -S shows;
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
>        :            :               :        :              :    :
>  1767 root         18  47    0   716M 77544K select  2   0:01  0.00% java
>        :            :               :         :             :
>
>  

Hi Ken,

Could you try to move your old ~/.eclipse and workspace out of the way and try again? If it still fails, try starting eclipse with
the "-consolelog -debug" flags and send me the output. Could you also send me the output of the "jstack -l <pid>" command when
eclipse stops responding.

Regards

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr0JtoACgkQmdOXtTCX/nuoiACgoiJF/VKiLrIbXlH0d+PLPL8Q
2EsAoJfJx9pfpg4UTSZFfFlQpqrkS9EI
=ns71
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Vladimir Grebenschikov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I am pretty sure that applied cleanly patch yesterday, anyway, one more
attempt:

# sysctl hw | fgrep mem:
hw.physmem: 2137292800
hw.usermem: 1953587200
hw.realmem: 2146238464
# top -d1 | egrep Mem\|Swap
Mem: 485M Active, 1232M Inact, 181M Wired, 17M Cache, 112M Buf, 85M Free
Swap: 2048M Total, 2048M Free
# cd /usr/ports/java/
# rm -rf eclipse
# cvs -R upd -dPA eclipse
...
# cd eclipse
# patch < ~/patches/eclipse35_1.diff
...
# echo $?
0
# java -version
java version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_22_sep_2009_18_50-b00)
Java HotSpot(TM) Client VM (build 1.6.0_03-p4-root_22_sep_2009_18_50-b00, mixed mode)
# script eclipse.txt make
...
BUILD FAILED
/usr/ports/java/eclipse/work/eclipse-build-0_4_RC1/build.xml:224: Java returned: 13

Total time: 4 minutes 5 seconds

Script done, output file is eclipse.txt
#


-----Original Message-----
From: Stephane E. Potvin <sepotvin@...>
To: vova@...
Cc: freebsd-eclipse@...
Subject: Re: CFT: Eclipse Galileo 3.5
Date: Fri, 06 Nov 2009 08:29:58 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir Grebenschikov wrote:
> Hi
>
> Still not builds, logs are in attachment
>
>

Hi Vladimir,

There are a lot of strange errors in your build output, starting with patch errors at the top. Could you make sure that you're
starting with a clean eclipse checkout and that there are no failures when you apply the eclipse35_1.diff patch on top of it?

How much memory do you have in your system? There were some out of memory errors that should not be there.

Regards,

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr0JNYACgkQmdOXtTCX/nvjowCeNc0tayFAJI4SMuRfrBuAiMJR
XHoAn1ga6NFqMw+EM50NWVkgpSrRH6dZ
=ED5f
-----END PGP SIGNATURE-----

--
Vladimir B. Grebenschikov
vova@...

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Steph,
  Thank you for your reply.  Yeah, I removed all .eclipse and yet I had a problem.  Please find the following output.  Strange,,, It says that "no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file".

tyd3# eclipse -consolelog -debug
Start VM: /usr/local/jdk1.6.0/bin/java
-Xms40m
-Xmx256m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/local/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/local/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-os freebsd
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/local/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64_1.0.200.200911061911/eclipse_1206.so
-startup /usr/local/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-exitdata 10012
-consolelog
-debug
-vm /usr/local/jdk1.6.0/bin/java
-vmargs
-Xms40m
-Xmx256m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/local/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/local/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
Install location:
    file:/usr/local/lib/eclipse/
Configuration file:
    file:/usr/local/lib/eclipse/configuration/config.ini loaded
Configuration location:
    file:/usr/local/lib/eclipse/configuration/
Framework located:
    file:/usr/local/lib/eclipse/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
Framework classpath:
    file:/usr/local/lib/eclipse/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
Splash location:
    /usr/local/lib/eclipse/plugins/org.eclipse.platform_3.3.200.v20090519/splash.bmp
Debug options:
    file:/home/users/ken/.options loaded
Time to load bundles: 7
Starting application: 4760
!SESSION 2009-11-06 22:57:49.325 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_03-p4
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=ja_JP
Command-line arguments:  -os freebsd -ws gtk -arch x86_64 -consolelog -debug

!ENTRY org.eclipse.osgi 4 0 2009-11-06 22:57:54.509
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
        at org.eclipse.swt.internal.C.<clinit>(C.java:21)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1291)
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Parent Message unknown Re: CFT: Eclipse Galileo 3.5

by Christopher T. Stone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Steph,

I've got the exact same error.
FreeBSD
7.2-STABLE, AMD64, Diablo-jdk-1.6.0 (Package)
Used a fresh cvsup of the port patched
with the original eclipse35.diff with gpatch.

I'll try the
eclipse35_1.diff tonight and send the build output.

~Chris

>>
Hi,
>> I build Galileo under FreeBSD 8.0RC2, It is
ok, but run eclipse, I got
>> this
error:
>>
>> !SESSION 2009-11-05 13:41:17.764
>> -----------------------------------------------
>> eclipse.buildId=I20090611-1540
>> java.version=1.6.0_03-p4
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk,
NL=zh_CN
>> Command-line arguments:  -os
freebsd -ws gtk -arch x86_64
>>
>> !ENTRY org.eclipse.osgi 4 0 2009-11-05 13:41:18.651
>> !MESSAGE Application error
>> !STACK 1
>>
java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
>>-----SNIP-----
>>

>Hi,
>
>Could you please send me offline the build output?
(Do not send it to the list, it
>will be very large).
>
>Regards,
>
>Steph



_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Parent Message unknown Re: CFT: Eclipse Galileo 3.5

by `hwh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stephane E. Potvin 写道:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Huang wen hui wrote:
>  
>> Stephane E. Potvin 写道:
>> Huang wen hui wrote:
>>  
>>    
>>>>> Stephane E. Potvin wrote:
>>>>>    
>>>>>          
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>> Hi everyone,
>>>>>>
>>>>>> I'm at last ready to have some public testing of the
>>>>>> 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86 platform
>>>>>> has been
>>>>>> the least tested (actually, not at all this time  ;)  so I'd
>>>>>> appreciate to have feedback for this one. I've also only done testing
>>>>>> with the native jdk1.6.0 from ports (java/jdk16) so please indicate
>>>>>> which jdk you're using if you send me a go/no-go.
>>>>>>
>>>>>> Highlights:
>>>>>> - - First FreeBSD Galileo release
>>>>>> - - The build is now using eclipse-build from the "Linux Tools" project
>>>>>> - - Patches are now much more simple and have been split into two
>>>>>> parts for easier push upstream (one against eclipse-build and the
>>>>>> other for eclipse itself)
>>>>>> - - The only Gecko provider supported is now libxul
>>>>>> - - The gnome dependencies are now static and no longer configurable
>>>>>> via options (there might be one or two that are no longer
>>>>>> necessary but I haven't gotten around yet to check which one)
>>>>>> - - Eclipse installs in ${PREFIX}/lib/eclipse instead of
>>>>>> ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
>>>>>> - - New dropins directory is in ${PREFIX}/share/eclipse/dropins. This
>>>>>> directory can be used for features/plugins that are not
>>>>>> installed via the p2 provisioning engine. All the ports that are not
>>>>>> changed to use p2 will have to use this directory in the future
>>>>>> (this will be done in a separate patch).
>>>>>> - - The setup-user step is no longer necessary. p2 has been fixed
>>>>>> upstream and the user installed plugins are discovered correctly
>>>>>> even after a re-installation of eclipse.
>>>>>>
>>>>>> The patch can be found at the following address:
>>>>>>
>>>>>>     http://people.freebsd.org/~sepotvin/eclipse35.diff
>>>>>>
>>>>>> Have fun!
>>>>>>        
>>>>>>            
>>>>> Hi,
>>>>> I build Galileo under FreeBSD 8.0RC2, It is ok, but run eclipse, I got
>>>>> this error:
>>>>>
>>>>> !SESSION 2009-11-05 13:41:17.764
>>>>> -----------------------------------------------
>>>>> eclipse.buildId=I20090611-1540
>>>>> java.version=1.6.0_03-p4
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=zh_CN
>>>>> Command-line arguments:  -os freebsd -ws gtk -arch x86_64
>>>>>
>>>>> !ENTRY org.eclipse.osgi 4 0 2009-11-05 13:41:18.651
>>>>> !MESSAGE Application error
>>>>> !STACK 1
>>>>> java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
>>>>> swt.library.path, java.library.path or the jar file
>>>>>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
>>>>>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
>>>>>    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
>>>>>    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>>>>>    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>>>>>    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
>>>>>    at
>>>>> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
>>>>>    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>>>>>    at
>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
>>>>>
>>>>>
>>>>>    at
>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
>>>>>
>>>>>
>>>>>    at
>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
>>>>>
>>>>>
>>>>>    at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>>>>
>>>>>
>>>>>    at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>>>>
>>>>>
>>>>>    at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
>>>>>
>>>>>
>>>>>    at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>>>>
>>>>>
>>>>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>    at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>
>>>>>
>>>>>    at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>
>>>>>
>>>>>    at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
>>>>>    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
>>>>>    at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
>>>>>    at org.eclipse.equinox.launcher.Main.main(Main.java:1291)
>>>>>
>>>>> I try to find libswt-gtk-3550*.so under work directory, could not found
>>>>> right one.
>>>>>
>>>>> any ideas?
>>>>>
>>>>>    
>>>>>          
>> Hi,
>>
>> Could you please send me offline the build output? (Do not send it to
>> the list, it will be very large).
>>
>> Regards,
>>
>> Steph
>>    
>
> Hi,
>
> - From the transcript you've sent me, it looks like the eclipse35.diff didn't apply correctly.
>
>      [exec] missing header for unified diff at line 10 of patch
>      [exec] can't find file to patch at input line 10
>      [exec] Perhaps you used the wrong -p or --strip option?
>      [exec] The text leading up to this was:
>      [exec] --------------------------
>      [exec] |### Eclipse Workspace Patch 1.0
>      [exec] |#P org.eclipse.swt
>      [exec] |Index: Eclipse SWT PI/gtk/library/build.sh
>      [exec] |===================================================================
>      [exec] |RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh,v
>      [exec] |retrieving revision 1.54
>      [exec] |diff -u -r1.54 build.sh
>      [exec] |--- Eclipse SWT PI/gtk/library/build.sh 29 May 2009 21:30:14 -0000 1.54
>      [exec] |+++ Eclipse SWT PI/gtk/library/build.sh 1 Jun 2009 18:44:43 -0000
>      [exec] --------------------------
>      [exec] File to patch:
>      [exec] Skip this patch? [y]
>      [exec] Skipping patch.
>      [exec] 1 out of 1 hunk ignored
>      [exec] Result: 1
>
> Make sure that you start with a clean java/eclipse directory (erase it and check it out again), then use gpatch from ports to apply
> the eclipse diff, patch won't work. While you're at it, you should use the new eclipse35_1.diff patch which is available at the same
> location than the original one. It will fix a plist issue and enable the build to complete on the x86 platform.
>  
I upgrade devel/patch, rebuild eclipse again, this time patch is clean.
I still got this problem:

!ENTRY org.eclipse.osgi 4 0 2009-11-07 09:21:25.003
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
swt.library.path, java.library.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)

in build log, found:


     [exec] cc -L/usr/local/jdk1.6.0/jre/lib/amd64 -ljawt -shared -s -o
libswt-awt-gtk-3550.so swt_awt.o^M
     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
-fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
-I/usr/local/jdk1.6.0/include -I/usr/local/jdk
1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown -DNO__1XPCOMGlueStartup
-DNO__1XPCOMGlueLoadXULFunctions
-DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
oad_2I
-DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
-DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
-DNO__1Call__JJJJJI -DNO_nsDynamicFu
nctionLoad -I/usr/local/include/mozilla
-I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
-I/usr/local/include/nspr   -c xpcom.cpp^M
     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
-fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
-I/usr/local/jdk1.6.0/include -I/usr/local/jdk
1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown -DNO__1XPCOMGlueStartup
-DNO__1XPCOMGlueLoadXULFunctions
-DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
oad_2I
-DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
-DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
-DNO__1Call__JJJJJI -DNO_nsDynamicFu
nctionLoad -I/usr/local/include/mozilla
-I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
-I/usr/local/include/nspr   -c xpcom_custom.cpp^M
     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
-fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
-I/usr/local/jdk1.6.0/include -I/usr/local/jdk
1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown -DNO__1XPCOMGlueStartup
-DNO__1XPCOMGlueLoadXULFunctions
-DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
oad_2I
-DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
-DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
-DNO__1Call__JJJJJI -DNO_nsDynamicFu
nctionLoad -I/usr/local/include/mozilla
-I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
-I/usr/local/include/nspr   -c xpcom_structs.cpp^M
     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
-fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
-I/usr/local/jdk1.6.0/include -I/usr/local/jdk
1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown -DNO__1XPCOMGlueStartup
-DNO__1XPCOMGlueLoadXULFunctions
-DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
oad_2I
-DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
-DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
-DNO__1Call__JJJJJI -DNO_nsDynamicFu
nctionLoad -I/usr/local/include/mozilla
-I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
-I/usr/local/include/nspr   -c xpcom_stats.cpp^M
     [exec] c++ -o libswt-mozilla-gtk-3550.so swt.o xpcom.o
xpcom_custom.o xpcom_structs.o xpcom_stats.o -shared
-Wl,--version-script=mozilla_exports -Bsymbolic -s -Wl,-rpa
th,/usr/local/lib/mozilla -pthread -L/usr/local/lib/mozilla
-L/usr/local/lib -lxpcom -lplds4 -lplc4 -lnspr4  ^M
     [exec] /usr/bin/ld: cannot find -lxpcom^M
     [exec] gmake: *** [libswt-mozilla-gtk-3550.so]
\xe9\x94\x99\xe8\xaf\xaf 1^M
     [exec] Result: 2^M
     [exec] Building FreeBSD launcher. Defaults: -os freebsd -arch
x86_64 -ws gtk^M
     [exec] rm -f eclipse eclipse_1206.so eclipseMain.o eclipseConfig.o
eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o eclipse.o
eclipseGtk.o eclipseUtil.o eclipseJNI.
o eclipseMozilla.o eclipseShm.o eclipseNix.o^M




I manually cp libswt*.so to /usr/local/lib, eclipse can start and open
dialog crash problem is gone.

--hwh

_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."

Re: CFT: Eclipse Galileo 3.5

by Christopher T. Stone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Huang wen hui wrote:

> Stephane E. Potvin 写道:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Huang wen hui wrote:
>>  
>>> Stephane E. Potvin 写道:
>>> Huang wen hui wrote:
>>>  
>>>    
>>>>>> Stephane E. Potvin wrote:
>>>>>>            
>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>> Hash: SHA1
>>>>>>>
>>>>>>> Hi everyone,
>>>>>>>
>>>>>>> I'm at last ready to have some public testing of the
>>>>>>> 3.5.0-I20090611-1540 port of Eclipse (aka Galileo). The x86
>>>>>>> platform
>>>>>>> has been
>>>>>>> the least tested (actually, not at all this time  ;)  so I'd
>>>>>>> appreciate to have feedback for this one. I've also only done
>>>>>>> testing
>>>>>>> with the native jdk1.6.0 from ports (java/jdk16) so please indicate
>>>>>>> which jdk you're using if you send me a go/no-go.
>>>>>>>
>>>>>>> Highlights:
>>>>>>> - - First FreeBSD Galileo release
>>>>>>> - - The build is now using eclipse-build from the "Linux Tools"
>>>>>>> project
>>>>>>> - - Patches are now much more simple and have been split into two
>>>>>>> parts for easier push upstream (one against eclipse-build and the
>>>>>>> other for eclipse itself)
>>>>>>> - - The only Gecko provider supported is now libxul
>>>>>>> - - The gnome dependencies are now static and no longer
>>>>>>> configurable
>>>>>>> via options (there might be one or two that are no longer
>>>>>>> necessary but I haven't gotten around yet to check which one)
>>>>>>> - - Eclipse installs in ${PREFIX}/lib/eclipse instead of
>>>>>>> ${PREFIX}/eclipse to reduce pollution in ${PREFIX}
>>>>>>> - - New dropins directory is in ${PREFIX}/share/eclipse/dropins.
>>>>>>> This
>>>>>>> directory can be used for features/plugins that are not
>>>>>>> installed via the p2 provisioning engine. All the ports that are
>>>>>>> not
>>>>>>> changed to use p2 will have to use this directory in the future
>>>>>>> (this will be done in a separate patch).
>>>>>>> - - The setup-user step is no longer necessary. p2 has been fixed
>>>>>>> upstream and the user installed plugins are discovered correctly
>>>>>>> even after a re-installation of eclipse.
>>>>>>>
>>>>>>> The patch can be found at the following address:
>>>>>>>
>>>>>>>     http://people.freebsd.org/~sepotvin/eclipse35.diff
>>>>>>>
>>>>>>> Have fun!
>>>>>>>                    
>>>>>> Hi,
>>>>>> I build Galileo under FreeBSD 8.0RC2, It is ok, but run eclipse,
>>>>>> I got
>>>>>> this error:
>>>>>>
>>>>>> !SESSION 2009-11-05 13:41:17.764
>>>>>> -----------------------------------------------
>>>>>> eclipse.buildId=I20090611-1540
>>>>>> java.version=1.6.0_03-p4
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=zh_CN
>>>>>> Command-line arguments:  -os freebsd -ws gtk -arch x86_64
>>>>>>
>>>>>> !ENTRY org.eclipse.osgi 4 0 2009-11-05 13:41:18.651
>>>>>> !MESSAGE Application error
>>>>>> !STACK 1
>>>>>> java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
>>>>>> swt.library.path, java.library.path or the jar file
>>>>>>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
>>>>>>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
>>>>>>    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
>>>>>>    at
>>>>>> org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>>>>>>    at
>>>>>> org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>>>>>>    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
>>>>>>    at
>>>>>> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
>>>>>>    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>>>>>>    at
>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>    at
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>
>>>>>>
>>>>>>
>>>>>>    at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>    at
>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:563)
>>>>>>    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:518)
>>>>>>    at org.eclipse.equinox.launcher.Main.run(Main.java:1315)
>>>>>>    at org.eclipse.equinox.launcher.Main.main(Main.java:1291)
>>>>>>
>>>>>> I try to find libswt-gtk-3550*.so under work directory, could not
>>>>>> found
>>>>>> right one.
>>>>>>
>>>>>> any ideas?
>>>>>>
>>>>>>              
>>> Hi,
>>>
>>> Could you please send me offline the build output? (Do not send it to
>>> the list, it will be very large).
>>>
>>> Regards,
>>>
>>> Steph
>>>    
>>
>> Hi,
>>
>> - From the transcript you've sent me, it looks like the
>> eclipse35.diff didn't apply correctly.
>>
>>      [exec] missing header for unified diff at line 10 of patch
>>      [exec] can't find file to patch at input line 10
>>      [exec] Perhaps you used the wrong -p or --strip option?
>>      [exec] The text leading up to this was:
>>      [exec] --------------------------
>>      [exec] |### Eclipse Workspace Patch 1.0
>>      [exec] |#P org.eclipse.swt
>>      [exec] |Index: Eclipse SWT PI/gtk/library/build.sh
>>      [exec]
>> |===================================================================
>>      [exec] |RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT
>> PI/gtk/library/build.sh,v
>>      [exec] |retrieving revision 1.54
>>      [exec] |diff -u -r1.54 build.sh
>>      [exec] |--- Eclipse SWT PI/gtk/library/build.sh    29 May 2009
>> 21:30:14 -0000    1.54
>>      [exec] |+++ Eclipse SWT PI/gtk/library/build.sh    1 Jun 2009
>> 18:44:43 -0000
>>      [exec] --------------------------
>>      [exec] File to patch:
>>      [exec] Skip this patch? [y]
>>      [exec] Skipping patch.
>>      [exec] 1 out of 1 hunk ignored
>>      [exec] Result: 1
>>
>> Make sure that you start with a clean java/eclipse directory (erase
>> it and check it out again), then use gpatch from ports to apply
>> the eclipse diff, patch won't work. While you're at it, you should
>> use the new eclipse35_1.diff patch which is available at the same
>> location than the original one. It will fix a plist issue and enable
>> the build to complete on the x86 platform.
>>  
> I upgrade devel/patch, rebuild eclipse again, this time patch is
> clean. I still got this problem:
>
> !ENTRY org.eclipse.osgi 4 0 2009-11-07 09:21:25.003
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in
> swt.library.path, java.library.path or the jar file
>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
>    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
>    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
>    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>
> in build log, found:
>
>
>     [exec] cc -L/usr/local/jdk1.6.0/jre/lib/amd64 -ljawt -shared -s -o
> libswt-awt-gtk-3550.so swt_awt.o^M
>     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
> -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
> -I/usr/local/jdk1.6.0/include -I/usr/local/jdk
> 1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown
> -DNO__1XPCOMGlueStartup -DNO__1XPCOMGlueLoadXULFunctions
> -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
> oad_2I
> -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
> -DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
> -DNO__1Call__JJJJJI -DNO_nsDynamicFu
> nctionLoad -I/usr/local/include/mozilla
> -I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
> -I/usr/local/include/nspr   -c xpcom.cpp^M
>     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
> -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
> -I/usr/local/jdk1.6.0/include -I/usr/local/jdk
> 1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown
> -DNO__1XPCOMGlueStartup -DNO__1XPCOMGlueLoadXULFunctions
> -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
> oad_2I
> -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
> -DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
> -DNO__1Call__JJJJJI -DNO_nsDynamicFu
> nctionLoad -I/usr/local/include/mozilla
> -I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
> -I/usr/local/include/nspr   -c xpcom_custom.cpp^M
>     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
> -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
> -I/usr/local/jdk1.6.0/include -I/usr/local/jdk
> 1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown
> -DNO__1XPCOMGlueStartup -DNO__1XPCOMGlueLoadXULFunctions
> -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
> oad_2I
> -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
> -DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
> -DNO__1Call__JJJJJI -DNO_nsDynamicFu
> nctionLoad -I/usr/local/include/mozilla
> -I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
> -I/usr/local/include/nspr   -c xpcom_structs.cpp^M
>     [exec] c++ -O -DSWT_VERSION=3550  -DMOZILLA_STRICT_API=1 -fno-rtti
> -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
> -I/usr/local/jdk1.6.0/include -I/usr/local/jdk
> 1.6.0/include/freebsd  -DNO__1XPCOMGlueShutdown
> -DNO__1XPCOMGlueStartup -DNO__1XPCOMGlueLoadXULFunctions
> -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionL
> oad_2I
> -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J
> -DNO_nsDynamicFunctionLoad_1sizeof -DNO__1Call__IIIIII
> -DNO__1Call__JJJJJI -DNO_nsDynamicFu
> nctionLoad -I/usr/local/include/mozilla
> -I/usr/local/include/mozilla/xpcom -I/usr/local/include/mozilla/string
> -I/usr/local/include/nspr   -c xpcom_stats.cpp^M
>     [exec] c++ -o libswt-mozilla-gtk-3550.so swt.o xpcom.o
> xpcom_custom.o xpcom_structs.o xpcom_stats.o -shared
> -Wl,--version-script=mozilla_exports -Bsymbolic -s -Wl,-rpa
> th,/usr/local/lib/mozilla -pthread -L/usr/local/lib/mozilla
> -L/usr/local/lib -lxpcom -lplds4 -lplc4 -lnspr4  ^M
>     [exec] /usr/bin/ld: cannot find -lxpcom^M
>     [exec] gmake: *** [libswt-mozilla-gtk-3550.so]
> \xe9\x94\x99\xe8\xaf\xaf 1^M
>     [exec] Result: 2^M
>     [exec] Building FreeBSD launcher. Defaults: -os freebsd -arch
> x86_64 -ws gtk^M
>     [exec] rm -f eclipse eclipse_1206.so eclipseMain.o eclipseConfig.o
> eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o eclipse.o
> eclipseGtk.o eclipseUtil.o eclipseJNI.
> o eclipseMozilla.o eclipseShm.o eclipseNix.o^M
>
>
>
>
> I manually cp libswt*.so to /usr/local/lib, eclipse can start and open
> dialog crash problem is gone.
>
> --hwh
>
> _______________________________________________
> freebsd-eclipse@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
> To unsubscribe, send any mail to
> "freebsd-eclipse-unsubscribe@..."
>
Same here. I had the exact same problem. Copied the following files from
the build directory and it works great:
libswt-atk-gtk-3550.so -> /usr/local/lib/libswt-atk-gtk-3550.so
libswt-mozilla-gtk-3550.so -> /usr/local/lib/libswt-mozilla-gtk-3550.so
libswt-gtk-3550.so -> /usr/local/lib/libswt-gtk-3550.so
libswt-gnome-gtk-3550.so -> /usr/local/lib/libswt-gnome-gtk-3550.so
libswt-glx-gtk-3550.so -> /usr/local/lib/libswt-glx-gtk-3550.so
libswt-cairo-gtk-3550.so -> /usr/local/lib/libswt-cairo-gtk-3550.so
libswt-awt-gtk-3550.so -> /usr/local/lib/libswt-awt-gtk-3550.so
libswt-pi-gtk-3550.so -> /usr/local/lib/libswt-pi-gtk-3550.so

Also, the eclipse-cdt-3.1.2 works if you fudge localbase to the new
location.

~Chris Stone
_______________________________________________
freebsd-eclipse@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@..."
< Prev | 1 - 2 | Next >