Hello,
Just fresh installed a VM with rockylinux 8.8 and lustre 2.15.3 (from whamcloud 
repo) and don’t see any issue with xattr,

Now, /usr/include/sys/xattr.h is part of glibc-headers, it would be there even 
without glibc-devel, but gcc requires glibc-devel,
so unless someone forced install packages everything should be there as 
expected.

This is a list of packages related to gcc and glibc used for testing, now 
building Robinhood 3.1.7 with lustre 2.15 will fail during build because of 
another issue with
Lustre headers.

[user@rbh-rky8 rpms]$ rpm -qa |grep -e glibc- -e gcc -e lustre -e header | sort
gcc-8.5.0-18.el8.x86_64
gcc-plugin-annobin-8.5.0-18.el8.x86_64
glibc-2.28-225.el8_8.6.x86_64
glibc-all-langpacks-2.28-225.el8_8.6.x86_64
glibc-common-2.28-225.el8_8.6.x86_64
glibc-devel-2.28-225.el8_8.6.x86_64
glibc-gconv-extra-2.28-225.el8_8.6.x86_64
glibc-headers-2.28-225.el8_8.6.x86_64
kernel-headers-4.18.0-477.27.1.el8_8.x86_64
kmod-lustre-client-2.15.3-1.el8.x86_64
libgcc-8.5.0-18.el8.x86_64
lustre-client-2.15.3-1.el8.x86_64
lustre-client-devel-2.15.3-1.el8.x86_64

Patch for building robinhood 3.1.7 with lustre 2.15.3

diff --git a/src/common/lustre_tools.c b/src/common/lustre_tools.c
index f996c568..a1fb2e92 100644
--- a/src/common/lustre_tools.c
+++ b/src/common/lustre_tools.c
@@ -854,7 +854,9 @@ int Get_pool_usage(const char *poolname, struct statfs 
*pool_statfs)
#ifdef IOC_MDC_GETFILEINFO_OLD
#   define IOC_MDC_GETFILEINFO_V1   IOC_MDC_GETFILEINFO_OLD
#else
+# ifndef IOC_MDC_GETFILEINFO_V1
#   define IOC_MDC_GETFILEINFO_V1   IOC_MDC_GETFILEINFO
+# endif
#endif


Regards.

Davide
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to