Bug 114081 - 'rpmbuild -bs' fails if any BuildRequires are not satisfied.
Summary: 'rpmbuild -bs' fails if any BuildRequires are not satisfied.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-22 13:49 UTC by Steven Hosgood
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-01-22 17:13:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steven Hosgood 2004-01-22 13:49:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
The -bs flag just takes sources, patches and a .spec file and packs
them as a .src.rpm file.

It surely shouldn't matter if the BuildRequires fail on the machine
that does this packing?

You are, after all, not actually building the thing yet.

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

How reproducible:
Always

Steps to Reproduce:
1. Take a .spec file (foo.spec)
2. Add a BuildRequires line for some package you don't have (bar-devel)
3. Try 'rpmbuild -bs foo.spec'
    

Actual Results:  error: Failed build dependencies:
        bar-devel is needed by foo-2.3.4-5


Expected Results:  I'd expect foo-2.3.4-5.src.rpm to be created.

Additional info:

Comment 1 Jeff Johnson 2004-01-22 17:13:19 UTC
Yup. Add --nodeps to disable build dependency checks.

Comment 2 Steven Hosgood 2004-01-23 10:13:45 UTC
<blush>
I didn't know you could use --nodeps on 'rpmbuild', though I suppose I
should have tried it 'just in case'.
</blush>

A minor follow-on then: '--nodeps' isn't mentioned in the man page for
rpmbuild.


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