Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 151866 - %post script error "gcj-dbtool: command not found" when installing
%post script error "gcj-dbtool: command not found" when installing
Product: Fedora
Classification: Fedora
Component: eclipse-cdt (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Muldoon
Depends On:
  Show dependency treegraph
Reported: 2005-03-22 19:21 EST by Orion Poplawski
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-27 19:33:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2005-03-22 19:21:28 EST
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):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Phil Muldoon 2005-03-23 11:00:01 EST
Thanks for catching this. The eclipse-cdt is missing a Requires gcc-java. 
Comment 2 Andrew Overholt 2005-03-23 11:04:39 EST
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

CCing jpound
Comment 3 Orion Poplawski 2005-03-23 11:20:39 EST
According to the install logs, gcc-java was installed after eclipse-cdt and

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.
Comment 4 Orion Poplawski 2005-03-23 12:22:02 EST
See this with today's (unmodified) rawhide.
Comment 5 Phil Muldoon 2005-03-24 10:45:43 EST
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.
Comment 6 Orion Poplawski 2005-04-07 12:25:38 EDT
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
Comment 7 Phil Muldoon 2005-04-07 12:37:16 EDT
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!
Comment 8 Orion Poplawski 2005-04-25 17:49:56 EDT
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
Comment 9 Andrew Overholt 2005-04-25 18:04:20 EDT
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.
Comment 10 Jeremy Katz 2005-04-27 19:33:43 EDT
This should be fixed with the build of rpm that happened today.
Comment 11 Orion Poplawski 2005-05-24 17:37:09 EDT
No install messages on latest rawhide.  Closing again.

Note You need to log in before you can comment on or make changes to this bug.