Hello,
Is Lustre supported on Fedora 21 ?
If no, which RedHat (or Debian ?) based system am I supposed to use ?
Can somebody help me on one of these errors ?
Following :
https://wiki.hpdd.intel.com/display/PUB/Rebuilding+the+Lustre-client+rpms...
1. When I do :
--------------
yum-builddep -y kernel-2.6.32-431.23.3.el6_lustre.src.rpm
rpmbuild --rebuild kernel-2.6.32-431.23.3.el6_lustre.src.rpm
I get :
In file included from security/selinux/xfrm.c:45:0:
include/net/xfrm.h: In function 'xfrm_mark_get':
include/net/xfrm.h:1622:48: warning: argument to 'sizeof' in 'memcpy'
call is the same expression as the destination; did you mean to
dereference it? [-Wsizeof-pointer-memaccess]
memcpy(m, nla_data(attrs[XFRMA_MARK]), sizeof(m));
^
gcc: error: elf_x86_64: No such file or directory
gcc: error: unrecognized command line option '-m'
/root/rpmbuild/BUILD/kernel-2.6.32-431.23.3.el6/linux-2.6.32-431.23.3.el6.x86_64/arch/x86/vdso/Makefile:34:
recipe for target 'arch/x86/vdso/vdso.so.dbg' failed
make[2]: *** [arch/x86/vdso/vdso.so.dbg] Error 1
scripts/Makefile.build:365: recipe for target 'arch/x86/vdso' failed
make[1]: *** [arch/x86/vdso] Error 2
Makefile:916: recipe for target 'arch/x86' failed
make: *** [arch/x86] Error 2
make: *** Waiting for unfinished jobs....
2. When I do :
--------------
yum-builddep -y lustre-2.5.3-2.6.32_431.23.3.el6_lustre.x86_64.src.rpm
rpmbuild --rebuild
lustre-2.5.3-2.6.32_431.23.3.el6_lustre.x86_64.src.rpm
I get :
/root/rpmbuild/BUILD/lustre-2.5.3/libcfs/include/libcfs/params_tree.h:86:8:
error: dereferencing pointer to incomplete type
if (dp->proc_fops == NULL)
^
/root/rpmbuild/BUILD/lustre-2.5.3/libcfs/include/libcfs/params_tree.h:88:19:
error: dereferencing pointer to incomplete type
spin_unlock(&(dp)->pde_unload_lock);
^
scripts/Makefile.build:257: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd_modparams.o'
failed
make[7]: ***
[/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd_modparams.o]
Error 1
make[7]: *** Waiting for unfinished jobs....
scripts/Makefile.build:257: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd_proto.o'
failed
make[7]: ***
[/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd_proto.o]
Error 1
scripts/Makefile.build:257: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd_cb.o'
failed
make[7]: ***
[/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd_cb.o]
Error 1
scripts/Makefile.build:257: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd.o' failed
make[7]: ***
[/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd/socklnd.o] Error 1
scripts/Makefile.build:404: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd' failed
make[6]: *** [/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds/socklnd]
Error 2
scripts/Makefile.build:404: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds' failed
make[5]: *** [/root/rpmbuild/BUILD/lustre-2.5.3/lnet/klnds] Error 2
scripts/Makefile.build:404: recipe for target
'/root/rpmbuild/BUILD/lustre-2.5.3/lnet' failed
make[4]: *** [/root/rpmbuild/BUILD/lustre-2.5.3/lnet] Error 2
Makefile:1377: recipe for target
'_module_/root/rpmbuild/BUILD/lustre-2.5.3' failed
make[3]: *** [_module_/root/rpmbuild/BUILD/lustre-2.5.3] Error 2
autoMakefile:916: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
autoMakefile:479: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
autoMakefile:384: recipe for target 'all' failed
make: *** [all] Error 2
Franck
PS : I run Fedora 21
~> uname -r
3.17.8-300.fc21.x86_64