Bug 1312552 - yum-builddep --skip-broken doesn't skip missing packages
yum-builddep --skip-broken doesn't skip missing packages
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils (Show other bugs)
6.8
Unspecified Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Valentina Mukhamedzhanova
BaseOS QE Security Team
:
Depends On:
Blocks: 1311160
  Show dependency treegraph
 
Reported: 2016-02-27 05:06 EST by Ales Zelinka
Modified: 2017-12-06 06:15 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-06 06:15:02 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ales Zelinka 2016-02-27 05:06:02 EST
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 06:15:02 EST
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.