First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 214785
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Eduard Martinescu <martines@rochester.rr.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
eclipse-3.3.patch patch for eclipse-3.3 script in FILESDIR (apply in PORTDIR/dev-util/eclipse-sdk) patch Vlastimil Babka (Caster) 2008-04-03 09:52 0000 804 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 214785 depends on: 216014 Show dependency tree
Bug 214785 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-25 20:18 0000
So I have Eclipse 3.3.1.1 installed and have configured swt to use xulrunner.
However, when I actually open an editor that attempts to make use of xulrunner,
I get an eclipse crash with the following on standard error:

/usr/lib/jvm/sun-jdk-1.6/bin/java: symbol lookup error:
/usr/lib/libswt-xulrunner-gtk-3347.so: undefined symbol: XPCOMGlueStartup

I've worked around/solved this problem by doing the following:

edit /usr/lib/pkgconfig/xulrunner-xpcom.pc and added -lxpcomglue after the
-lxpcom entry.

Effectively, getting the extra libxpcomglue.so to be linked into the
libswt-xulrunner-3347.so 

I have not noticed any negative impacts anywhere else....

------- Comment #1 From Gilles Dartiguelongue 2008-03-25 20:55:36 0000 -------
Afaik this has nothing to do with gnome. I suspend this same kind of problem
that totem had at one point where libs using xulrunner didn't use the proper
pkg-config to link against (altough I grepped through the pkgconfig files and
couldn't find references to the glue stuff).

------- Comment #2 From Eduard Martinescu 2008-03-26 13:27:36 0000 -------
It was a toss up as to where to initially file this bug.  And I also could not
find a pkg-config that include the glue library, so I thought maybe the
xulrunner ebuild would need modification to either create a new pkg-config that
had the glue (that could then be used by swt), or just to always include the
clue in the current config. (I can't think of any problems this would cause)

------- Comment #3 From Jean-Noël Rivasseau 2008-03-26 20:55:58 0000 -------
This may have to do with the fact that we define a special variable on Eclipse
to point to some *.so libraries (MOZILLA_FIVE_STAR_HOME or something like
that). Currently this is hardcoded to the Firefox location IIRC. Changing that
to xulrunner could solve the problem

------- Comment #4 From Vlastimil Babka (Caster) 2008-03-26 21:24:57 0000 -------
(In reply to comment #3)
> This may have to do with the fact that we define a special variable on Eclipse
> to point to some *.so libraries (MOZILLA_FIVE_STAR_HOME or something like
> that). Currently this is hardcoded to the Firefox location IIRC. Changing that
> to xulrunner could solve the problem

I don't see anything defined in the Eclipse ebuild itself, but it's defined in
swt ebuild and when build against xulrunner, points to xulrunner directory. GJL
launchers pick it, I doubt eclipse's does though. But somehow it used to work
until now, and it was xulrunner being bumped, not eclipse/swt?

------- Comment #5 From Vlastimil Babka (Caster) 2008-03-26 21:34:46 0000 -------
Ah, found the startup script for eclipse. Yeah it sets the variable to firefox.
Should use what swt's package.env defines. Seems java-config doesn't provide an
option to query arbitrary variables from package.env of a package, only from
VM's env file... but this should work, will export MOZILLA_FIVE_HOME and a
harmless gjl_args variable...

eval $(gjl --package swt-3 --get-args)

And perhaps eclipse ebuild should check that swt is built against a mozilla
implementation because I think it won't work without it...

------- Comment #6 From Vlastimil Babka (Caster) 2008-04-03 09:52:11 0000 -------
Created an attachment (id=148196) [edit]
patch for eclipse-3.3 script in FILESDIR (apply in
PORTDIR/dev-util/eclipse-sdk)

This patch implements this via gjl until we get less hackish support in
java-config (bug 216014).
Needs a revbump to hit everyone.

------- Comment #7 From Vlastimil Babka (Caster) 2008-04-06 20:58:41 0000 -------
In 3.3.1.1-r1 in CVS.

------- Comment #8 From Vlastimil Babka (Caster) 2008-04-06 21:15:05 0000 -------
*** Bug 101571 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug