Bug 65465

Summary: Eclipse has no fonts with recent pango, compiling Eclipse coredumps.
Product: Ports & Packages Reporter: Gerrit Kühn <gerrit>
Component: Individual Port(s)Assignee: freebsd-java (Nobody) <java>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Gerrit Kühn 2004-04-12 20:40:19 UTC
I'm unable to compile Eclipse anymore. This is probably related with the latest gnome/gtk-Update. After the update pango complains when starting Eclipse:

Error reading modules file
** (<unknown>:8396): WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/usr/X11R6/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

Eclipse is still starting, but all fonts are gone.
pango.modules is in place, and cannot see what's going wrong there.

However, I thought it might be a good idea to recompile Eclipse, too. Well, this compile-run repeatably coredumps right at start:

stardust# pwd
/usr/ports/java/eclipse
stardust# make
===>  Building for eclipse-2.1.3_1
===> Compiling Java sources.
ant -Dos=freebsd -Dws=gtk -f build.xml compile
Segmentation fault (core dumped)
*** Error code 139

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

Stop in /usr/ports/java/eclipse.

Fix: 

Not a clue. I guess the gnome-update (new gtk, new pango etc.) broke some things here.
How-To-Repeat: Try to compile Eclipse from recent ports or try to use it with recent pango (1.4.0).
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-04-12 22:43:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->java

Over to maintainer(s).
Comment 2 Gerrit Kühn 2004-04-21 07:24:12 UTC
Ok, I found the reason and the fix:

"portupgrade -R -N eclipse" doesn't update apache-ant (why?). I had 
v1.6.0 installed which produced the mentioned problem. Explicitly 
updating apache-ant via "portupgrade -R apache-ant" to 1.6.1_1 solves 
the problem. After that "portupgrade -R -N eclipse" compiles and 
installs eclipse and the problem which pango is gone after that, as I 
already supposed.


cu
  Gerrit
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-05-17 21:18:31 UTC
Responsible Changed
From-To: java->freebsd-java

Rationalize assignments of java items
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2004-08-20 00:45:20 UTC
State Changed
From-To: open->closed

Panagiotis Astithas reports the problem no longer exists since the upgrade 
to version 3.