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:
you need to install the redhat-rpm-config rpm on your system