Bug 1312552 - yum-builddep --skip-broken doesn't skip missing packages
Summary: yum-builddep --skip-broken doesn't skip missing packages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 1311160
TreeView+ depends on / blocked
 
Reported: 2016-02-27 10:06 UTC by Ales Zelinka
Modified: 2017-12-06 11:15 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 11:15:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ales Zelinka 2016-02-27 10:06:02 UTC
Description of problem:
yum-builddep --skip-broken ends with an error when one of the BuildRequires is missing, not installing anything


Version-Release number of selected component (if applicable):
yum-utils-1.1.30-30.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. have following spec:

> # cat fakepkg.spec
> Name:           fake-pkg
> Version:        1.3.0
> Release:        3%{?dist}
> Summary:        yum-builddep --skip-broken is itself broken
> 
> Group:          System Environment/Base
> License:        GPLv2
> URL:            https://github.com/nfont/%{name}/
> Source0:        https://github.com/nfont/%{name}/archive/v%{version}.tar.gz
> BuildRequires:  missing-but-installable
> BuildRequires:  nonexistant
> 
> %description
> some-desc

2. replace missing-but-installable with a real missing but installable package (mc in my case)


3. run yum-builddep --skip-broken   fakepkg.spec 

Actual results:
# yum-builddep --skip-broken   fakepkg.spec 
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Getting requirements for fakepkg.spec
 --> 1:mc-4.7.0.2-3.el6.ppc64
Error: No Package found for nonexistant


Expected results:
mc is installed, nonexistatnt is skipped

Comment 2 Jan Kurik 2017-12-06 11:15:02 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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