Bug 1174144

Summary: Wrong RPM dependencies for older Fedoras for glusterfs-libs
Product: [Community] GlusterFS Reporter: David Kostal <david.kostal>
Component: buildAssignee: Lalatendu Mohanty <lmohanty>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 3.6.1CC: bugs, lmohanty
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 12:58:48 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:
Embargoed:
Attachments:
Description Flags
Disable hard dependency on rsyslog-mmjsonparse for older Fedoras in SPEC file none

Description David Kostal 2014-12-15 09:09:31 UTC
Created attachment 968828 [details]
Disable hard dependency on rsyslog-mmjsonparse for older Fedoras in SPEC file

Description of problem:
When recompiling RPM of glusterfs 3.6.1 on Fedora 16 there is dependency created in glusterfs-libs which cannot be satisfied because rsyslog-mmjsonparse does not exist on Fedora 16


Version-Release number of selected component (if applicable):
glusterfs 3.6.1-1
Fedora 17, 16 and older

How reproducible:
Rebuild current src.rpm and try to install it on older Fedora

Steps to Reproduce:
1. rpmbuild --rebuild glusterfs-3.6.1-1.fc20.src.rpm
2. rpm -ivh glusterfs-3.6.1-1.fc16.i686.rpm  glusterfs-fuse-3.6.1-1.fc16.i686.rpm  glusterfs-libs-3.6.1-1.fc16.i686.rpm  glusterfs-api-3.6.1-1.fc16.i686.rpm

Actual results:
# rpm -ivh glusterfs-3.6.1-1.fc16.i686.rpm  glusterfs-fuse-3.6.1-1.fc16.i686.rpm  glusterfs-libs-3.6.1-1.fc16.i686.rpm  glusterfs-api-3.6.1-1.fc16.i686.rpm 
error: Failed dependencies:
        rsyslog-mmjsonparse is needed by glusterfs-libs-3.6.1-1.fc16.i686


Expected results:
Packages are installed

Additional info:
Fedora 17 is old & unsupported however might still be running. The glusterfs package is easily recompiled there but does not install due to non existing dependency on package rsyslog-mmjsonparse. Attached is a patch that removes this hard dependency for older Fedora releases.

Comment 1 Kaleb KEITHLEY 2016-08-23 12:58:48 UTC
I think we've ironed out all the dependencies in 3.6, 3.7, 3.8, and beyond on Fedora through F26/rawhide; closing.
If you think it's still an issue, please reopen or file a new report.