Bug 1184387

Summary: error: line 135: Unknown tag: %filter_provides_in /usr/lib64/glusterfs/%{version}/
Product: [Community] GlusterFS Reporter: Bhaskarakiran <byarlaga>
Component: buildAssignee: bugs <bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-bugs, jdarcy, kkeithle, lmohanty, mzywusko, ndevos, sasundar
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-22 16:27:12 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 Bhaskarakiran 2015-01-21 09:41:31 UTC
Description of problem:

I was trying to build the gluster RPMS from the mainline on RHEL 6.6 and getting this error message during 'make glusterrpms'. Followed the below link
to build them.

http://www.gluster.org/community/documentation/index.php/CompilingRPMS

The output is :

tardir=glusterfs-3.7dev && /bin/sh /opt/glusterfs/missing --run tar chof - "$tardir" | GZIP=--best gzip -c >glusterfs-3.7dev.tar.gz
tar: glusterfs-3.7dev/tests/bugs/snapshot/bug-1140162-file-snapshot-and-features-encryption-option-validation.t: file name is too long (max 99); not dumped
tar: Exiting with failure status due to previous errors
gtar: glusterfs-3.7dev/tests/bugs/snapshot/bug-1140162-file-snapshot-and-features-encryption-option-validation.t: file name is too long (max 99); not dumped
gtar: Exiting with failure status due to previous errors
{ test ! -d "glusterfs-3.7dev" || { find "glusterfs-3.7dev" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "glusterfs-3.7dev"; }; }
make[1]: Leaving directory `/opt/glusterfs'
mkdir -p rpmbuild/BUILD
mkdir -p rpmbuild/SPECS
mkdir -p rpmbuild/RPMS
mkdir -p rpmbuild/SRPMS
mkdir -p rpmbuild/SOURCES
rm -rf rpmbuild/SOURCES/*
cp ../../*.tar.gz ./rpmbuild/SOURCES
cp ../../glusterfs.spec ./rpmbuild/SPECS
rpmbuild --define '_topdir /opt/glusterfs/extras/LinuxRPM/rpmbuild' -bs rpmbuild/SPECS/glusterfs.spec
error: line 135: Unknown tag:     %filter_provides_in /usr/lib64/glusterfs/%{version}/
make: *** [srcrpm] Error 1

Actual results:


Expected results:
It should not fail with errors.

Additional info:

Comment 1 Kaleb KEITHLEY 2015-01-22 16:27:12 UTC
you need to install the redhat-rpm-config rpm on your system