Bug 164554

Summary: [PATCH] eclipse-devel crashes showing javadoc or Internal Web browser
Product: Ports & Packages Reporter: Jimmy Kelley <jimmy.kelley>
Component: Individual Port(s)Assignee: Greg Lewis <glewis>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description Jimmy Kelley 2012-01-27 21:50:04 UTC
eclipse-devel (3.7.0_3) crashes when opening the Internal Web Browser (Window->Show View->Other...->General->Internal Web Browser) or when hovering over a keyword to show some javadoc.
If started from a xterm, the error shown is:
/usr/local/lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/117/1/.cp/libswt-xulrunner-gtk-3735.so: Undefined symbol "XPCOMGlueStartup"

This happens with or without the following setting in eclipse.ini:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/local/bin/xulrunner

The only browser I have installed on my system is ports/chromium.

The main eclipse port (3.6.2) works just fine.

Fix: Adding the attached patch to the end of the files/freebsd-support.patch should fix the problem by fixing the build to make the missing libswt-xpcominit-gtk-3735.so library.

Patch attached with submission follows:
How-To-Repeat: Try to open the Interal Web browser view.
Try to show some javadoc by hovering over a keyword.
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2012-01-29 00:03:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glewis

I'll take this.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-01-29 00:05:20 UTC
glewis      2012-01-29 00:05:11 UTC

  FreeBSD ports repository

  Modified files:
    java/eclipse-devel   Makefile 
    java/eclipse-devel/files freebsd-support.patch 
  Log:
  . Fix a crash when opening the internal web browser.
  
  PR:             164554
  Submitted by:   Jimmy Kelley <jimmy.kelley@charter.net>
  
  Revision  Changes    Path
  1.44      +1 -1      ports/java/eclipse-devel/Makefile
  1.4       +24 -1     ports/java/eclipse-devel/files/freebsd-support.patch
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2012-01-29 00:05:24 UTC
State Changed
From-To: open->closed

Committed. Thanks!