Bug 1668259

Summary: Glusterfs 5.3 RPMs can't be build on rhel7
Product: [Community] GlusterFS Reporter: Pavel Znamensky <kompastver>
Component: packagingAssignee: bugs <bugs>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5CC: bugs, ndevos
Target Milestone: ---   
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: 2019-02-11 09:56:37 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:

Description Pavel Znamensky 2019-01-22 10:04:52 UTC
Description of problem:
Glusterfs 5.3 RPMs can't be build on rhel7 

Version-Release number of selected component (if applicable):
Glusterfs 5.3 & rhel7

How reproducible:
Build RPMs from this commit https://src.fedoraproject.org/rpms/glusterfs/tree/48abd2568d3b3d5c358d2de48d4f55bb8000a02e on rhel7.


Actual results:

Build failed because files from the spec not found on filesystem.

Processing files: glusterfs-devel-5.3-1.el7.x86_64
error: Directory not found: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy
error: File not found by glob: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy/debug-trace.*
error: File not found by glob: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy/helloworld.*
error: File not found by glob: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy/negative.*


RPM build errors:
    Directory not found: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy
    File not found by glob: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy/debug-trace.*
    File not found by glob: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy/helloworld.*
    File not found by glob: /var/tmp/build/RPM_BUILD_CHROOT/glusterfs-5.3-1.el7.x86_64/usr/lib64/glusterfs/5.3/xlator/features/glupy/negative.*

Comment 1 Niels de Vos 2019-02-11 09:56:37 UTC
The package was built successfully for CentOS 7: https://cbs.centos.org/koji/buildinfo?buildID=25022

You can consume the packages from the CentOS Storage SIG with these commands, no need to build your own (on a standard CentOS-7 system):

# yum install centos-release-gluster
# yum install glusterfs-server


There is no intention to build el7 packages from the Fedora .spec file. Either use the .spec from the tarball, or from https://github.com/CentOS-Storage-SIG/glusterfs/tree/sig-storage6-gluster-5