[fedora-java] Updating Eclipse in Rawhide

Thomas Fitzsimmons fitzsim at redhat.com
Tue Feb 22 03:22:06 UTC 2005


On Mon, 2005-02-21 at 18:26 -0500, David Malcolm wrote:
>On Mon, 2005-02-21 at 16:20 -0500, Thomas Fitzsimmons wrote:
>>On Mon, 2005-02-21 at 15:36 -0500, David Malcolm wrote:
>>>I get the following error when trying to update Eclipse packages from
>>>Rawhide:
>>>
>>>yum update eclipse-ecj eclipse-platfrom eclipse-gtk2 eclipse-jdt
>>>
>>>Error: java-1.4.2-gcj4-compat-devel conflicts:
>>>java-1.4.2-gcj-compat-devel<= 1.4.2.0-39jpp
>>>Error: java-1.4.2-gcj4-compat conflicts:  java-1.4.2-gcj-compat<=
>>>1.4.2.0-39jpp
>>>
>>
>>java-1.4.2-gcj4-compat-devel should obsolete
>>java-1.4.2-gcj-compat-devel.  I guess I'll remove the Conflicts lines
>>from the next release.
>>
>>>So which gcj-compat do I want?
>>>
>>java-1.4.2-gcj4-compat and java-1.4.2-gcj4-compat-devel.
>
>OK, when I installed the new packages I got lots of errors like this:
>Updating: eclipse-ecj 100 % done 1/10
>/var/tmp/rpm-tmp.82380: line 3: 21207 Segmentation fault
>gcj-dbtool4
>-a /usr/lib/eclipse/eclipse.db /usr/share/eclipse/plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar /usr/lib/eclipse/jdtcore.jar.so
>/var/tmp/rpm-tmp.82380: line 6: 21264 Segmentation fault
>gcj-dbtool4
>-a /usr/lib/eclipse/eclipse.db /usr/share/eclipse/plugins/org.eclipse.jdt.core_3.0.1/jdtCompilerAdapter.jar /usr/lib/eclipse/jdtCompilerAdapter.jar.so
>error: %post(eclipse-ecj-3.0.1_fc-14.i386) scriptlet failed, exit status
>139
>Installing: gjdoc 100 % done 2/10
>Installing: java-1.4.2-gcj4-compat 100 % done 3/10
>Installing: java-1.4.2-gcj4-compat-devel 100 % done 4/10
>Updating: libswt3-gtk2 100 % done 5/10
>/var/tmp/rpm-tmp.17340: line 1: 22154 Segmentation fault
>gcj-dbtool4 -a /usr/lib/eclipse/eclipse.db $j /usr/lib/eclipse/`basename
>$j`.so
>
>etc...
>
>and the resulting eclipse doesn't run:
>[dmalcolm at cassandra ~]$ eclipse
>/usr/bin/eclipse: line 45: 28121 Segmentation fault
>LD_PRELOAD=/usr/lib/eclipse/xml-commons-apis-1.0.jar.so:/usr/lib/eclipse/xalan-j2-2.6.0.jar.so:/usr/lib/eclipse/xerces-j2-2.6.2.jar.so /usr/share/eclipse/eclipse $ECLIPSE_OPTS $@ $VM_OPTS
>
>Doing anything with that LD_PRELOAD line fails, e.g.:
>[dmalcolm at cassandra~]$
>LD_PRELOAD=/usr/lib/eclipse/xml-commons-apis-1.0.jar.so:/usr/lib/eclipse/xalan-j2-2.6.0.jar.so:/usr/lib/eclipse/xerces-j2-2.6.2.jar.so ls
>Segmentation fault
>
>Any thoughts?
>

It looks like gcj-dbtool4 is segfaulting.  Can you run it with no
arguments?  What architecture are you on?  You could try rebuilding
eclipse.db by hand if gcj-dbtool4 does work on the command line.

Tom





More information about the fedora-devel-java-list mailing list