Bug 1392635

Summary: results are invalid when testing noarch packages
Product: [Community] rpmdeplint Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: bmcivor, dcallagh, jorris, rjoost, sgraf, tabdy
Target Milestone: 1.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-28 05:31:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dan Callaghan 2016-11-07 23:57:32 UTC
Description of problem:


Version-Release number of selected component (if applicable):
1.2

How reproducible:


Steps to Reproduce:
1. rpmdeplint check --repo=... beaker-*.noarch.rpm

Actual results:
Problems with dependency set:
nothing provides /bin/bash needed by beaker-lab-controller-23.3-1.el6eng.noarch
nothing provides /usr/bin/python needed by beaker-client-23.3-1.el6eng.noarch
nothing provides make needed by beaker-23.3-1.el6eng.src
nothing provides python(abi) = 2.6 needed by beaker-common-23.3-1.el6eng.noarch
nothing provides Xvfb needed by beaker-integration-tests-23.3-1.el6eng.noarch
nothing provides /bin/sh needed by beaker-server-23.3-1.el6eng.noarch
nothing provides /bin/sh needed by beaker-lab-controller-addDistro-23.3-1.el6eng.noarch

Expected results:
A usage error telling me that rpmdeplint does not know which target architecture I want to test against, and that I need to tell it using --arch.

Comment 1 Dan Callaghan 2016-11-10 00:44:22 UTC
I noticed another related problem: if rpmdeplint is given both archful packages and noarch packages, it errors out because it considers that to be two "incompatible arches" which is not supported.

Comment 2 Dan Callaghan 2016-11-10 00:47:33 UTC
http://gerrit.beaker-project.org/5420

Comment 3 Dan Callaghan 2017-04-28 05:31:11 UTC
rpmdeplint 1.3 has been released.