Bug 1005157 - Wrong dependencies are adding the main package
Wrong dependencies are adding the main package
Product: Fedora
Classification: Fedora
Component: mock (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Clark Williams
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-09-06 06:28 EDT by Andre Lorbach
Modified: 2013-09-09 04:27 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-09-09 04:27:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andre Lorbach 2013-09-06 06:28:51 EDT
Description of problem:
I am using mock environment to build rpm packages for rsyslog on Fedora19 (Upgraded from Fedora17). There is a main rpm package for rsyslog and multiple sub packages for other components. One component requires "libmongo-client".

For some reason, the build process detects that libmongo-client is a dependency for the main rsyslog component which is actually false. Therefor a dependency for libmongo-client is added to the main rpm package. 

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

Additional info:
I have the build.log attached to this bug. Line 1349 shows the detected dependencies: 
Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcrypto.so.10()(64bit) libcurl.so.4()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libee.so.0()(64bit) libestr.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcrypt.so.11()(64bit) libgcrypt.so.11(GCRYPT_1.2)(64bit) libgpg-error.so.0()(64bit) libgtbase.so.0()(64bit) libgthttp.so.0()(64bit) libjson.so.0()(64bit) libm.so.6()(64bit) libmongo-client.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) librt.so.1(GLIBC_2.3.4)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH)

It should not includes libmongo-client.so.0. 

Thanks and best regards
Comment 1 Andre Lorbach 2013-09-09 04:27:45 EDT
It turned out there was a minor tool in the main component which required "libmongo-client". I found this after verifing depencies of each binary and libary.

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