Bug 1005157

Summary: Wrong dependencies are adding the main package
Product: [Fedora] Fedora Reporter: Andre Lorbach <alorbach>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-09 08:27:45 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 Andre Lorbach 2013-09-06 10:28:51 UTC
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 08:27:45 UTC
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.