Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.15.0
-
None
-
CentOS 7.9
-
3
-
9223372036854775807
Description
Hello!
We wanted to try to deploy a few Lustre 2.15.0 clients on a CentOS 7.9 cluster. While we were able to build the standard lustre/kmod RPMs without issue, we hit the following problem when installing the DKMS RPM.
Overview of the dkms rpm build process (from the Compiling Lustre Wiki page)
make distclean sh ./autogen.sh ./configure --enable-dist --disable-server --enable-client make dist rpmbuild -bs --without servers lustre-dkms.spec rpmbuild --rebuild --without servers /path/to/lustre-client-dkms(...).el7.src.rpm
The installation of the lustre-client-dkms RPM fails on CentOS 7.9 with the following errors:
/var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:946:12: error: redefinition of ‘init_sk_module’ int __init init_sk_module(void) ^ In file included from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_crypto.h:6:0, from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:44: /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_internal.h:544:19: note: previous definition of ‘init_sk_module’ was here static inline int init_sk_module(void) { return 0; } ^ /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:957:6: error: redefinition of ‘cleanup_sk_module’ void cleanup_sk_module(void) ^ In file included from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_crypto.h:6:0, from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:44: /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_internal.h:545:20: note: previous definition of ‘cleanup_sk_module’ was here static inline void cleanup_sk_module(void) { return; } ^
Attaching dkms' build/ make.log where you can find the full log of the build error and build/ config.log
(from /var/lib/dkms/lustre-client on the target client where the build fails).
GCC version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47781/
Subject:
LU-15956gss: allow build without sskProject: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: e1906ae3dbb6b3291272fd8ba0ecbb9fd2425fbb