Bug 56007 - rpm -bb package.spec fails
Summary: rpm -bb package.spec fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-10 12:37 UTC by daniel.deimert
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-11-10 12:37:44 UTC
Embargoed:


Attachments (Terms of Use)

Description daniel.deimert 2001-11-10 12:37:39 UTC
From Bugzilla Helper:

Description of problem:
rpm -bb package.spec fails with "package.spec: No such file or directory" 
when rpm-build not installed.

This is a misleading and incorrect error message.


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


How reproducible:
Always

Steps to Reproduce:
1. Install a basic 7.2 server system with rpm but without rpm-build
2. Install a .src.rpm
3. Attempt to build the package by issuing rpm -
ba /usr/src/redhat/SPECS/package.spec
	

Actual Results:  rpm fails with the 
message "/usr/src/redhat/SPECS/package.spec: No such file or directory".



Expected Results:  rpm should have said "rpm: Build option not installed. 
Please install the rpm-build package."


Additional info:

Comment 1 Jeff Johnson 2001-11-20 15:40:30 UTC
Invoke rpmbuild, not rpm. Yes you will need to install the
rpm-build package first.


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