[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

/usr/bin/gcj-dbtool problem



Hey all,

For a while i have the the problem that /usr/bin/gcj-dbtool hangs until
i kill it. This is a problem because most java packages use it in their
%pre and %post script, and so all installs (and updates) of java
programs like eclipse and openoffice hang.

After removing all java stuff and reinstalling I think i found the cause
of the problem, or atleast the RPM that causes the problem.

Before installing eclipse-cdt i can run /usr/bin/rebuild-gcj-db (this
calls gcj-dbtool in the end) without a problem. After I install
eclipse-cdt /usr/bin/rebuild-gcj-db will hang and ps ax will show the
following.

14594 pts/0    S+     0:00 /bin/bash /usr/bin/rebuild-gcj-db
14614 pts/0    S+     0:00 xargs -0 /usr/bin/gcj-dbtool -m /usr/lib64/gcj-4.1.0/classmap.db /usr/lib64/gcj-4.1.0/classmap.db
14615 pts/0    Sl+    0:00 /usr/bin/gcj-dbtool -m /usr/lib64/gcj-4.1.0/classmap.db /usr/lib64/gcj-4.1.0/classmap.db /usr/lib64/gcj/eclipse-cdt/cdtmakeui.jar.db /usr/lib64/gcj/eclipse-cdt/cdtmicore.1

The yum install/update will hang untill i do "kill 14615", than it
continues like this

Running Transaction
  Installing: eclipse-cdt                  ######################### [1/1]
xargs: /usr/bin/gcj-dbtool: terminated by signal 15

Installed: eclipse-cdt.x86_64 1:3.0.1-1jpp_3fc
Complete!

>From now on every packages that uses /usr/bin/rebuild-gcj-db will hang
yum/rpm when it is being installed or uninstalled. 

Removing the eclipse-cdt rpm fixes the problem again.

- Erwin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]