Hide Forgot
build stops with following messages: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE -DXLATORDIR=\"/usr/lib64/glusterfs/2.1.0git/xlator\" -DSCHEDULERDIR=\"/usr/lib64/glusterfs/2.1.0git/scheduler\" -DTRANSPORTDIR=\"/usr/lib64/glusterfs/2.1.0git/transport\" -DGF_LINUX_HOST_OS -DLIBDIR=\"/usr/lib64/glusterfs/2.1.0git/auth\" -fPIC -Wall -g -shared -nostartfiles -pipe -Wall -O2 -c gf-dirent.c -fPIC -DPIC -o .libs/libglusterfs_la-gf-dirent.o In file included from gf-dirent.c:33: protocol.h: In function 'gf_flags_from_flags': protocol.h:284: error: 'O_CLOEXEC' undeclared (first use in this function) protocol.h:284: error: (Each undeclared identifier is reported only once protocol.h:284: error: for each function it appears in.) protocol.h: In function 'gf_flags_to_flags': protocol.h:311: error: 'O_CLOEXEC' undeclared (first use in this function) make[3]: *** [libglusterfs_la-gf-dirent.lo] Error 1 make[3]: Leaving directory `/usr/src/RPM/BUILD/glusterfs-2.0.4/libglusterfs/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/glusterfs-2.0.4/libglusterfs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/glusterfs-2.0.4' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/glusterfs-2.0.4' error: Bad exit status from /usr/src/tmp/rpm-tmp.60551 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.60551 (%build) Command exited with non-zero status 1 glibc version inside build chroot: $ hsh-run $TMPDIR -- rpm -qa|fgrep glibc glibc-core-2.5.1-alt4 glibc-gconv-modules-2.5.1-alt4 glibc-locales-2.5.1-alt4 glibc-devel-2.5.1-alt4 glibc-preinstall-2.5.1-alt4 glibc-kernheaders-2.6.24-alt4 glibc-nss-2.5.1-alt4 glibc-utils-2.5.1-alt4 glibc-timezones-2.5.1-alt4 glibc-2.5.1-alt4 glibc version where build OK: $ rpm -qa|fgrep glibc glibc-preinstall-2.10.1-alt4 glibc-core-2.10.1-alt4 glibc-gconv-modules-2.10.1-alt4 glibc-nss-2.10.1-alt4 glibc-timezones-2.10.1-alt4 glibc-kernheaders-2.6.29-alt3 glibc-pthread-2.10.1-alt4 glibc-2.10.1-alt4 glibc-devel-2.10.1-alt4 glibc-utils-2.10.1-alt4 glibc-locales-2.10.1-alt4
Hi Konstantin, Can you confirm this bug is still present for you? Please try 2.0.8 release or latest git (in master branch) to compile. Regards,
this fix has gone in to code base already, and it should work fine. closing the bug.