Bug 13277 - Better Error Reporting in RPM Build
Better Error Reporting in RPM Build
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-06-30 12:05 EDT by Thornton Prime
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-02 21:18:21 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 Thornton Prime 2000-06-30 12:05:35 EDT
If you attempt to build an rpm without having first installed the rpm-build
package, rpm simply returns a list of RPM command options.

It should report that rpm-build capability is not installed. Better yet, it
should not list the rpm build options in the option list, and have a
notation that rpm-build is not installed.
Comment 1 R P Herrold 2000-07-02 21:18:19 EDT
Additionally, during an Upgrade, it (the RPM in the second stage image) will not 
--rebuilddb as packaged in beta-2.

This prevents credible attempts to fix a hosed partially upgraded RPM database. 
Comment 2 Jeff Johnson 2000-07-10 16:05:27 EDT
rpm is being split into possibly 5 executables, and the build modes have already
been moved
to a new executable /usr/bin/rpmb. Meanwhile, to cope with the transition, rpm
/usr/bin/rpmb [passing the original arguments, and there is no way using current
popt aliases
to identify the failed exec when rpm-build is not installed.

I'd suggest that you should start to type rpmb when building, and be prepared
for the
executable to be renamed to  (IMHO sligltly less nerdy, YMMV) rpmbuild.

The other issue with --rebuilddb is a whole different can of worms. Please add a
new bug with more details if you wish me to fix.

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