Description of problem: Doing a kickstart install of fc4test1 and only selecting eclipse-cdt (with --resolvedeps) results in the following error when running the %post scripts of eclipse-cdt and eclipse-platform:: /var/tmp/rpm-tmp.69579: line 4: gcj-dbtool: command not found Looks like a %PreReq line is missing. Version-Release number of selected component (if applicable): eclipse-cdt-2.0.2_fc-3.i386. How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks for catching this. The eclipse-cdt is missing a Requires gcc-java.
eclipse-platform should not have the error as it Requires: gcc-java (which is what provides gcj-dbtool). The other plugins (changelog, buzilla) will need to have gcc-java added to their Requires. CCing jpound
According to the install logs, gcc-java was installed after eclipse-cdt and eclipse-platform. Problem might be related to it being a slightly customized version of fc4test1. However I do use pkgorder when building. I'll try with a plain rawhide install and check.
See this with today's (unmodified) rawhide.
The new CDT with the Requires should be in Rawhide this morning (along with updated CDT 3.0 M5 sources). Give that a try, and see how it works.
Finally got rawhide to install again. Seeing something similar: Installing eclipse-cdt-3.0.0_fc-0.M5.3.i386. /var/tmp/rpm-tmp.70969: line 1: rebuild-gcj-db: command not found error: %post(eclipse-cdt-3.0.0_fc-0.M5.3.i386) scriptlet failed, exit status 127 Installing eclipse-platform-3.1.0_fc-0.M5.17.i386. /var/tmp/rpm-tmp.10476: line 1: rebuild-gcj-db: command not found Installing gcc-java-4.0.0-0.40.i386. So, maybe another dependency? # rpm -qf /usr/bin/rebuild-gcj-db java-1.4.2-gcj-compat-1.4.2.0-40jpp_14rh
Yes, this was a change recently made (they moved all the gcj db manipulation to a convienient script). Looks like the requires needs to be tweaked to include what you posted. Thanks again, for catching!
Appears to have cropped up again, different component: Installing eclipse-ecj-3.1.0_fc-0.M6.10.i386. /var/tmp/rpm-tmp.66871: line 1: /usr/bin/rebuild-gcj-db: No such file or directory error: %post(eclipse-ecj-3.1.0_fc-0.M6.10.i386) scriptlet failed, exit status 127
I'm not sure why this happened to you. We have java-1.4.2-gcj-compat in the Requires(post,postun) for each sub-package. I'll add a specific nvr of j-g-c and see if that helps. Watch for a new release tomorrow.
This should be fixed with the build of rpm that happened today.
No install messages on latest rawhide. Closing again.