RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1187086 - yum-builddep not properly detecting build dependencies
Summary: yum-builddep not properly detecting build dependencies
Keywords:
Status: CLOSED DUPLICATE of bug 1131164
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum-utils
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-29 10:27 UTC by Karel Srot
Modified: 2016-02-18 10:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 10:31:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1000180 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1000180

Description Karel Srot 2015-01-29 10:27:18 UTC
Description of problem:

Several times I have observed that yum-builddep is not installing proper build dependencies, either dependencies for wrong arch are included or not all dependencies are installed. See two examples below.

yum-3.4.3-125.el7.noarch
yum-utils-1.1.31-29.el7.noarch
rpm-build-4.11.1-25.el7.x86_64


# yum-builddep -y rpm-4.11.1-25.el7.src.rpm
Loaded plugins: product-id
Getting requirements for rpm-4.11.1-25.el7.src
 --> libdb-devel-5.3.21-17.el7_0.1.x86_64
 --> Already installed : redhat-rpm-config-9.1.0-68.el7.noarch
 --> Already installed : gawk-4.0.2-4.el7.x86_64
 --> binutils-devel-2.23.52.0.1-30.el7.x86_64
Error: No Package found for bzip2-devel(ppc-32) >= 0.9.0c-2
Error: No Package found for elfutils-devel(ppc-32) >= 0.112
Error: No Package found for elfutils-libelf-devel(ppc-32)
Error: No Package found for file-devel(ppc-32)
Error: No Package found for gettext-devel(ppc-32)
Error: No Package found for libacl-devel(ppc-32)
Error: No Package found for libcap-devel(ppc-32)
Error: No Package found for libdb-devel(ppc-32)
Error: No Package found for libselinux-devel(ppc-32)
Error: No Package found for libsemanage-devel(ppc-32)
Error: No Package found for lua-devel(ppc-32) >= 5.1
Error: No Package found for ncurses-devel(ppc-32)
Error: No Package found for nss-devel(ppc-32)
Error: No Package found for nss-softokn-freebl-devel(ppc-32)
Error: No Package found for popt-devel(ppc-32) >= 1.10.2
Error: No Package found for python-devel(ppc-32) >= 2.6
Error: No Package found for readline-devel(ppc-32)
Error: No Package found for xz-devel(ppc-32) >= 4.999.8
Error: No Package found for zlib-devel(ppc-32)

OR

# yum-builddep -y curl-7.29.0-19.el7.src.rpm
Loaded plugins: product-id
Getting requirements for curl-7.29.0-19.el7.src
...
...
Installed:
  groff.x86_64 0:1.22.2-8.el7         krb5-devel.x86_64 0:1.12.2-13.el7      libidn-devel.x86_64 0:1.28-3.el7   libssh2-devel.x86_64 0:1.4.3-8.el7  
  nss-devel.x86_64 0:3.16.2.3-5.el7   openldap-devel.x86_64 0:2.4.39-6.el7   stunnel.x86_64 0:4.56-4.el7        zlib-devel.x86_64 0:1.2.7-13.el7    

Dependency Installed:
  cyrus-sasl.x86_64 0:2.1.26-17.el7                     cyrus-sasl-devel.x86_64 0:2.1.26-17.el7      keyutils-libs-devel.x86_64 0:1.5.8-3.el7      
  libcom_err-devel.x86_64 0:1.42.9-6.el7                libselinux-devel.x86_64 0:2.2.2-6.el7        libsepol-devel.x86_64 0:2.1.9-3.el7           
  libverto-devel.x86_64 0:0.2.5-4.el7                   nspr-devel.x86_64 0:4.10.6-3.el7             nss-softokn-devel.x86_64 0:3.16.2.3-7.el7     
  nss-softokn-freebl-devel.x86_64 0:3.16.2.3-7.el7      nss-util-devel.x86_64 0:3.16.2.3-1.el7       openssl-devel.x86_64 1:1.0.1e-42.el7          
  pcre-devel.x86_64 0:8.32-14.el7                      

Complete!

# rpmbuild --clean --rebuild curl-7.29.0-19.el7.src.rpm
...
...
warning: group mockbuild does not exist - using root
error: Failed build dependencies:
	valgrind is needed by curl-7.29.0-19.el7.x86_64

Comment 1 Valentina Mukhamedzhanova 2015-04-27 10:42:27 UTC
Please note that the first issue had already been reported in https://bugzilla.redhat.com/show_bug.cgi?id=1131164.

Comment 4 Karel Srot 2015-12-15 12:34:06 UTC
Could be a duplicate of bug 1000180

Comment 5 Valentina Mukhamedzhanova 2016-02-18 10:31:12 UTC

*** This bug has been marked as a duplicate of bug 1131164 ***


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