Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150446 - version bump: dev-util/eclipse-sdk-3.3 (europa) - dropped ppc keyword
Summary: version bump: dev-util/eclipse-sdk-3.3 (europa) - dropped ppc keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest enhancement with 1 vote (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: KEYWORDREQ
: 167665 (view as bug list)
Depends on: junit4 207270
Blocks:
  Show dependency tree
 
Reported: 2006-10-08 02:26 UTC by Tomasz L. Nowak
Modified: 2008-03-11 09:03 UTC (History)
52 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
eclipse-sdk-3.3.ebuild (eclipse-sdk-3.3.ebuild,6.01 KB, text/plain)
2007-07-02 15:35 UTC, John J. Aylward
Details
eclipse-sdk-3.3.ebuild (eclipse-sdk-3.3.ebuild,4.96 KB, text/plain)
2007-07-02 16:18 UTC, John J. Aylward
Details
eclipse-sdk-3.3.ebuild (eclipse-sdk-3.3.ebuild,5.63 KB, text/plain)
2007-07-02 17:00 UTC, John J. Aylward
Details
eclipse-sdk-3.3.ebuild (eclipse-sdk-3.3.ebuild,7.62 KB, text/plain)
2007-07-13 06:46 UTC, Daniel Santos
Details
Updated Eclipse 3.3 ebuild (eclipse-sdk-3.3.ebuild,7.71 KB, text/plain)
2007-08-25 11:35 UTC, Michael Curtis
Details
build.xml patch (eclipse-3.3-build.patch,923 bytes, patch)
2007-08-25 11:36 UTC, Michael Curtis
Details | Diff
Eclipse-3.3 overlay (eclipse-overlay.tar.bz2,36.71 KB, application/octet-stream)
2007-10-04 13:37 UTC, Mike Auty (RETIRED)
Details
logfile eclipse (eclipse-log,7.74 KB, text/plain)
2007-12-19 19:23 UTC, Bastiaan Visser
Details
Complete build log (build.log,4.41 KB, text/plain)
2008-01-09 20:06 UTC, Yuval Hager
Details
eclipse-sdk-3.3.1.1-r3.ebuild (eclipse-sdk-3.3.1.1-r3.ebuild,12.47 KB, text/plain)
2008-01-10 06:52 UTC, Yuval Hager
Details
eclipse error logfile I got it working on my other computer (x86_64 too with almost same config). This should be old overlay packages creating problems... I dont know where to look (cleaned all /usr/lib*/eclipse* directories) (eclipse-log.log,61.25 KB, text/plain)
2008-01-21 22:50 UTC, Ludovic Favre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz L. Nowak 2006-10-08 02:26:52 UTC
The web page about Eclipse 3.3M2: http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/index.php
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-10-11 05:26:31 UTC
Priority on this is going to be pretty low for now, since it is still early in the Eclipse release cycle.
Comment 2 Kevin Bryan 2007-04-20 14:03:52 UTC
According to [1], the current 3.3 release (M6) is the API freeze, and next month is feature freeze.  They expect a stable build in June.  Is it time to bump the priority?

[1] http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_3.html
Comment 3 Marcus Beyer 2007-06-14 12:09:40 UTC
I agree, the current Version M6 is alreade very stable, i am using it alreade in a productiv environment. I think due to the fact that release date is aimed to end of june this should get a higher priority.
Comment 4 Kliakhandler Kosta 2007-07-01 20:00:11 UTC
Any news regarding this? 3.3 is already out and the link is dead...
Comment 5 Jason Yamada-Hanff 2007-07-02 07:56:53 UTC
Eclipse 3.3 has been released, and many plugins rely on the 3.3 version.  As such, the priority of this should be bumped up!  Thanks.
Comment 6 Mike Auty (RETIRED) gentoo-dev 2007-07-02 11:21:26 UTC
I believe the java herd are listed as the maintainers for eclipse-sdk, so I'm reassigning this and removing the _pre2 since 3.3 is now available.
Comment 7 John J. Aylward 2007-07-02 15:35:20 UTC
Created attachment 123626 [details]
eclipse-sdk-3.3.ebuild

used directions I found here for deps, otherwise I used the deps from 3.2
http://europa-mirror1.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/srcIncludedBuildInstructions.html

I also removed the applypatchset function since it seemed specific to 3.2

I'm building now, so I'm not sure it really works, but it at least fetches properly
Comment 8 Matt Kynx 2007-07-02 16:16:43 UTC
(In reply to comment #7)
> I'm building now, so I'm not sure it really works, but it at least fetches
> properly

I get:

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/eclipse-sdk-3.3-gentoo-libswt-enableallandO2.patch
 *   ( eclipse-sdk-3.3-gentoo-libswt-enableallandO2.patch )




Comment 9 John J. Aylward 2007-07-02 16:18:50 UTC
Created attachment 123628 [details]
eclipse-sdk-3.3.ebuild

had some problems compileing the seamonkey support, I left the functions in but removed the use flag for now. maybe someone could help me get that working
Comment 10 John J. Aylward 2007-07-02 16:19:49 UTC
(In reply to comment #8)
> I get:
> 
>  * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
>  * 


Yeah, I missed one of the patches, I cleared that out too in the new ebuild
Comment 11 John J. Aylward 2007-07-02 17:00:36 UTC
Created attachment 123693 [details]
eclipse-sdk-3.3.ebuild

ok, sorry for another email, but I only removed the dep for seamonkey, not the use flag, I was editing too quick... 

I now get a missing jni.h file when compiling, so it still doesn't work. Maybe someone familiar with the 3.2 ebuild can take a look and see what deps are missing, or perhaps a path that needs to be specified? I had thought the jni.h would be part of the VM path args
Comment 12 Matt Kynx 2007-07-03 09:05:22 UTC
Forgot to add myself to CC list.
Comment 13 Sergey Belyashov 2007-07-08 16:32:35 UTC
I try latest ebuild. Is this normal?

>>> Unpacking eclipse-sourceBuild-srcIncluded-3.3.zip to /var/tmp/portage/dev-util/eclipse-sdk-3.3/work
 * Enabling GNOME VFS support
 * Enabling CAIRO support
 * Enabling OpenGL support
/usr/local/portage/dev-util/eclipse-sdk/eclipse-sdk-3.3.ebuild: line 86: pushd: plugins/org.junit: No such file or directory
rm: cannot remove `*.jar': No such file or directory
/usr/local/portage/dev-util/eclipse-sdk/eclipse-sdk-3.3.ebuild: line 89: popd: directory stack empty
/usr/local/portage/dev-util/eclipse-sdk/eclipse-sdk-3.3.ebuild: line 91: pushd: plugins/org.apache.lucene: No such file or directory
/usr/local/portage/dev-util/eclipse-sdk/eclipse-sdk-3.3.ebuild: line 94: popd: directory stack empty
>>> Source unpacked.
Comment 14 Sergey Belyashov 2007-07-08 16:43:22 UTC
... And compiling finished by error:
 [javac] 45 problems (45 warnings)
     [exec] build.sh: line 68: [: too many arguments
     [exec] callback.c: In function 'Java_org_eclipse_swt_internal_Callback_bind':
     [exec] callback.c:203: warning: cast from pointer to integer of different size
     [exec] In file included from ../eclipse.c:137:
     [exec] ../eclipseJNI.h:15:17: error: jni.h: No such file or directory
     [exec] In file included from ../eclipse.c:137:
     [exec] ../eclipseJNI.h:25: error: expected ')' before '*' token
     [exec] ../eclipseJNI.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
     [exec] ../eclipseJNI.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
     [exec] ../eclipseJNI.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jlong'
     [exec] ../eclipseJNI.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
     [exec] ../eclipseJNI.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
     [exec] ../eclipse.c:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
     [exec] ../eclipse.c:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
     [exec] make: *** [eclipse.o] Error 1
Comment 15 Daniel Santos 2007-07-12 22:28:56 UTC
bug needs search term "europa" in it :)
Comment 16 Mike Auty (RETIRED) gentoo-dev 2007-07-13 00:30:41 UTC
Whilst I remember, there is a seemingly working ebuild in the java-gcj-overlay, but I'm not certain I'd recommend it for everybody.  It appears to require jdk-1.5 (not jdk-1.6, although I tweaked it to allow 1.6 and everything seems fine) and it pulls in eclipse-ecj, which wasn't necessary to build previous versions.  It also requires other packages that are only present in the gcj overlay (a 3.3 slotted version of swt, and a couple others).  It will, however, install and once it's all up and running everything seems pretty stable...
Comment 17 Daniel Santos 2007-07-13 04:06:55 UTC
(In reply to comment #13)
> I try latest ebuild. Is this normal?

> plugins/org.junit: No such file or directory
> plugins/org.apache.lucene: No such file or directory

No, this is not normal.  I'm still pretty novice here, but it looks like the old 3.2 ebuild nuked the included JUnit and used the one that was already installed.  However, they are using Junit 4.3.1 (the current latest) and there is currently only an ebuild for 3.8.1.  So we need to either a) create a 4.3.1 ebuild for JUnit and adjust eclipse-3.3 ebuild accordingly, or b) use the JUnit included with eclipse-3.3.  Personally, I'm presuming that there was a reason to nuke the original and use the portage-installed JUnit (but I'm still a n00b).

I haven't figured out much with the lucene either.  Also, each of these needs an "|| die" attached the pushd, etc.
Comment 18 Daniel Santos 2007-07-13 04:33:43 UTC
(In reply to comment #14)
I also had some of these problems which concerned me:
      [exec] build.sh: line 68: [: too many arguments
and
      [exec] callback.c: In function
 'Java_org_eclipse_swt_internal_Callback_bind':
      [exec] callback.c:203: warning: cast from pointer to integer of different size

I did not receive any of the other errors you listed.  However, I segfault upon startup and I always feel queasy when pointers are getting cast to differing sizes.  I'm on an amd64, so I have to suspect that it's trying to use a 32 bit integer for one of my pointer, but I haven't been able to trace this down yet.  I'm not sure if it's useful to spam this bug with my crash data, but if anybody wants it, tell me.
Comment 19 Daniel Santos 2007-07-13 06:46:50 UTC
Created attachment 124735 [details]
eclipse-sdk-3.3.ebuild

eclipse-sdk-3.3.ebuild

fixed / enhanced:

* CFLAGS are modified in all places I could discover.
* Adds support for "debug" USE flag (although it doesn't turn it on for java compiles, just C/C++)

broken / needs attention:
* Added a requirement for JUnit 4.3.1, of which there isn't an ebuild yet (so change it for testing, sorry)
* lucene stuff still broken (pushd/popd still fails)
* Updated TODO comments on CFLAGS (please review)
* Although I've updated the CFLAGS in every relevant place, I haven't yet figured out how to make it rebuild all of the pre-built libraries and I still don't understand a lot of this build.

Anyway, please peer-review (this stuff is still new for me)
Comment 20 Juan Manuel Docile 2007-08-03 20:29:02 UTC
Hi, I've this problem, I'm trying to compile with this version of Eclipse.

eclipse-SDK-3.3-linux-gtk-x86_64.tar.gz

sed: can't read plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak: No such file or directory

!!! ERROR: dev-util/eclipse-sdk-3.3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_unpack
  ebuild.sh, line 753:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  eclipse-sdk-3.3.ebuild, line 78:   Called fix-swt-targets
  eclipse-sdk-3.3.ebuild, line 230:   Called die

!!! Failed to tweak make_linux.mak
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.3/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.02"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info
Comment 21 John J. Aylward 2007-08-03 20:39:23 UTC
(In reply to comment #20)
> Hi, I've this problem, I'm trying to compile with this version of Eclipse.

yeah we are waiting on some features in portage before continuing on this as we need jUnit 4 and some other things that just aren't in yet. You should probably stick with 3.2 for now, or just install the binary from the eclipse website manually for now if you really need 3.3

Comment 22 John J. Aylward 2007-08-03 20:42:15 UTC
on that last note, could someone add bug 129773 to the depends on field, apparently I don't have sufficient privileges.
Comment 23 Uwe Klosa 2007-08-22 08:34:11 UTC
The latest ebuild does not compile on my system. I got java compile errors. Here are the las lines of the output:

    [javac] 46. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java (at line 20)
    [javac]     import org.junit.runner.notification.RunNotifier;
    [javac]            ^^^^^^^^^
    [javac] The import org.junit cannot be resolved
    [javac] ----------
    [javac] 47. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java (at line 23)
    [javac]     protected Runner fRunner;
    [javac]               ^^^^^^
    [javac] Runner cannot be resolved to a type
    [javac] ----------
    [javac] 48. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java (at line 25)
    [javac]     public JUnit4TestReference(Request request) {
    [javac]                                ^^^^^^^
    [javac] Request cannot be resolved to a type
    [javac] ----------
    [javac] 49. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java (at line 30)
    [javac]     final RunNotifier notifier= new RunNotifier();
    [javac]           ^^^^^^^^^^^
    [javac] RunNotifier cannot be resolved to a type
    [javac] ----------
    [javac] 50. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java (at line 30)
    [javac]     final RunNotifier notifier= new RunNotifier();
    [javac]                                     ^^^^^^^^^^^
    [javac] RunNotifier cannot be resolved to a type
    [javac] ----------
    [javac] 51. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java (at line 38)
    [javac]     fRunner.run(notifier);
    [javac]     ^^^^^^^
    [javac] fRunner cannot be resolved
    [javac] ----------
    [javac] 51 problems (51 errors)

BUILD FAILED
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/build.xml:68: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/build.xml:8: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/features/org.eclipse.sdk/build.xml:37: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/features/org.eclipse.sdk/build.xml:21: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/features/org.eclipse.jdt/build.xml:119: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/features/org.eclipse.jdt/build.xml:25: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/build.xml:115: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.3/work/plugins/org.eclipse.jdt.junit4.runtime/build.xml:82: Compile failed; see the compiler error output for details.

Total time: 6 minutes 6 seconds

!!! ERROR: dev-util/eclipse-sdk-3.3 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  eclipse-sdk-3.3.ebuild, line 177:   Called die

GENTOO_VM=sun-jdk-1.6  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.6.0.02"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
Comment 24 Victor 2007-08-24 13:33:15 UTC
(In reply to comment #23)
> The latest ebuild does not compile on my system. I got java compile errors.
> Here are the las lines of the output:

You need install java-overlay and gcj-overlay at first. 
Have a look at http://overlays.gentoo.org/proj/java/wiki/GCJ_as_a_JDK

Best regards,
Victor
Comment 25 Michael Curtis 2007-08-25 11:35:15 UTC
Created attachment 129141 [details]
Updated Eclipse 3.3 ebuild

I had trouble compiling the launcher on my system, errors due to not finding the JDK include folder.  This ebuild and associated build.xml patch solves the problem  for me.  Have been running Eclipse 3.3 here for a couple of days with no untoward issues, except the launcher must be manually given the path the java, otherwise it tries to call run-java-tool directly.  Suspect one of the patches in the files directory for 3.2 may solve this problem.  Will experiment next week to see which patches are still necessary / apply cleanly if nobody else does.
Comment 26 Michael Curtis 2007-08-25 11:36:00 UTC
Created attachment 129143 [details, diff]
build.xml patch
Comment 27 Travis Hansen 2007-09-11 04:28:37 UTC
Any news on getting this into portage?  3.3 is required with newer builds of PDT.  Thanks for the help!
Comment 28 Alistair Bush (RETIRED) gentoo-dev 2007-09-11 06:26:29 UTC
For this to get into portage, it has to work.  

and seemingly on ~amd64 it doesn't.  It builds fine, etc, etc but results in this....

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000cf023530, pid=15533, tid=1076017488
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_02-b05 mixed mode)
# Problematic frame:
# C  0x00000000cf023530
#
# An error report file with more information is saved as hs_err_pid15533.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

I also have some questions as to some of the eclasses this ebuild inherits.  As I really see no reason for them. ( aka multilib ).

So how many amd64 users have tested this?

Currently there are a couple of attempts of mine to get eclipse running, one of which was taken from the gcj-overlay (and which works)
Comment 29 Travis Hansen 2007-09-12 21:32:48 UTC
I don't care which specific ebuild gets used, I'd just like to see an updated version of eclipse :)  I'm running ~amd64...which ebuild should I test, the one attached to this bug or one in the overlay?
Comment 30 Alistair Bush (RETIRED) gentoo-dev 2007-09-13 07:24:25 UTC
Try this one,  then the overlay, then scratch your head.

If you manage to get any of them working. I WANT TO SPEAK TO YOU.
Comment 31 Gianluca Parmiggiani 2007-09-17 07:49:22 UTC
I tried the attached ebuild in this bug report, i needed to add the 
java-overlay but it compiled fine at last.
I've got a REALLY BIG ISSUE since with the compiled version i've not 
been able to launch ant builds within eclipse with an execution 
environment or a separate jre different than the jdk1.6
I'm now using eclipse from eclipse.org and everything works fine, i've 
read some where after a fast google search that it may be related to the 
jdk version used to compile eclipse but i'm not very sure of this.
(~x86)
Comment 32 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-09-21 14:51:17 UTC
I will try to adress this bug as I want to become the Eclipse maintainer. So far I have based my work upon an ebuild by ali_bush. It does not work currently because the Gentoo jars we are using are not compatible with Eclipse OSGi architecture. So I understand the issue now.

We are looking for short term solutions right now, so expect some progress to be made soon.
Comment 33 Mike Auty (RETIRED) gentoo-dev 2007-09-21 16:55:44 UTC
Jean-Noel,

I just wanted to check that there's communication going on between you, ali_bush and geki (who's got some mostly working eclipse-sdk-3.3 ebuilds in the gcj-overlay, they don't strictly require gcj to work)?

Also a general question, has anyone else been running into swt crashing problems using the gnome-2.20 stuff from the gnome-experimental overlay?  There's a tooltips patch floating about, but that hasn't seemed to have fixed the problem, so you may want to make users aware of that with an einfo until it gets fixed...

Glad there's some help going towards the eclipse-sdk, and that you've managed to get to the heart of the problem.  Keep it up!  5:)
Comment 34 Christoph Brill (egore) (RESIGNED) 2007-09-23 12:37:14 UTC
(In reply to comment #33)

> Also a general question, has anyone else been running into swt crashing
> problems using the gnome-2.20 stuff from the gnome-experimental overlay? 
> There's a tooltips patch floating about, but that hasn't seemed to have fixed
> the problem, so you may want to make users aware of that with an einfo until it
> gets fixed...

The according bug at gnome's bugzilla (sorry, forgot the number) states that building eclipse 3.3 against latest gtk should work. I didn't test it yet.
Comment 35 Mike Auty (RETIRED) gentoo-dev 2007-09-23 12:45:27 UTC
Thanks, I'm already watching http://bugzilla.gnome.org/show_bug.cgi?id=460194, but I'm still getting crashes (on two separate boxes) a short time after startup.  I'm probably going to end up filing a new upstream bug...
Comment 36 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-09-28 13:09:03 UTC
Hi, yes there is communications going on between me and ali_bush. I am also trying to get hold of geki.

I've got the OSGi problem sorted out but I am facing a new difficulty with SWT (the current ebuild I am working on does not produce correct SWT jars and nothing works.

What I need right now is an explanation from the previous ebuild writers - this means I'll try to talk to geki, as I think this is mostly his work.
Comment 37 Travis Hansen 2007-10-03 23:42:48 UTC
Any status updates on this?  Do we have some ebuilds to test or that are working at all?  If so which ones (from the overlay or the bug)?
Comment 38 Alistair Bush (RETIRED) gentoo-dev 2007-10-04 04:57:08 UTC
(In reply to comment #37)
> Any status updates on this?  Do we have some ebuilds to test or that are
> working at all?  If so which ones (from the overlay or the bug)?
> 

Elvanor is making progress.  But, as far as I understand, we are unable to get eclipse to run using a variety of ebuilds, including the one within this bug report.  My attention has been drawn away to more pressing issues but hopefully next week will give me time to play...
Comment 39 Alistair Bush (RETIRED) gentoo-dev 2007-10-04 05:02:52 UTC
*** Bug 167665 has been marked as a duplicate of this bug. ***
Comment 40 Marcello Magaldi 2007-10-04 08:45:28 UTC
(In reply to comment #16)
> Whilst I remember, there is a seemingly working ebuild in the java-gcj-overlay,

I tried that ebuild yesterday but I quickly downgrade to 3.2 again because mine 3.3 lost the cvs support ( I really need it) and Visual Editor doesn't even install
Comment 41 Mike Auty (RETIRED) gentoo-dev 2007-10-04 09:02:29 UTC
Marcello, 

The CVS client may now be an extension, rather than built into the main Eclipse-3.3 structure.  Have you tried doing an update from within Eclipse from the Europa update site, and selected Collaboration > Eclipse CVS Client?

As to the visual editor, that's also a feature I don't use, so I'm afraid I can't be of much help.  Otherwise can you run Eclipse-3.3 and use it suitably from the java-gcj-overlay?  

Later on, I'll post up a tarball of all the ebuilds I use (on the proviso that the ebuilds are completely hacked together and may injure your dog and get playful with your wife)...
Comment 42 Marcello Magaldi 2007-10-04 09:09:57 UTC
(In reply to comment #41)
> Marcello, 
> 
> The CVS client may now be an extension, rather than built into the main
> Eclipse-3.3 structure.  Have you tried doing an update from within Eclipse from
> the Europa update site, and selected Collaboration > Eclipse CVS Client?

yes, but I had to install it as root since the installer wants to install in the eclipse program directory, anyway It only added a perspective that let you browse an existing cvs: no cvs entries into Project->Team, I have 3 projects that are in cvs , launching eclipse 3.3 (also after cvs client installation) show me the projects like "normal" ones (no cvs url / no Team-> Commit or so on)

> 
> As to the visual editor, that's also a feature I don't use, so I'm afraid I
> can't be of much help.  Otherwise can you run Eclipse-3.3 and use it suitably
> from the java-gcj-overlay?  

I used that version , java-gcj overlay but without cvs support is useless for me.

> 
> Later on, I'll post up a tarball of all the ebuilds I use (on the proviso that
> the ebuilds are completely hacked together and may injure your dog and get
> playful with your wife)...
> 

Comment 43 Mike Auty (RETIRED) gentoo-dev 2007-10-04 13:37:04 UTC
Created attachment 132559 [details]
Eclipse-3.3 overlay

Marcello, 

It's possible the format they used to store the fact that the project is a CVS project may have changed.  I believe it's possible to re-associate a project with a Team view by right-clicking the project and selecting Team > Share Project (although I'm getting outside my realm of knowledge here).

Either way it sounds as though the ebuild for eclipse from the java-gcj-overlay is not in any way broken and both compiles and runs fine (which I think is most people's problem).

I'd suggest using those ebuilds myself, since I trust them more, but for those of you foolhardy enough to try anything, here are the ebuilds I've used to get eclipse-3.3 up and working on my machine.  As before, these ebuilds may hurt your wife and get playful with your dog, you have been warned...  5:)
Comment 44 Marcello Magaldi 2007-10-04 13:40:34 UTC
(In reply to comment #43)
> Created an attachment (id=132559) [edit]
> Eclipse-3.3 overlay
> 
> Marcello, 
> 
> It's possible the format they used to store the fact that the project is a CVS
> project may have changed.  I believe it's possible to re-associate a project
> with a Team view by right-clicking the project and selecting Team > Share
> Project (although I'm getting outside my realm of knowledge here).

the problem is that Team->Share Project doesn't take me to cvs, even after I installed the cvs client plugin.

> 
> Either way it sounds as though the ebuild for eclipse from the java-gcj-overlay
> is not in any way broken and both compiles and runs fine (which I think is most
> people's problem).
> 
> I'd suggest using those ebuilds myself, since I trust them more, but for those
> of you foolhardy enough to try anything, here are the ebuilds I've used to get
> eclipse-3.3 up and working on my machine.  As before, these ebuilds may hurt
> your wife and get playful with your dog, you have been warned...  5:)
> 

Comment 45 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-10-04 13:53:28 UTC
Hello.

I just committed a working 3.3 ebuild to the java-experimental overlay, along with  revisions to all the ebuilds needed to get Eclipse-3.3 working.

What working means: it loads on my box (amd64). I don't guarantee anything more, especially, I am actually aware that tons of things probably break. I know the CVS support is broken, I will take care of that, but this is just an initial ebuild for people that have been waiting for a long time.

Comment 46 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-10-05 09:22:13 UTC
My ebuild is 3.3-r2. Also, I just committed a fix this morning that prevented jsch from correctly building and thus prevented Eclipse from merging. Resync and reemerge jsch before attempting again.

Comment 47 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-10-12 14:05:53 UTC
Just updated the ebuild in the experimental overlay. Normally this should fix CVS support - just be sure to rebuild packages Eclipse depends on (namely, jsch, icu4j, ant-core, swt).
Comment 48 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-10-24 11:34:42 UTC
Another bump on the java-experimental overlay. The number or bundled dependencies is becoming really low now which is good.

The embedded help system is not working and I am aware of that (and trying to fix it). Everything else should be working :)
Comment 49 Bastiaan Visser 2007-10-25 09:46:54 UTC
(In reply to comment #48)
> Another bump on the java-experimental overlay. The number or bundled
> dependencies is becoming really low now which is good.
> 
> The embedded help system is not working and I am aware of that (and trying to
> fix it). Everything else should be working :)
> 
please update the manifest as well ;)
Comment 50 Alistair Bush (RETIRED) gentoo-dev 2007-10-25 21:03:21 UTC
(In reply to comment #48)
> Another bump on the java-experimental overlay. The number or bundled
> dependencies is becoming really low now which is good.
> 
> The embedded help system is not working and I am aware of that (and trying to
> fix it). Everything else should be working :)
> 

Elvanor, could you please rev-bump your ebuilds in java-experimental when you update them.  I suppose this is especially important if you update eclipse's dependencies like ant, etc.  This will force ppl to update.  For example I would have to manually (ie ! emerge -auvtDN world) re-emerge eclipse-sdk (and its dependencies from java-exp) if I was to ensure that I had your latest and greatest :).

Thanks
Comment 51 Didier Link 2007-11-09 14:14:24 UTC
Just a comment, i'm on amd64, Gentoo up to date and use the java-overlay.

I've installed the local overlay from Mike and it work like a charm !

Thanks for the work done, maybe now put it in portage ?

Comment 52 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-09 16:02:40 UTC
Hi. Weekly rev bump on the Eclipse ebuild. I've updated to Eclipse-3.3.1.1 and will no longer be maintaining the 3.3 ebuilds (which no longer work).

There is now 0 bundled classes and only 3 bundled jars which we have to keep bundled for now. The help system was fixed and now works. The internal web browser does not work yet, strangely. This will be fixed ASAP.

There are problems on x86 currently, these should be fixed next week.

I think we are approaching the point where this ebuild can be included in the tree.
Comment 53 karl 2007-11-15 12:23:29 UTC
Seems to be blocked by http://bugs.gentoo.org/show_bug.cgi?id=196009 ?
Also, the ebuild in the overlay is 3.4 now?
Comment 54 Niklas Närhinen 2007-11-22 07:04:01 UTC
I'm using the ebuild from experimental overlay, and everything other than
printing is working. When I try to print a file, eclipse crashes and I get a
backtrace to command line:

jarda@gandalf ~ $ eclipse-3.3 
*** glibc detected *** /opt/sun-jdk-1.6.0.03/bin/java: free(): invalid next
size (fast): 0x08daa050 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e39a20]
/lib/libc.so.6(cfree+0x89)[0xb7e3b709]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xa1020631]
[0xb5edddf0]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdf3b9]
[0xb5cdf3b9]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdf3b9]
[0xb5cdf3b9]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5ece19d]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdecb1]
[0xb5cdecb1]
[0xb5cdeedd]
[0xb5cdedb9]
[0xb5cdedb9]
[0xb5cdf3b9]
[0xb5cdeedd]
[0xb5cdedb9]
[0xb5cdedb9]
[0xb5cdf253]
[0xb5cdf253]
[0xb5cded77]
[0xb5cded77]
[0xb5cded77]
[0xb5cdc243]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x620bc6d]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x630a828]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x620bb00]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x633156f]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x6333f6c]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so(JVM_InvokeMethod+0x188)[0x6277c28]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/libjava.so(Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34)[0xb7d02224]
[0xb5ce666e]
[0xb5cded77]
[0xb5cded77]
[0xb5cdf253]
[0xb5cded77]
[0xb5cdeedd]
[0xb5cdeedd]
[0xb5cdedb9]
[0xb5cdc243]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x620bc6d]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x630a828]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x620bb00]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x6234f26]
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so[0x62265cb]
/opt/sun-jdk-1.6.0.03/bin/java(JavaMain+0x2c8)[0x8049b98]
/lib/libpthread.so.0[0xb7f1618b]
/lib/libc.so.6(clone+0x5e)[0xb7e9524e]
======= Memory map: ========
06000000-06417000 r-xp 00000000 03:04 3081473   
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so
06417000-06430000 rwxp 00417000 03:04 3081473   
/opt/sun-jdk-1.6.0.03/jre/lib/i386/client/libjvm.so
06430000-0684f000 rwxp 06430000 00:00 0 
08048000-08052000 r-xp 00000000 03:04 3080250    /opt/sun-jdk-1.6.0.03/bin/java
08052000-08053000 rwxp 00009000 03:04 3080250    /opt/sun-jdk-1.6.0.03/bin/java
08053000-08fc5000 rwxp 08053000 00:00 0          [heap]
9b782000-9b8cf000 r-xp 00000000 03:04 3327357   
/usr/share/icons/hicolor/icon-theme.cache
9b8cf000-9c112000 r-xp 00000000 03:04 3442521   
/usr/share/icons/gnome/icon-theme.cache
9c112000-9ff00000 r-xp 00000000 03:04 3326502   
/usr/share/icons/Tango/icon-theme.cache
9ff00000-9fff9000 rwxp 9ff00000 00:00 0 
9fff9000-a0000000 ---p 9fff9000 00:00 0 
a002f000-a0039000 r-xp 00000000 03:04 1742047   
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
a0039000-a003a000 rwxp 00009000 03:04 1742047   
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
a004f000-a0052000 ---p a004f000 00:00 0 
a0052000-a00a0000 rwxp a0052000 00:00 0 
a00a0000-a00a3000 ---p a00a0000 00:00 0 
a00a3000-a00f1000 rwxp a00a3000 00:00 0 
a00f1000-a00f4000 ---p a00f1000 00:00 0 
a00f4000-a0142000 rwxp a00f4000 00:00 0 
a0142000-a0145000 ---p a0142000 00:00 0 
a0145000-a0193000 rwxp a0145000 00:00 0 
a0193000-a0198000 r-xp 00000000 03:04 3149568    /lib/libcrypt-2.6.1.so
a0198000-a0199000 r-xp 00004000 03:04 3149568    /lib/libcrypt-2.6.1.so
a0199000-a019a000 rwxp 00005000 03:04 3149568    /lib/libcrypt-2.6.1.so
a019a000-a01c1000 rwxp a019a000 00:00 0 
a01c1000-a01c4000 r-xp 00000000 03:04 1820314    /usr/lib/libgpg-error.so.0.3.1
a01c4000-a01c5000 rwxp 00002000 03:04 1820314    /usr/lib/libgpg-error.so.0.3.1
a01c5000-a0212000 r-xp 00000000 03:04 2623498    /usr/lib/libgcrypt.so.11.2.3
a0212000-a0214000 rwxp 0004d000 03:04 2623498    /usr/lib/libgcrypt.so.11.2.3
a0214000-a0222000 r-xp 00000000 03:04 1836826    /usr/lib/libtasn1.so.3.0.5
a0222000-a0223000 rwxp 0000e000 03:04 1836826    /usr/lib/libtasn1.so.3.0.5
a0223000-a028c000 r-xp 00000000 03:04 1885606    /usr/lib/libgnutls.so.13.0.9
a028c000-a0292000 rwxp 00068000 03:04 1885606    /usr/lib/libgnutls.so.13.0.9
a0292000-a02c0000 r-xp 00000000 03:04 3100499    /usr/lib/libcups.so.2
a02c0000-a02c1000 r-xp 0002e000 03:04 3100499    /usr/lib/libcups.so.2
a02c1000-a02c2000 rwxp 0002f000 03:04 3100499    /usr/lib/libcups.so.2
a02c2000-a02cf000 r-xs 000ae000 03:04 4195473   
/usr/lib/eclipse-3.3/plugins/org.eclipse.jdt.debug_3.3.1.v200707

Here is my emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Wed, 21 Nov 2007 14:16:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.public.fix.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="fi en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/java-overlay /usr/local/portage
/usr/local/overlays/xfce4-svn /usr/portage/local/java-experimental"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts branding cairo cdr cli cracklib crypt
cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg
firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg
kdeenablefinal kdehiddenvisibility kerberos lcms ldap mad midi mikmod mp3 mpeg
mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png
pppd python qt3support quicktime readline reflection sdl session source spell
spl ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts
unicode vorbis win32codecs x86 xcomposite xinerama xml xorg xscreensaver xv
zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="fi en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 55 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-23 09:16:05 UTC
I can confirm that the printing bug also happens on my system. It does not appear in the Eclipse binary so this is not an upstream bug. I will try to look at it and fix it, but it should not be considered a blocker for pushing Eclipse Europa to the tree.

I am not aware of any other bugs right now.
Comment 56 MT 2007-11-28 17:28:33 UTC
I used the java-experimental overlay's ebuilds.
Everything compiles/emerges fine, however when running I get an exception in the logs:

!SESSION 2007-11-28 19:12:36.529 -----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.5.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 2 1 2007-11-28 19:12:38.448
!MESSAGE NLS missing message: fileInitializer_missingFileName in: org.eclipse.core.internal.runtime.messages

!ENTRY org.eclipse.equinox.app 2007-11-28 19:12:38.454
!MESSAGE Product org.eclipse.sdk.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-11-28 19:12:38.488
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
...

Running the binaries from the eclipse site works for me.
The config.ini is the same.

Comment 57 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-29 12:35:46 UTC
I fixed the printing problems by upgrading SWT to 3.3.1.1. Note that you will need to build swt with Cairo support to be actually able to print.  Although with the newer version, even if you did not build Cairo support, you will get an error message in the logs/on the console rather than a crash, so things are much better now :)

I did not yet commit those changes, probably will tomorrow after a bit more testing.

Regarding the last bug when Eclipse builds fine, but does not run, this is typical of bad dependencies. I will investigate that. What you can do in the meantime is:

eclipse-3.3 -clean -console -noExit

Once in the osgi console, type ss and looks for plugins that have the status "INSTALLED". These are the bad dependencies.
Comment 58 Martin Slota 2007-11-29 13:56:01 UTC
Is the ebuild supposed to run with sun-jdk-1.5? It compiles fine and runs fine under sun-jdk-1.6. But when I switch to sun-jdk-1.5, I get the following:

$ eclipse-3.3

*** glibc detected *** /usr/lib/eclipse-3.3/eclipse: double free or corruption (!prev): 0x080724f8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7a2ca00]
/lib/libc.so.6(cfree+0x89)[0xb7a2e6f9]
/usr/lib/eclipse-3.3/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so(run+0x1973)[0xb7f35373]
/usr/lib/eclipse-3.3/eclipse[0x8049903]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb79dcfdc]
/usr/lib/eclipse-3.3/eclipse[0x8048f91]
======= Memory map: ========
08048000-0804b000 r-xp 00000000 08:03 3205984    /usr/lib/eclipse-3.3/eclipse
0804b000-0804c000 r--p 00002000 08:03 3205984    /usr/lib/eclipse-3.3/eclipse
0804c000-0804d000 rw-p 00003000 08:03 3205984    /usr/lib/eclipse-3.3/eclipse
0804d000-081fd000 rw-p 0804d000 00:00 0          [heap]
b6400000-b6421000 rw-p b6400000 00:00 0
b6421000-b6500000 ---p b6421000 00:00 0
b6527000-b6530000 r-xp 00000000 08:03 2770981    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6530000-b6531000 r--p 00008000 08:03 2770981    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6531000-b6532000 rw-p 00009000 08:03 2770981    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b654e000-b65ae000 rw-s 00000000 00:08 3178519    /SYSV00000000 (deleted)
b65ae000-b663a000 r--p 00000000 08:03 2585822    /usr/share/fonts/dejavu/DejaVuSans.ttf
b663a000-b663c000 r-xp 00000000 08:03 131120     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b663c000-b663d000 r--p 00001000 08:03 131120     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b663d000-b663e000 rw-p 00002000 08:03 131120     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b663e000-b6644000 r--s 00000000 08:03 2829031    /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
b6644000-b6646000 r--s 00000000 08:03 2829081    /var/cache/fontconfig/f55bbeb01d684dc5b5f7b2c347cc42d9-x86.cache-2
b6646000-b6648000 r--s 00000000 08:03 2829079    /var/cache/fontconfig/76fa4b957c916922374347f144bde9da-x86.cache-2
b6648000-b664d000 r--s 00000000 08:03 2829078    /var/cache/fontconfig/4460665c0f3e88acdd4c85aa2f409b99-x86.cache-2
b664d000-b6651000 r--s 00000000 08:03 2828992    /var/cache/fontconfig/6355034d6588d5dc08dee953d4caf3fd-x86.cache-2
b6651000-b665f000 r--s 00000000 08:03 2828995    /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86.cache-2
b665f000-b666c000 r--s 00000000 08:03 2829069    /var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-x86.cache-2
b666c000-b6672000 r--s 00000000 08:03 2829076    /var/cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-x86.cache-2
b6672000-b667e000 r--s 00000000 08:03 2829091    /var/cache/fontconfig/4b5cf4386f1cde02a336ba961b4ac82d-x86.cache-2
b667e000-b66a0000 r--s 00000000 08:03 2829088    /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2
b66a0000-b66bd000 r--p 00000000 08:03 3436210    /usr/share/locale/sk/LC_MESSAGES/libc.mo
b66bd000-b703a000 r--p 00000000 08:03 360623     /usr/share/icons/gnome/icon-theme.cache
b703a000-b7401000 r--p 00000000 08:03 329920     /usr/share/icons/hicolor/icon-theme.cache
b7401000-b7405000 r--p 00000000 08:03 3385437    /usr/share/locale/sk/LC_MESSAGES/glib20.mo
b7405000-b7407000 r--p 00000000 08:03 2828923    /usr/share/locale/sk/LC_MESSAGES/atk10.mo
b7407000-b740f000 r-xp 00000000 08:03 3190854    /lib/libnss_files-2.6.1.so
b740f000-b7410000 r--p 00007000 08:03 3190854    /lib/libnss_files-2.6.1.so
b7410000-b7411000 rw-p 00008000 08:03 3190854    /lib/libnss_files-2.6.1.so
b7411000-b7419000 r-xp 00000000 08:03 3190899    /lib/libnss_nis-2.6.1.so
b7419000-b741a000 r--p 00007000 08:03 3190899    /lib/libnss_nis-2.6.1.so
b741a000-b741b000 rw-p 00008000 08:03 3190899    /lib/libnss_nis-2.6.1.so
b741b000-b742e000 r-xp 00000000 08:03 3190663    /lib/libnsl-2.6.1.so
b742e000-b742f000 r--p 00012000 08:03 3190663    /lib/libnsl-2.6.1.so
b742f000-b7430000 rw-p 00013000 08:03 3190663    /lib/libnsl-2.6.1.so
b7430000-b7432000 rw-p b7430000 00:00 0
b7432000-b7438000 r-xp 00000000 08:03 3190890    /lib/libnss_compat-2.6.1.so
b7438000-b7439000 r--p 00005000 08:03 3190890    /lib/libnss_compat-2.6.1.so
b7439000-b743a000 rw-p 00006000 08:03 3190890    /lib/libnss_compat-2.6.1.so
b743a000-b743d000 r--s 00000000 08:03 2829070    /var/cache/fontconfig/a336a40326b5f097d6a660e43ed65741-x86.cache-2
b743d000-b743e000 r-xp 00000000 08:03 3190575    /usr/lib/gconv/ISO8859-1.so
b743e000-b743f000 r--p 00000000 08:03 3190575    /usr/lib/gconv/ISO8859-1.so
b743f000-b7440000 rw-p 00001000 08:03 3190575    /usr/lib/gconv/ISO8859-1.so
b7440000-b7456000 r--p 00000000 08:03 2914832    /usr/share/locale/sk/LC_MESSAGES/gtk20-properties.mo
b7456000-b7460000 r--p 00000000 08:03 2914830    /usr/share/locale/sk/LC_MESSAGES/gtk20.mo
b7460000-b749f000 r--p 00000000 08:03 245290     /usr/lib/locale/sk_SK.utf8/LC_CTYPE
b749f000-b74bb000 r--p 00000000 08:03 245293     /usr/lib/locale/sk_SK.utf8/LC_COLLATE
b74bb000-b74bd000 rw-p b74bb000 00:00 0
b74bd000-b75ca000 r-xp 00000000 08:03 2945915    /usr/lib/libxml2.so.2.6.30
b75ca000-b75ce000 r--p 0010d000 08:03 2945915    /usr/lib/libxml2.so.2.6.30
b75ce000-b75cf000 rw-p 00111000 08:03 2945915    /usr/lib/libxml2.so.2.6.30
b75cf000-b75d0000 rw-p b75cf000 00:00 0
b75d0000-b75f1000 r-xp 00000000 08:03 2960562    /usr/lib/libpng12.so.0.22.0
b75f1000-b75f2000 r--p 00020000 08:03 2960562    /usr/lib/libpng12.so.0.22.0
b75f2000-b75f3000 rw-p 00021000 08:03 2960562    /usr/lib/libpng12.so.0.22.0
b75f3000-b75f7000 r-xp 00000000 08:03 3483518    /usr/lib/libXdmcp.so.6.0.0
b75f7000-b75f8000 r--p 00003000 08:03 3483518    /usr/lib/libXdmcp.so.6.0.0
b75f8000-b75f9000 rw-p 00004000 08:03 3483518    /usr/lib/libXdmcp.so.6.0.0
b75f9000-b75fa000 rw-p b75f9000 00:00 0
b75fa000-b75fc000 r-xp 00000000 08:03 3483387    /usr/lib/libXau.so.6.0.0
b75fc000-b75fd000 r--p 00001000 08:03 3483387    /usr/lib/libXau.so.6.0.0
b75fd000-b75fe000 rw-p 00002000 08:03 3483387    /usr/lib/libXau.so.6.0.0
b75fe000-b760f000 r-xp 00000000 08:03 2928182    /lib/libz.so.1.2.3
b760f000-b7610000 r--p 00010000 08:03 2928182    /lib/libz.so.1.2.3
b7610000-b7611000 rw-p 00011000 08:03 2928182    /lib/libz.so.1.2.3
b7611000-b7686000 r-xp 00000000 08:03 2945418    /usr/lib/libfreetype.so.6.3.15
b7686000-b7689000 r--p 00075000 08:03 2945418    /usr/lib/libfreetype.so.6.3.15
b7689000-b768a000 rw-p 00078000 08:03 2945418    /usr/lib/libfreetype.so.6.3.15
b768a000-b76b6000 r-xp 00000000 08:03 131033     /usr/lib/libpangoft2-1.0.so.0.1800.3
b76b6000-b76b7000 r--p 0002b000 08:03 131033     /usr/lib/libpangoft2-1.0.so.0.1800.3
b76b7000-b76b8000 rw-p 0002c000 08:03 131033     /usr/lib/libpang
Comment 59 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-29 14:21:27 UTC
Yes it works for me under 1.5 and 1.6 on amd64.

Are you using the 3.3.1.1 ebuild?
Comment 60 Martin Slota 2007-11-29 14:27:57 UTC
I'm on x86. And I was using overlay attached to this bug report... where can I find the 3.3.1.1 ebuild? (sorry if the question is stupid)
Comment 61 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-29 14:45:48 UTC
The overlay attached to this bug report is courtesy of Mike Auty, but not supported by me at this time. Many changes / improvements are on the real overlay on java-experimental. Alternatively, you could wait for the package to hit the main tree. It's coming, it's coming :)
Comment 62 MT 2007-11-29 14:58:34 UTC
Thanks.

It seems the culprit is javax.servlet (javax.servlet_2.4.0.v200706111738) with various other bundles depending on it.
Comment 63 Dror Levin (RETIRED) gentoo-dev 2007-11-29 17:07:23 UTC
I got the latest java-overlay and java-experimental overlays and I'm getting this error when trying to emerge:
hoth ~ # emerge eclipse-sdk -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[nomerge      ] dev-java/jmock-1.1.0-r2  USE="-doc -examples -source -test"
[nomerge      ]  dev-java/cglib-2.0.2-r2  USE="-doc -source"
[nomerge      ]   dev-java/aspectwerkz-2.0  USE="-doc -java5 -source"
[nomerge      ]    dev-java/junitperf-1.9.1-r1  USE="-doc -source -test"
[nomerge      ]     dev-java/junit-4.4  USE="-doc -examples -source -test"
[ebuild  N    ]      dev-java/hamcrest-1.1  USE="-doc -source -test"
[ebuild  N    ]       dev-java/jmock-1.1.0-r2  USE="-doc -examples -source -test"
[ebuild  N    ]        dev-java/cglib-2.0.2-r2  USE="-doc -source"
[ebuild  N    ]         dev-java/aspectwerkz-2.0  USE="-doc -java5 -source"
[ebuild  N    ]          dev-java/dom4j-1.6.1-r2  USE="-doc -source"
[ebuild  N    ]           dev-java/jsr173-1.0-r1  USE="-doc -source"
[ebuild  N    ]          dev-java/junitperf-1.9.1-r1  USE="-doc -source -test"
[nomerge      ] dev-java/jsr173-1.0-r1  USE="-doc -source"
[ebuild  N    ]  dev-java/jaxme-0.3.1-r4  USE="-doc -source"
[ebuild  N    ]   dev-java/junit-4.4  USE="-doc -examples -source -test"
!!! Error: circular dependencies:

('ebuild', '/', 'dev-java/aspectwerkz-2.0', 'merge') depends on
   ('ebuild', '/', 'dev-java/junitperf-1.9.1-r1', 'merge') (hard)
   ('ebuild', '/', 'dev-java/dom4j-1.6.1-r2', 'merge') (hard)
('ebuild', '/', 'dev-java/jsr173-1.0-r1', 'merge') depends on
   ('ebuild', '/', 'dev-java/jaxme-0.3.1-r4', 'merge') (hard)
('ebuild', '/', 'dev-java/cglib-2.0.2-r2', 'merge') depends on
   ('ebuild', '/', 'dev-java/aspectwerkz-2.0', 'merge') (hard)
('ebuild', '/', 'dev-java/junitperf-1.9.1-r1', 'merge') depends on
   ('ebuild', '/', 'dev-java/junit-4.4', 'merge') (hard)
('ebuild', '/', 'dev-java/junit-4.4', 'merge') depends on
   ('ebuild', '/', 'dev-java/hamcrest-1.1', 'merge') (hard)
('ebuild', '/', 'dev-java/jaxme-0.3.1-r4', 'merge') depends on
   ('ebuild', '/', 'dev-java/junit-4.4', 'merge') (hard)
('ebuild', '/', 'dev-java/jmock-1.1.0-r2', 'merge') depends on
   ('ebuild', '/', 'dev-java/cglib-2.0.2-r2', 'merge') (hard)
('ebuild', '/', 'dev-java/hamcrest-1.1', 'merge') depends on
   ('ebuild', '/', 'dev-java/jmock-1.1.0-r2', 'merge') (hard)
('ebuild', '/', 'dev-java/dom4j-1.6.1-r2', 'merge') depends on
   ('ebuild', '/', 'dev-java/jsr173-1.0-r1', 'merge') (hard)
   ('ebuild', '/', 'dev-java/jaxme-0.3.1-r4', 'merge') (hard)



This is my emerge --info:
Portage 2.1.4_rc3 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.24-rc3 x86_64)
=================================================================
System uname: 2.6.24-rc3 x86_64 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Mon, 26 Nov 2007 19:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sajinet /usr/portage/local/layman/java-overlay /usr/portage/local/java-experimental"
SYNC="rsync://psybear.com/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa amd64 amr amrnb amrwb berkdb bidi bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cscope d dga divx dri dts dvd dvdnav dvdr dvdread encode exif ffmpeg firefox flac fortran gdbm gif gpm gtk2 iconv icq icu ieee1394 imagemagick ipod ipv6 isdnlog jabber jpeg jpeg2k kde lame logitech-mouse mad midi mikmod mmx mng mp3 mpeg mpeg2 mpeg4 mplayer msn mudflap mysql ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oscar pam pcre pdf png pppd python qt3 qt4 quicktime readline reflection session spl sqlite srt sse sse2 ssl ssse3 svg symlink sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vim-pager vim-syntax vim-with-x vncviewer vorbis wifi x264 xattr xcomposite xine xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thank you :)
Comment 64 karl 2007-11-29 17:46:05 UTC
> [ebuild  N    ]   dev-java/junit-4.4  USE="-doc -examples -source -test"
> !!! Error: circular dependencies:

This is mentioned at http://bugs.gentoo.org/show_bug.cgi?id=129773 and can be rectified with emerge --oneshot \<dev-java/junit-4.4
Comment 65 Alistair Bush (RETIRED) gentoo-dev 2007-11-29 18:12:39 UTC
(In reply to comment #57)
> I fixed the printing problems by upgrading SWT to 3.3.1.1. Note that you will
> need to build swt with Cairo support to be actually able to print.  Although
> with the newer version, even if you did not build Cairo support, you will get
> an error message in the logs/on the console rather than a crash, so things are
> much better now :)
> 

Elvanor, might be a good idea to add a einfo message explaining this in the ebuild.  Or if the list of "readme" items gets to long we should either have a wiki or Readme file and point ppl to that.
Comment 66 Martin Slota 2007-11-30 12:30:28 UTC
After emerging the 3.3.1.1 ebuild from java-experimental Eclipse runs with sun-jdk-1.5. Thank you :o)
Comment 67 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-30 14:28:19 UTC
> Elvanor, might be a good idea to add a einfo message explaining this in the
> ebuild.  Or if the list of "readme" items gets to long we should either have a
> wiki or Readme file and point ppl to that.

I totally agree with that. I already started to update contents of the Gentoo Eclipse wiki page, and once the package is in tree I plan to put much more information there.

Comment 68 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2007-11-30 14:29:42 UTC
(In reply to comment #62)
> Thanks.
> 
> It seems the culprit is javax.servlet (javax.servlet_2.4.0.v200706111738) with
> various other bundles depending on it.
> 

Your best bet is then to update your java experimental overlay, unmerge tomcat-servlet-api and then merge it again. If it still does not work, open the jar in /usr/share/tomcat-servlet-api-2.4/lib and send me the manifest file.
Comment 69 Steve Arnold archtester gentoo-dev 2007-11-30 18:04:20 UTC
I've been trying out the 3.3.1.1 ebuild, more or less letting the overlays pull in whatever they need on my existing systems.  On my amd64 dev box at home (with a large package.keywords) the help stuff works fine (internal, external, etc).  However, on another box (mostly x86, much less ~ packages than the other box) there are 3 (possibly related) issue with help:

1) Internal help browser is disabled (ie, it's grayed out and can't be selected)

2) System default browser should be firefox, but launches an empty gvim window instead (this option is also not editable, so I can't even see what the parameters are).

3) Manually configured firefox browser ignores any commandline arguments (ie, -browser, -new-window) and always launches in a new tab in the existing window instead of a new window.

Note that a manually configured entry for Epiphany works correctly using "-n %URL%" as you would expect.

I'm currently updating seamonkey and the rest of my system, but I suspect the problem is somewhere in the SWT - GTK+ chain of dependencies (I'm just not sure exactly where).

emerge --info for recalcitrant box:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.9 i686)
=================================================================
System uname: 2.6.22.9 i686 Intel(R) Xeon(TM) CPU 1.70GHz
Timestamp of tree: Mon, 26 Nov 2007 10:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -march=i686 -O2 -mmmx -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=pentium4 -march=i686 -O2 -mmmx -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/java-overlay /usr/local/portage /usr/local/layman/java-overlay /usr/local/experimental/java-experimental"
SYNC="rsync://shiva.ca.ensco.com/gentoo-portage"
USE="X Xaw3d aalib acl acpi aiglx alsa avi bitmap-fonts bonobo cdr cli cracklib crypt cups dbus dga directfb dri drm dvd emacs encode esd evo f77 fam fbcon flac fortran freetype freetype2 gb gcj gd gdbm gif gnome gpm graphviz gtk gtk2 gtkhtml hal iconv imap ipv6 isdnlog java jbig jpeg junit lame lcms ldap midi mmx mono mozilla mpeg mpi mudflap mysql ncurses nls ogg oggvorbis opengl openmp oss pam pcre pda perl plotutils png postgres pppd python qt readline reflection ruby samba sasl session slp spl sse sse2 ssl svg tcl tcltk tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis win32codecs x86 xcb xine xinerama xml xml2 xorg xv zeo zlib" ALSA_CARDS="snd-intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="mga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 70 MT 2007-11-30 18:39:04 UTC
(In reply to comment #68)
> (In reply to comment #62)
> > Thanks.
> > 
> > It seems the culprit is javax.servlet (javax.servlet_2.4.0.v200706111738) with
> > various other bundles depending on it.
> > 
> 
> Your best bet is then to update your java experimental overlay, unmerge
> tomcat-servlet-api and then merge it again. If it still does not work, open the
> jar in /usr/share/tomcat-servlet-api-2.4/lib and send me the manifest file.
> 

Thanks, rebuild worked for me.
Comment 71 Travis Hansen 2007-12-17 19:34:03 UTC
Any progress on getting this into portage?
Comment 72 Alistair Bush (RETIRED) gentoo-dev 2007-12-18 05:02:51 UTC
We are working on getting the osgi.eclass to an acceptable quality and accepted by the other devs.  After that it will go into the tree,  a we will bump the necessary deps to use the eclass then eclipse will be in the tree.  Hopefully the eclass will be in the tree this week or next.
Comment 73 Bastiaan Visser 2007-12-19 19:20:52 UTC
I just merged eclipse-sdk-3.3.1.1 from java-experimental, merging went fine.

Starting eclipse shows an alert, with a path to a logfile. 

I'll attach the logfile to this bug.

Emerge info:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Wed, 19 Dec 2007 18:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-experimental /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bitmap-fonts branding cli cracklib crypt cups dri flac fortran gdbm gif gpm hal i18n iconv ipv6 isdnlog java5 jpeg jpeg2k kde midi mmx mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python qt readline reflection sdl session spl sse sse2 ssl svg tcpd tiff truetype-fonts type1-fonts unicode vorbis x86 xen xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="sa2160 sa300 sa3160" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 74 Bastiaan Visser 2007-12-19 19:23:16 UTC
Created attachment 138903 [details]
logfile eclipse
Comment 75 MT 2007-12-20 07:34:17 UTC
Seems you might have a similar problem to what I had (see Comment  #56). Follow the advice from Comment #57 to track down the problem (misbehaving bundle).
Comment 76 Timothy Lusk 2008-01-03 02:10:20 UTC
(In reply to comment #74)
> Created an attachment (id=138903) [edit]
> logfile eclipse
> 

I had the same problem, it was lucene but remerging that or rebuilding eclipse did not solve it, i eventually just used the built lucene jar that came with eclipse (which isn't really a solution, just a fix for now because having eclipse work is critical to me)
Comment 77 Bastiaan Visser 2008-01-03 08:12:39 UTC
(In reply to comment #76)
> (In reply to comment #74)
> > Created an attachment (id=138903) [edit]
> > logfile eclipse
> > 
> 
> I had the same problem, it was lucene but remerging that or rebuilding eclipse
> did not solve it, i eventually just used the built lucene jar that came with
> eclipse (which isn't really a solution, just a fix for now because having
> eclipse work is critical to me)
> 

The bug i ran into is fixed some time ago, it was indeed lucene, after the fix, a re-merge of lucene and tomcat-headers did the trick.
Comment 78 Yuval Hager 2008-01-08 23:13:13 UTC
I tried to use the ebuild from java-experimental, but it failed on two issues:
- It could not fetch the sources. I renamed the ebuild to eclipse-sdk-3.3.1.1-r3.ebuild to fix that.
- It could not find dependency "=dev-java/lucene-1.9.1-r1". I changed it to "=dev-java/lucene-1.9.1-r2"


Now, assuming my changes didn't break anything, I am getting the following error (on the install phase!):
>>> Install eclipse-sdk-3.3.1.1-r3 into /var/tmp/portage/dev-util/eclipse-sdk-3.3.1.1-r3/image/ category dev-util
 *
 * ERROR: dev-util/eclipse-sdk-3.3.1.1-r3 failed.
 * Call stack:
 *                       ebuild.sh, line 1701:  Called dyn_install
 *                       ebuild.sh, line 1138:  Called qa_call 'src_install'
 *                       ebuild.sh, line   44:  Called src_install
 *   eclipse-sdk-3.3.1.1-r3.ebuild, line  152:  Called register_eclipse_jars
 *   eclipse-sdk-3.3.1.1-r3.ebuild, line  211:  Called java-pkg_regjar '/usr/share/eclipse-sdk-3.3/lib/org.eclipse.compare.jar'
 *             java-utils-2.eclass, line  371:  Called die
 * The specific snippet of code:
 *                      die "${jar} does not exist"
 *  The die message:
 *   /usr/share/eclipse-sdk-3.3/lib/org.eclipse.compare.jar does not exist
 *

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Sempron(tm) Processor 2800+
Timestamp of tree: Mon, 07 Jan 2008 13:30:07 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="he en"
MAKEOPTS="-j 2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/sunrise /usr/local/layman/arcon-portage /usr/local/layman/roslin /usr/local/layman/emacs /usr/local/layman/java-overlay /usr/local/portage /usr/local/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa amd64 apache2 arts asf avi berkdb bidi bitmap-fonts cairo cddb cdparanoia cdr cli cracklib crypt cups curl dbus divx4linux dri dv dvd dvdr dvdread emacs emboss emul-linux-x86 encode esd evo exif fam fame firefox flac foomaticdb fortran ftp gdbm geoip gif glitz gpm gstreamer gtk gzip hal iconv imagemagick imlib isdnlog java jpeg kde kerberos ldap mad midi mikmod mimencode mmx mp3 mpeg mplayer msn mudflap mysql ncurses nls normalizemime nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang sockets spell spl sqlite sse sse2 ssl subtitles svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis wma wmf xine xml xorg xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="he en" USERLAND="GNU" VIDEO_CARDS="via vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 79 Yuval Hager 2008-01-09 20:06:13 UTC
Created attachment 140569 [details]
Complete build log

In case there is information missing from the above comment, complete build log attached
Comment 80 Yuval Hager 2008-01-10 06:52:57 UTC
Created attachment 140591 [details]
eclipse-sdk-3.3.1.1-r3.ebuild

Following my last two comments, I got some help from ali_bush on #gentoo-java, I am posting the ebuild that worked for me. Basically it's a bump of 3.3.1.1-r2 found in java-experimental with these changes:
* Fix dependency for dev-java/lucene
* commented out line 211 (java-pkg_regjar) which cause the installation problem above
Comment 81 Alistair Bush (RETIRED) gentoo-dev 2008-01-14 08:28:08 UTC
(In reply to comment #80)
> Created an attachment (id=140591) [edit]
> eclipse-sdk-3.3.1.1-r3.ebuild
> 
> Following my last two comments, I got some help from ali_bush on #gentoo-java,
> I am posting the ebuild that worked for me. Basically it's a bump of 3.3.1.1-r2
> found in java-experimental with these changes:
> * Fix dependency for dev-java/lucene
> * commented out line 211 (java-pkg_regjar) which cause the installation problem
> above
> 

I would like to note that this fix is really only a temporary workaround,  I attempted to do something that works if you have eclipse-sdk already installed but fails when you don't (obviously not the best solution in the world).  What I was attempting actually has no effect on the running of eclipse it was purely an attempt to gentoofy the ebuild.
Comment 82 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-17 09:56:34 UTC
To all those watching this bug:

Eclipse-3.3 will be moved to main tree very soon at last (ETA is Monday 21/01/08). All the dependencies have already been moved to the tree. For those who have installed Eclipse using the overlay, I suggest you to reemerge every dependency. Likely you will also have errors related to osgi.eclass which does not exist anymore (renamed to java-osgi.eclass). If this is the case you can make a symlink from osgi.eclass to java-osgi.eclass. Remerge everything, then delete that symlink.

Last, there is now an up to date wiki page:

http://gentoo-wiki.com/Eclipse
Comment 83 Petteri Räty (RETIRED) gentoo-dev 2008-01-17 10:57:42 UTC
(In reply to comment #82)
> 
> Eclipse-3.3 will be moved to main tree very soon at last (ETA is Monday
> 21/01/08). All the dependencies have already been moved to the tree. For those
> who have installed Eclipse using the overlay, I suggest you to reemerge every
> dependency. Likely you will also have errors related to osgi.eclass which does
> not exist anymore (renamed to java-osgi.eclass). If this is the case you can
> make a symlink from osgi.eclass to java-osgi.eclass. Remerge everything, then
> delete that symlink.
> 

You should leave a osgi.eclass to the overlay as you should know by know that you can't unmerge a package if an eclass it uses doesn't exist.
Comment 84 Andre Hinrichs 2008-01-17 12:08:20 UTC
(In reply to comment #83)
> 
> You should leave a osgi.eclass to the overlay as you should know by know that
> you can't unmerge a package if an eclass it uses doesn't exist.

Just put an ewarn into the old eclass. An exsample is gcc.eclass in the official portage.
Comment 85 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-21 12:18:12 UTC
(In reply to comment #83)

Yes, I know, that's why I suggested the use of a symlink, which should work I guess. I could also provide a dummy osgi.eclass in the java-exp-overlay, but since this affects at most 10 people, which are aware that they installed Eclipse via the overlay, the symlink solution seems like the best.
Comment 86 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-21 12:19:02 UTC
Eclipse-3.3.1.1 just commited to tree. Hopefully, if I did not forget any dependencies, it should compile and run - it does on my box.

Enjoy ! :)
Comment 87 Michał Lipski 2008-01-21 16:34:44 UTC
Compiled fine from main tree (using Sun 1.5 JDK).
Comment 88 Paulo J. Matos 2008-01-21 17:10:27 UTC
Built ok here (~amd64).
Comment 89 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-21 18:34:05 UTC
Been looking at what needs to be done to rekeyword on ppc, aside from junit4 handled in separage bug, it's sun-j2me-bin which is problematic because AFAIK there's platform dependent binaries only for i386. But we only need the jar so I guess something could be done...
Comment 90 Ludovic Favre 2008-01-21 22:48:56 UTC
I emerged the 3.3.1 version from portage tree but I have some missing required bundle error. I already remerge lucene, swt, ant-* stuff... but nothing changed.

emerge --info:
Portage 2.1.3.19 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Mon, 21 Jan 2008 20:17:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch "
LANG="fr_CH.UTF-8"
LC_ALL="fr_CH.UTF-8"
LINGUAS="fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 avi bash-completion bcmath berkdb bitmap-fonts bluetooth browserplugin bzip2 cdr cli cracklib crypt cups dri dvd dvdr emacs firefox fortran gdbm gpm gtk hal iconv ipv6 ipw3945 isdnlog java jpeg kde lirc midi mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia objc objc++ objc-gc ogg oggvorbis openal opengl openmp pam pcre pdf perl png pnp ppds pppd pstricks python qt qt3 qt4 quicktime readline reflection session spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi x264 xft xinerama xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 91 Ludovic Favre 2008-01-21 22:50:05 UTC
Created attachment 141523 [details]
eclipse error logfile

I got it working on my other computer (x86_64 too with almost same config). This should be old overlay packages creating problems... I dont know where to look (cleaned all /usr/lib*/eclipse* directories)
Comment 92 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-22 12:42:13 UTC
If you got it working in another computer, I believe it is old packages from the overlay creating problems yes.

Reemerge every Eclipse dependencies: jsch, icu4j, tomcat-servlet-apis etc.

PS: the log files people are posting are *not* useful to me. It is always the same error anyway, eg, OSGi bundles not found which means troubles with the dependencies.
Comment 93 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-22 12:56:49 UTC
You can try the following command to get list of packages installed currently from java overlays:
grep -R --include repository java /var/db/pkg/

then try reemerging them (after tree and overlay syncing/updating so you don't install from overlay again what is not supposed to)

there's also remote possibility of having some deps keyworded and some not, although AFAIK the deps in eclipse are restricted to pull only the osgi-aware versions.
Comment 94 Ludovic Favre 2008-01-22 13:42:36 UTC
Thanks a lot for the help,
it was icu4j which I forgot to remerge. I should have wrongly removed the overlay and 2 versions of icu4j were installed. After remerging icu4j and eclipse, all works fine.
Comment 95 Santiago Gala 2008-01-22 22:09:48 UTC
I emerged it and it does not run, complaining that it can't find the swt libraries. Running it like:

$ LD_PRELOAD=/usr/lib64/libgtk-x11-2.0.so:/usr/lib64/libgthread-2.0.so:/usr/lib64/libgnome-desktop-2.so:/usr/lib64/libswt-pi-gtk-3347.so   eclipse-3.3

succeeds. Any clue why?
Comment 96 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-23 11:16:19 UTC
I had this problem before, and it disappeared at some point. What JDK are you using? Can you try with different ones?
Comment 97 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-23 12:29:17 UTC
OK, I found the bug. It appears using Sun-JDK-1.5 on amd64 (at least) but with Sun-JDK-1.6 there is no problem. I commited a workaround on the Eclipse loader, so please reemerge Eclipse to fix (or add -Djava.library.path=/usr/lib to the launcher).

I did not create a -r1 for this, as Eclipse takes a lot of time to compile.

Comment 98 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-23 12:45:33 UTC
The problem with sun-jdk-1.5 is tracked as bug 125563
Comment 99 Mike Auty (RETIRED) gentoo-dev 2008-01-23 19:43:39 UTC
Great work Jean-Noel on getting eclipse into the main tree, thanks!  5:)

Also just to let you know, on x86 eclipse builds with sun-jdk-1.6 after simply changing the R/DEPENDS (which I tested to save me dragging in 1.5 just to build it).
Comment 100 Santiago Gala 2008-01-24 08:27:58 UTC
> I had this problem before, and it disappeared at some point. What JDK are you
> using? Can you try with different ones?

I'm using Sun jdk 1.6.0.03 on amd64, the only one installed here. I can try to install 1.5 and try later, but 1.6 is significantly faster and uses less memory.

(...)

> OK, I found the bug. It appears using Sun-JDK-1.5 on amd64 (at least) but with
> Sun-JDK-1.6 there is no problem. I commited a workaround on the Eclipse loader,
> so please reemerge Eclipse to fix (or add -Djava.library.path=/usr/lib to the
launcher).

Then it is not the same bug, as I don't have 1.5 here. I'll re-emerge and test later, though.
Comment 101 Santiago Gala 2008-01-24 08:30:13 UTC
I meant 1.6.0.04, emerge forced me to add a 32 bits 1.6.0.03 which is what I copied, buit the selected one is 1.6.0.04, it was barely visible in the output as very light green on white:

$ java-config -L
The following VMs are available for generation-2:
1)	Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)	Sun 32bit JRE 1.6.0.03 [emul-linux-x86-java-1.6]
*)	Sun JDK 1.6.0.04 [sun-jdk-1.6]

sorry for the noise
Comment 102 Santiago Gala 2008-01-24 09:08:59 UTC
I reemerged (with jdk 1.5, I had to emerge it again) after the changes and get the exact same behavior:

- it does not start with 1.6. No way to get -Djava.library.path making it work

/workspace/.metadata/.log starts like:

!SESSION 2008-01-24 10:07:25.903 -----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 2 1 2008-01-24 10:07:26.704
!MESSAGE NLS missing message: fileInitializer_missingFileName in: org.eclipse.core.internal.runtime.messages

!ENTRY org.eclipse.osgi 4 0 2008-01-24 10:07:26.818
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3347 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
(...)

but /usr/bin/eclipse-3.3 ends with:

exec "${ECLIPSE_BIN}" "$@" -vmargs ${VM_ARGS} -Djava.library.path=/usr/lib

Comment 103 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-24 09:26:38 UTC
Does it work with JDK 1.6.0.3 (not emu 32 bit)? Does it work with JDK-1.5?
Comment 104 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-24 10:27:53 UTC
I cannot reproduce this bug with JDK-1.6.0.4, amd64...

Maybe a problem with your environment?
Comment 105 Michał Lipski 2008-01-24 11:08:24 UTC
(In reply to comment #103)
> Does it work with JDK 1.6.0.3 (not emu 32 bit)? Does it work with JDK-1.5?
> 

I've built eclipse with Sun JDK 1.5.0.13, but I'm running eclipse with Sun JDK 1.6.0.03. JDK 1.5 doesn't work for me as VM...
I have x86.

Comment 106 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-24 14:02:26 UTC
(In reply to comment #102)
> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3347 or swt-pi-gtk in
> swt.library.path, java.library.path or the jar file
> (...)

Does /usr/lib/libswt-pi-gtk-3347.so even exist? Does remerging swt help?
Comment 107 Santiago Gala 2008-01-25 17:53:36 UTC
Comment 106: if you look at comment 95 you'll know the answer is yes.

I can make it run by LD_PRELOADing the relevant so files, but there is no way it runs with the bundled binary, with:

$ java-config -L
The following VMs are available for generation-2:
1)	Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)	Sun 32bit JRE 1.6.0.03 [emul-linux-x86-java-1.6]
3)	Sun JDK 1.5.0.14 [sun-jdk-1.5]
*)	Sun JDK 1.6.0.04 [sun-jdk-1.6]

or 

$ java-config -L
The following VMs are available for generation-2:
1)	Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)	Sun 32bit JRE 1.6.0.03 [emul-linux-x86-java-1.6]
*)	Sun JDK 1.5.0.14 [sun-jdk-1.5]
4)	Sun JDK 1.6.0.04 [sun-jdk-1.6]


(it doesn't run with 32 bits either)


$ LD_PRELOAD=/usr/lib64/libgtk-x11-2.0.so:/usr/lib64/libgthread-2.0.so:/usr/lib64/libgnome-desktop-2.so:/usr/lib64/libswt-pi-gtk-3347.so VM_ARGS="-Xmx256m" eclipse-3.3

runs it.
Comment 108 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-29 09:08:22 UTC
Please keyword ~ppc:

Package                       Version             Current Keywords  Masks
============================= =================== ================= =========
dev-java/hamcrest-core        1.1                                   K
dev-java/junit                4.4-r1                                K
dev-java/cldc-api             1.1                                   K
dev-util/eclipse-sdk          3.3.1.1                               K

the first two are handled in bug 129773.
Comment 109 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-03-11 09:03:33 UTC
Closing this bug at last, since Eclipse Europa has been in the tree for a while now. For the ppc rekeywording I opened bug 129773. I'll add ~ppc back as soon as cldc-api has been ~ppc.

I hope to stabilize Eclipse-3.3 as soon as possible, a few things need attention first though.