Bug 85024 - rpm --rebuild fails with useless error message if rpm-build is not installed
rpm --rebuild fails with useless error message if rpm-build is not installed
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: rpm (Show other bugs)
2.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-24 17:17 EST by Lee Sheridan
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-24 18:14:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Lee Sheridan 2003-02-24 17:17:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021007
Debian/1.1-1

Description of problem:
[root@machine root]# rpm --rebuild php-4.2.2-8.0.7.src.rpm
php-4.2.2-8.0.7.src.rpm: No such file or directory


Installing "rpm-build" fixes the problem, but the error message could be much
more useful if it complained about being able to find files from rpm-build or
told me to try installing that RPM.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Install a system without rpm-build
2.Try to build a .src.rpm file using "rpm --rebuild testfile.src.rpm".  Note the
misleading error message.
3.Install the "rpm-build" package and try step 2 again, which will work.
    

Additional info:
Comment 1 Jeff Johnson 2003-02-24 18:14:21 EST
This already fixed in rpm-4.1 by putting rpm build
modes into a seperate /usr/bin/rpmbuild executable.

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