Bug 1668259 - Glusterfs 5.3 RPMs can't be build on rhel7
Summary: Glusterfs 5.3 RPMs can't be build on rhel7
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: packaging
Version: 5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-22 10:04 UTC by Pavel Znamensky
Modified: 2019-02-11 09:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-11 09:56:37 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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