Bug 66282 - rpm --rebuild foo.src.rpm says "foo.src.rpm: No such file or directory" if rpm-build not installed
Summary: rpm --rebuild foo.src.rpm says "foo.src.rpm: No such file or directory" if rp...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.3
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-07 06:02 UTC by Thorsten Leemhuis
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-07 06:02:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Thorsten Leemhuis 2002-06-07 06:02:46 UTC
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:
Always

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 13:49:39 UTC
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
	rpmbuild
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 17:10:51 UTC
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.