Bug 1184387 - error: line 135: Unknown tag: %filter_provides_in /usr/lib64/glusterfs/%{version}/
Summary: error: line 135: Unknown tag: %filter_provides_in /usr/lib64/glusterfs/%{...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-21 09:41 UTC by Bhaskarakiran
Modified: 2016-11-23 23:11 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-22 16:27:12 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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