Description of problem:
GlusterFS fails on RHEL-8 during build.
Version-Release number of selected component (if applicable):
yum install -y autoconf automake bison bzip2 flex fuse3-devel gcc git glib2-devel libacl-devel libaio-devel libibverbs librdmacm libtool libxml2-devel libuuid-devel lvm2 make openssl-devel pkgconfig python2 readline-devel wget zlib-devel nfs-utils libtirpc-devel
Steps to Reproduce:
1.git clone -b v6.1 https://github.com/gluster/glusterfs
2. cd glusterfs
4. ./configure --enable-gnfs
dict.c: In function 'dict_set_bin':
dict.c:2617:12: error: implicit declaration of function 'dict_set_bin_common'; did you mean 'dict_lookup_common'? [-Werror=implicit-function-declaration]
return dict_set_bin_common(this, key, ptr, size, _gf_false,
cc1: some warnings being treated as errors
make: *** [Makefile:997: libglusterfs_la-dict.lo] Error 1
make: *** [Makefile:818: all] Error 2
make: *** [Makefile:456: all-recursive] Error 1
make: *** [Makefile:586: all-recursive] Error 1
make: *** [Makefile:481: all] Error 2
Build completes successfully
FAILURE for GLUSTERFS verion 6.3.
git clone -b v6.3 https://github.com/gluster/glusterfs
The function is in the same file. Did you change anything in source?
No changes made to the source.
Getting same failure for glusterfs v6.4 as well
This bug is moved to https://github.com/gluster/glusterfs/issues/936, and will be tracked there from now on. Visit GitHub issues URL for further details