Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 66282 - rpm --rebuild foo.src.rpm says "foo.src.rpm: No such file or directory" if rpm-build not installed
rpm --rebuild foo.src.rpm says "foo.src.rpm: No such file or directory" if rp...
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2002-06-07 02:02 EDT by Thorsten Leemhuis
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-06-07 02:02:52 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 Thorsten Leemhuis 2002-06-07 02:02:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.3 (X11; Linux i686; U;) Gecko/20020523

Description of problem:
If rpm-build is not installed (RH 7.3 Workstation Standard) and you try to
rebuild a srpm using rpm --rebuild foo.src.rpm you get an error-message 

"foo.src.rpm: No such file or directory" 

But this is not correct, the file exist, only rpm-build is not installed. This
error messeage is annoying and confusing.

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

How reproducible:

Steps to Reproduce:
1.rpm --rebuild foo.src.rpm
"foo.src.rpm: No such file or directory" 
2.sudo rpm -ivh /path/to/rpm-build.rpm
3.rpm --rebuild foo.src.rpmrpm --rebuild foo.src.rpm
[now it works]
[thl@thl drt]$ rpm --version
RPM version 4.0.4
Comment 1 Jeff Johnson 2002-06-07 09:49:39 EDT
The build modes of rpm moved to a separate
executable almost 2 years ago. Install the rpm-build
package, and start trying to remember to type
as that is going to be the final fix (when I'm
permitted to remove the legacy compatibility).
Comment 2 Thorsten Leemhuis 2002-06-07 13:10:51 EDT
Yes, that's okay, but I think the anoying and confusing error Message and/or the
man files of normal rpm should be fixed. This error message does not give you
the smalles't hint to what is realy wrong.

But that's your decision, so, have a nice day an sorry for the trouble. Bye

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