Dear all,

I'm trying to install Lustre client (version 2.15.0-RC2, but seems that older 
releases give same results) on Debian 11 hosts with kernel version 5.10.0-12
I used Lustre extensively on Debian 10 without problems in the past.

The build of packages goes well with:
sh autogen.sh && ./configure --disable-server 
--with-linux=/usr/src/linux-headers-$(uname -r) && make debs
sh autogen.sh && ./configure --disable-server 
--with-linux=/usr/src/linux-headers-$(uname -r) && make dkms-debs

but when I install the generated deb package dkms compilation fails:

-------
root@node:~# dpkg -i lustre-client-modules-dkms_2.15.0-RC2-dirty-1_amd64.deb
Selecting previously unselected package lustre-client-modules-dkms.
(Reading database ... 90592 files and directories currently installed.)
Preparing to unpack .../lustre-client-modules-dkms_2.15.0-RC2-dirty-1_amd64.deb 
...
Unpacking lustre-client-modules-dkms (2.15.0-RC2-dirty-1) ...
Setting up lustre-client-modules-dkms (2.15.0-RC2-dirty-1) ...

Creating symlink /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/source ->
                  /usr/src/lustre-client-modules-2.15.0-RC2-dirty

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
sh autogen.sh && ./configure --with-linux=/lib/modules/5.10.0-12-amd64/build 
--with-linux-obj=/lib/modules/5.10.0-12-amd64/build --disable-server --disable-quilt 
--disable-dependency-tracking --disable-doc --disable-utils --disable-iokit --disable-snmp 
--disable-tests --enable-quota --with-kmp-moddir=updates && make......(bad exit status: 
1)
Error! Bad return status for module build on kernel: 5.10.0-12-amd64 (x86_64)
Consult /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/make.log for 
more information.
-------

make.log and config.log are attached

is there something I missed? or is it impossible to run Lustre on 5.10.* 
kernels?

many thanks
Francesco
DKMS make.log for lustre-client-modules-2.15.0-RC2-dirty for kernel 5.10.0-12-amd64 (x86_64)
Tue Mar 15 17:57:38 CET 2022
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc-10
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-10 accepts -g... yes
checking for gcc-10 option to accept ISO C89... none needed
checking whether gcc-10 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc-10... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc-10... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc-10 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc-10 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc-10 supports -fno-rtti -fno-exceptions... no
checking for gcc-10 option to produce PIC... -fPIC -DPIC
checking if gcc-10 PIC flag -fPIC -DPIC works... yes
checking if gcc-10 static flag -static works... yes
checking if gcc-10 supports -c -o file.o... yes
checking if gcc-10 supports -c -o file.o... (cached) yes
checking whether the gcc-10 linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking dependency style of gcc-10... none
checking for rpmbuild... no
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: Lustre base checks
==============================================================================
checking whether to configure just enough for make dist... no
checking if this distro uses dpkg... yes
checking for ranlib... (cached) ranlib
checking for ld... /bin/ld -m elf_x86_64
checking for objdump... (cached) objdump
checking for strip... (cached) strip
checking size of unsigned long long... 8
checking for -Wno-format-truncation support... yes
checking for -Wno-stringop-truncation support... yes
checking for -Wno-stringop-overflow support... yes
checking whether to use OSD addon... no
checking whether to build Lustre docs... no
checking whether to build Lustre manpages... yes
checking whether to build Lustre utilities... no
checking whether to build Lustre tests... checking for python3... /bin/python3
checking for a version of Python >= '3.6.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python3.9
checking for Python library path... -L/usr/lib -lpython3.9
checking for Python site-packages path... /usr/lib/python3/dist-packages
checking python extra libraries... -lcrypt -lpthread -ldl  -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking for swig... /bin/swig
checking SWIG version... 4.0.2
checking for SWIG library... /usr/share/swig4.0
no
checking whether to build Lustre client support... yes
checking whether mpitests can be built... yes
checking whether to build Linux kernel modules... yes (linux-gnu)
find: '/usr/src/kernels/': No such file or directory
checking for Linux sources... /usr/src/linux-headers-5.10.0-12-amd64
checking for /usr/src/linux-headers-5.10.0-12-amd64... yes
checking for Linux objects... /usr/src/linux-headers-5.10.0-12-amd64
checking for /usr/src/linux-headers-5.10.0-12-amd64/.config... yes
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /usr/src/linux-headers-5.10.0-12-amd64/include/generated/autoconf.h... yes
checking for /usr/src/linux-headers-5.10.0-12-amd64/include/linux/version.h... no
checking for /usr/src/linux-headers-5.10.0-12-amd64/include/generated/uapi/linux/version.h... yes
checking for /usr/src/linux-headers-5.10.0-12-amd64/include/linux/kconfig.h... no
checking for external module build target... configure: error: kernel module make failed; check config.log for details
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Lustre configure 2.15.0_RC2_dirty, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --with-linux=/lib/modules/5.10.0-12-amd64/build --with-linux-obj=/lib/modules/5.10.0-12-amd64/build --disable-server --disable-quilt --disable-dependency-tracking --disable-doc --disable-utils --disable-iokit --disable-snmp --disable-tests --enable-quota --with-kmp-moddir=updates

## --------- ##
## Platform. ##
## --------- ##

hostname = lofar2
uname -m = x86_64
uname -r = 5.10.0-12-amd64
uname -s = Linux
uname -v = #1 SMP Debian 5.10.103-1 (2022-03-07)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/lib/dkms


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2848: checking build system type
configure:2862: result: x86_64-pc-linux-gnu
configure:2882: checking host system type
configure:2895: result: x86_64-pc-linux-gnu
configure:2915: checking target system type
configure:2928: result: x86_64-pc-linux-gnu
configure:2972: checking for a BSD-compatible install
configure:3040: result: /bin/install -c
configure:3051: checking whether build environment is sane
configure:3106: result: yes
configure:3252: checking for a thread-safe mkdir -p
configure:3291: result: /bin/mkdir -p
configure:3298: checking for gawk
configure:3328: result: no
configure:3298: checking for mawk
configure:3314: found /bin/mawk
configure:3325: result: mawk
configure:3336: checking whether make sets $(MAKE)
configure:3358: result: yes
configure:3387: checking whether make supports nested variables
configure:3404: result: yes
configure:3483: checking how to create a pax tar archive
configure:3494: tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3497: $? = 0
configure:3537: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
configure:3540: $? = 0
configure:3544: tar -xf - <conftest.tar
configure:3547: $? = 0
configure:3549: cat conftest.dir/file
GrepMe
configure:3552: $? = 0
configure:3565: result: gnutar
configure:3616: checking whether to enable maintainer-specific portions of Makefiles
configure:3625: result: yes
configure:3687: checking for gcc
configure:3714: result: gcc-10
configure:3943: checking for C compiler version
configure:3952: gcc-10 --version >&5
gcc-10 (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3963: $? = 0
configure:3952: gcc-10 -v >&5
Using built-in specs.
COLLECT_GCC=gcc-10
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6) 
... rest of stderr output deleted ...
configure:3963: $? = 0
configure:3952: gcc-10 -V >&5
gcc-10: error: unrecognized command-line option '-V'
gcc-10: fatal error: no input files
compilation terminated.
configure:3963: $? = 1
configure:3952: gcc-10 -qversion >&5
gcc-10: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc-10: fatal error: no input files
compilation terminated.
configure:3963: $? = 1
configure:3983: checking whether the C compiler works
configure:4005: gcc-10    conftest.c  >&5
configure:4009: $? = 0
configure:4057: result: yes
configure:4060: checking for C compiler default output file name
configure:4062: result: a.out
configure:4068: checking for suffix of executables
configure:4075: gcc-10 -o conftest    conftest.c  >&5
configure:4079: $? = 0
configure:4101: result: 
configure:4123: checking whether we are cross compiling
configure:4131: gcc-10 -o conftest    conftest.c  >&5
configure:4135: $? = 0
configure:4142: ./conftest
configure:4146: $? = 0
configure:4161: result: no
configure:4166: checking for suffix of object files
configure:4188: gcc-10 -c   conftest.c >&5
configure:4192: $? = 0
configure:4213: result: o
configure:4217: checking whether we are using the GNU C compiler
configure:4236: gcc-10 -c   conftest.c >&5
configure:4236: $? = 0
configure:4245: result: yes
configure:4254: checking whether gcc-10 accepts -g
configure:4274: gcc-10 -c -g  conftest.c >&5
configure:4274: $? = 0
configure:4315: result: yes
configure:4332: checking for gcc-10 option to accept ISO C89
configure:4395: gcc-10  -c -g -O2  conftest.c >&5
configure:4395: $? = 0
configure:4408: result: none needed
configure:4433: checking whether gcc-10 understands -c and -o together
configure:4455: gcc-10 -c conftest.c -o conftest2.o
configure:4458: $? = 0
configure:4455: gcc-10 -c conftest.c -o conftest2.o
configure:4458: $? = 0
configure:4470: result: yes
configure:4490: checking whether make supports the include directive
configure:4505: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4508: $? = 0
configure:4527: result: yes (GNU style)
configure:4552: checking dependency style of gcc-10
configure:4663: result: none
configure:4724: checking how to print strings
configure:4751: result: printf
configure:4772: checking for a sed that does not truncate output
configure:4836: result: /bin/sed
configure:4854: checking for grep that handles long lines and -e
configure:4912: result: /bin/grep
configure:4917: checking for egrep
configure:4979: result: /bin/grep -E
configure:4984: checking for fgrep
configure:5046: result: /bin/grep -F
configure:5081: checking for ld used by gcc-10
configure:5148: result: /bin/ld
configure:5155: checking if the linker (/bin/ld) is GNU ld
configure:5170: result: yes
configure:5182: checking for BSD- or MS-compatible name lister (nm)
configure:5236: result: /bin/nm -B
configure:5366: checking the name lister (/bin/nm -B) interface
configure:5373: gcc-10 -c -g -O2  conftest.c >&5
configure:5376: /bin/nm -B "conftest.o"
configure:5379: output
0000000000000000 B some_variable
configure:5386: result: BSD nm
configure:5389: checking whether ln -s works
configure:5393: result: yes
configure:5401: checking the maximum length of command line arguments
configure:5532: result: 1572864
configure:5580: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:5620: result: func_convert_file_noop
configure:5627: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:5647: result: func_convert_file_noop
configure:5654: checking for /bin/ld option to reload object files
configure:5661: result: -r
configure:5735: checking for objdump
configure:5751: found /bin/objdump
configure:5762: result: objdump
configure:5794: checking how to recognize dependent libraries
configure:5994: result: pass_all
configure:6079: checking for dlltool
configure:6109: result: no
configure:6139: checking how to associate runtime and link libraries
configure:6166: result: printf %s\n
configure:6227: checking for ar
configure:6243: found /bin/ar
configure:6254: result: ar
configure:6291: checking for archiver @FILE support
configure:6308: gcc-10 -c -g -O2  conftest.c >&5
configure:6308: $? = 0
configure:6311: ar cr libconftest.a @conftest.lst >&5
configure:6314: $? = 0
configure:6319: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6322: $? = 1
configure:6334: result: @
configure:6392: checking for strip
configure:6408: found /bin/strip
configure:6419: result: strip
configure:6491: checking for ranlib
configure:6507: found /bin/ranlib
configure:6518: result: ranlib
configure:6620: checking command to parse /bin/nm -B output from gcc-10 object
configure:6773: gcc-10 -c -g -O2  conftest.c >&5
configure:6776: $? = 0
configure:6780: /bin/nm -B conftest.o | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
configure:6846: gcc-10 -o conftest -g -O2   conftest.c conftstm.o >&5
configure:6849: $? = 0
configure:6887: result: ok
configure:6934: checking for sysroot
configure:6964: result: no
configure:6971: checking for a working dd
configure:7009: result: /bin/dd
configure:7013: checking how to truncate binary pipes
configure:7028: result: /bin/dd bs=4096 count=1
configure:7164: gcc-10 -c -g -O2  conftest.c >&5
configure:7167: $? = 0
configure:7357: checking for mt
configure:7373: found /bin/mt
configure:7384: result: mt
configure:7407: checking if mt is a manifest tool
configure:7413: mt '-?'
configure:7421: result: no
configure:8098: checking how to run the C preprocessor
configure:8129: gcc-10 -E  conftest.c
configure:8129: $? = 0
configure:8143: gcc-10 -E  conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
   11 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:8143: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "2.15.0_RC2_dirty"
| #define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
| #define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "2.15.0_RC2_dirty"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:8168: result: gcc-10 -E
configure:8188: gcc-10 -E  conftest.c
configure:8188: $? = 0
configure:8202: gcc-10 -E  conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
   11 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:8202: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "2.15.0_RC2_dirty"
| #define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
| #define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "2.15.0_RC2_dirty"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:8231: checking for ANSI C header files
configure:8251: gcc-10 -c -g -O2  conftest.c >&5
configure:8251: $? = 0
configure:8324: gcc-10 -o conftest -g -O2   conftest.c  >&5
configure:8324: $? = 0
configure:8324: ./conftest
configure:8324: $? = 0
configure:8335: result: yes
configure:8348: checking for sys/types.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for sys/stat.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for stdlib.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for string.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for memory.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for strings.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for inttypes.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for stdint.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8348: checking for unistd.h
configure:8348: gcc-10 -c -g -O2  conftest.c >&5
configure:8348: $? = 0
configure:8348: result: yes
configure:8362: checking for dlfcn.h
configure:8362: gcc-10 -c -g -O2  conftest.c >&5
configure:8362: $? = 0
configure:8362: result: yes
configure:8618: checking for objdir
configure:8633: result: .libs
configure:8893: checking if gcc-10 supports -fno-rtti -fno-exceptions
configure:8911: gcc-10 -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:8915: $? = 0
configure:8928: result: no
configure:9292: checking for gcc-10 option to produce PIC
configure:9299: result: -fPIC -DPIC
configure:9307: checking if gcc-10 PIC flag -fPIC -DPIC works
configure:9325: gcc-10 -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:9329: $? = 0
configure:9342: result: yes
configure:9371: checking if gcc-10 static flag -static works
configure:9399: result: yes
configure:9414: checking if gcc-10 supports -c -o file.o
configure:9435: gcc-10 -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:9439: $? = 0
configure:9461: result: yes
configure:9469: checking if gcc-10 supports -c -o file.o
configure:9516: result: yes
configure:9549: checking whether the gcc-10 linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:10812: result: yes
configure:10849: checking whether -lc should be explicitly linked in
configure:10857: gcc-10 -c -g -O2  conftest.c >&5
configure:10860: $? = 0
configure:10875: gcc-10 -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10878: $? = 0
configure:10892: result: no
configure:11052: checking dynamic linker characteristics
configure:11633: gcc-10 -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:11633: $? = 0
configure:11882: result: GNU/Linux ld.so
configure:12004: checking how to hardcode library paths into programs
configure:12029: result: immediate
configure:12577: checking whether stripping libraries is possible
configure:12582: result: yes
configure:12617: checking if libtool supports shared libraries
configure:12619: result: yes
configure:12622: checking whether to build shared libraries
configure:12647: result: yes
configure:12650: checking whether to build static libraries
configure:12654: result: yes
configure:12701: checking dependency style of gcc-10
configure:12810: result: none
configure:12828: checking for rpmbuild
configure:12861: result: no
configure:13060: checking for pkg-config
configure:13078: found /bin/pkg-config
configure:13090: result: /bin/pkg-config
configure:13115: checking pkg-config is at least version 0.9.0
configure:13118: result: yes
configure:13128: Lustre base checks
==============================================================================
configure:13141: checking whether to configure just enough for make dist
configure:13150: result: no
configure:13170: checking if this distro uses dpkg
configure:13185: result: yes
configure:13271: checking for ranlib
configure:13298: result: ranlib
configure:13363: checking for ld
configure:13390: result: /bin/ld -m elf_x86_64
configure:13455: checking for objdump
configure:13482: result: objdump
configure:13547: checking for strip
configure:13574: result: strip
configure:13602: checking size of unsigned long long
configure:13607: gcc-10 -o conftest -g -O2   conftest.c  >&5
configure:13607: $? = 0
configure:13607: ./conftest
configure:13607: $? = 0
configure:13621: result: 8
configure:13657: checking for -Wno-format-truncation support
configure:13674: gcc-10 -c -g -O2 -Wno-format-truncation -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/utils/ -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include  conftest.c >&5
configure:13674: $? = 0
configure:13678: result: yes
configure:13692: checking for -Wno-stringop-truncation support
configure:13709: gcc-10 -c -g -O2 -Werror -Wno-stringop-truncation -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/utils/ -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include  conftest.c >&5
configure:13709: $? = 0
configure:13713: result: yes
configure:13727: checking for -Wno-stringop-overflow support
configure:13744: gcc-10 -c -g -O2 -Wno-stringop-overflow -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/utils/ -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include  conftest.c >&5
configure:13744: $? = 0
configure:13748: result: yes
configure:13763: checking whether to use OSD addon
configure:13787: result: no
configure:13819: checking whether to build Lustre docs
configure:13828: result: no
configure:13838: checking whether to build Lustre manpages
configure:13847: result: yes
configure:13851: checking whether to build Lustre utilities
configure:13860: result: no
configure:13864: checking whether to build Lustre tests
configure:13890: checking for python3
configure:13908: found /bin/python3
configure:13920: result: /bin/python3
configure:13945: checking for a version of Python >= '3.6.0'
configure:13979: result: yes
configure:14018: checking for the distutils Python package
configure:14022: result: yes
configure:14041: checking for Python include path
configure:14057: result: -I/usr/include/python3.9
configure:14064: checking for Python library path
configure:14147: result: -L/usr/lib -lpython3.9
configure:14154: checking for Python site-packages path
configure:14160: result: /usr/lib/python3/dist-packages
configure:14167: checking python extra libraries
configure:14174: result: -lcrypt -lpthread -ldl  -lutil -lm -lm
configure:14181: checking python extra linking flags
configure:14188: result: -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
configure:14195: checking consistency of all components of python development environment
configure:14223: gcc-10 -o conftest -g -O2 -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/utils/ -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include  -I/usr/include/python3.9  -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions conftest.c  -L/usr/lib -lpython3.9 -lcrypt -lpthread -ldl  -lutil -lm -lm -lcrypt -lpthread -ldl  -lutil -lm -lm >&5
configure:14223: $? = 0
configure:14241: result: yes
configure:14288: checking for swig
configure:14306: found /bin/swig
configure:14318: result: /bin/swig
configure:14332: checking SWIG version
configure:14335: result: 4.0.2
configure:14384: checking for SWIG library
configure:14387: result: /usr/share/swig4.0
configure:14403: result: no
configure:14407: checking whether to build Lustre client support
configure:14416: result: yes
configure:14451: checking whether mpitests can be built
configure:14467: mpicc -c -g -O2 -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/utils/ -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include  conftest.c >&5
configure:14467: $? = 0
configure:14475: result: yes
configure:14514: checking whether to build Linux kernel modules
configure:14536: result: yes (linux-gnu)
configure:14564: checking for Linux sources
configure:14593: result: /usr/src/linux-headers-5.10.0-12-amd64
configure:14600: checking for /usr/src/linux-headers-5.10.0-12-amd64
configure:14614: result: yes
configure:14623: checking for Linux objects
configure:14651: result: /usr/src/linux-headers-5.10.0-12-amd64
configure:14686: checking for /usr/src/linux-headers-5.10.0-12-amd64/.config
configure:14700: result: yes
configure:14714: checking for /boot/kernel.h
configure:14727: result: no
configure:14733: checking for /var/adm/running-kernel.h
configure:14746: result: no
configure:14784: checking for /usr/src/linux-headers-5.10.0-12-amd64/include/generated/autoconf.h
configure:14798: result: yes
configure:14831: checking for /usr/src/linux-headers-5.10.0-12-amd64/include/linux/version.h
configure:14845: result: no
configure:14852: checking for /usr/src/linux-headers-5.10.0-12-amd64/include/generated/uapi/linux/version.h
configure:14866: result: yes
configure:14882: checking for /usr/src/linux-headers-5.10.0-12-amd64/include/linux/kconfig.h
configure:14896: result: no
configure:14972: checking for external module build target
configure:15009: cp conftest.c build && make -d /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build LUSTRE_KERNEL_TEST=conftest.i LDFLAGS= LD=/bin/ld -m elf_x86_64 CC=gcc-10 -f /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/linux-headers-5.10.0-12-amd64/.config LINUXINCLUDE= -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include -Iinclude -Iarch/x86/include/generated -I/usr/src/linux-headers-5.10.0-12-amd64/include -Iinclude2 -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated/uapi -include include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS=  -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/linux-headers-5.10.0-12-amd64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include/libcfs -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow SUBDIRS=/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build
/usr/src/linux-headers-5.10.0-12-common/Makefile:225: =============== ERROR ==============
/usr/src/linux-headers-5.10.0-12-common/Makefile:226: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-5.10.0-12-common/Makefile:227: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-5.10.0-12-common/Makefile:228: ====================================
/usr/src/linux-headers-5.10.0-12-common/Makefile:229: *** ..  Stop.
make: *** [/usr/src/linux-headers-5.10.0-12-common/Makefile:185: __sub-make] Error 2
configure:15012: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "2.15.0_RC2_dirty"
| #define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
| #define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "2.15.0_RC2_dirty"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LUSTRE_MAJOR 2
| #define LUSTRE_MINOR 15
| #define LUSTRE_PATCH 0
| #define LUSTRE_FIX 0
| #define LUSTRE_VERSION_STRING "2.15.0_RC2_dirty"
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_PYTHON "3.9"
| /* end confdefs.h.  */
| 
| #include <linux/kernel.h>
| #include <linux/module.h>
| 
| #if defined(NEED_LOCKDEP_IS_HELD_DISCARD_CONST)  && defined(CONFIG_LOCKDEP)  && defined(lockdep_is_held)
| #undef lockdep_is_held
| 	#define lockdep_is_held(lock) 		lock_is_held((struct lockdep_map *)&(lock)->dep_map)
| #endif
| 
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| };
| MODULE_LICENSE("GPL");
configure:15055: cp conftest.c build && make -d /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/ LUSTRE_KERNEL_TEST=conftest.i LDFLAGS= LD=/bin/ld -m elf_x86_64 CC=gcc-10 -f /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/linux-headers-5.10.0-12-amd64/.config LINUXINCLUDE= -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include -Iinclude -Iarch/x86/include/generated -I/usr/src/linux-headers-5.10.0-12-amd64/include -Iinclude2 -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated/uapi -include include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS=  -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/linux-headers-5.10.0-12-amd64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include/libcfs -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow M=/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build
make[3]: *** No rule to make target '/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build//var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/'.  Stop.
make[2]: *** [/usr/src/linux-headers-5.10.0-12-common/scripts/Makefile.build:477: __build] Error 2
make[1]: *** [/usr/src/linux-headers-5.10.0-12-common/Makefile:1846: /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build] Error 2
make: *** [/usr/src/linux-headers-5.10.0-12-common/Makefile:185: __sub-make] Error 2
configure:15058: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "2.15.0_RC2_dirty"
| #define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
| #define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "2.15.0_RC2_dirty"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LUSTRE_MAJOR 2
| #define LUSTRE_MINOR 15
| #define LUSTRE_PATCH 0
| #define LUSTRE_FIX 0
| #define LUSTRE_VERSION_STRING "2.15.0_RC2_dirty"
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_PYTHON "3.9"
| /* end confdefs.h.  */
| 
| #include <linux/kernel.h>
| #include <linux/module.h>
| 
| #if defined(NEED_LOCKDEP_IS_HELD_DISCARD_CONST)  && defined(CONFIG_LOCKDEP)  && defined(lockdep_is_held)
| #undef lockdep_is_held
| 	#define lockdep_is_held(lock) 		lock_is_held((struct lockdep_map *)&(lock)->dep_map)
| #endif
| 
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| };
| MODULE_LICENSE("GPL");
configure:15101: cp conftest.c build && make -d _module_/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build LUSTRE_KERNEL_TEST=conftest.i LDFLAGS= LD=/bin/ld -m elf_x86_64 CC=gcc-10 -f /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/linux-headers-5.10.0-12-amd64/.config LINUXINCLUDE= -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include -Iinclude -Iarch/x86/include/generated -I/usr/src/linux-headers-5.10.0-12-amd64/include -Iinclude2 -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated/uapi -include include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS=  -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/linux-headers-5.10.0-12-amd64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include/libcfs -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow M=/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build
make[1]: *** No rule to make target '_module_/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build'.  Stop.
make: *** [/usr/src/linux-headers-5.10.0-12-common/Makefile:185: __sub-make] Error 2
configure:15104: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "2.15.0_RC2_dirty"
| #define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
| #define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "2.15.0_RC2_dirty"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LUSTRE_MAJOR 2
| #define LUSTRE_MINOR 15
| #define LUSTRE_PATCH 0
| #define LUSTRE_FIX 0
| #define LUSTRE_VERSION_STRING "2.15.0_RC2_dirty"
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_PYTHON "3.9"
| /* end confdefs.h.  */
| 
| #include <linux/kernel.h>
| #include <linux/module.h>
| 
| #if defined(NEED_LOCKDEP_IS_HELD_DISCARD_CONST)  && defined(CONFIG_LOCKDEP)  && defined(lockdep_is_held)
| #undef lockdep_is_held
| 	#define lockdep_is_held(lock) 		lock_is_held((struct lockdep_map *)&(lock)->dep_map)
| #endif
| 
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| };
| MODULE_LICENSE("GPL");
configure:15147: cp conftest.c build && make -d  LUSTRE_KERNEL_TEST=conftest.i LDFLAGS= LD=/bin/ld -m elf_x86_64 CC=gcc-10 -f /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/linux-headers-5.10.0-12-amd64/.config LINUXINCLUDE= -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include -Iinclude -Iarch/x86/include/generated -I/usr/src/linux-headers-5.10.0-12-amd64/include -Iinclude2 -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated -I/usr/src/linux-headers-5.10.0-12-amd64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-5.10.0-12-amd64/include/uapi -Iinclude/generated/uapi -include include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS=  -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/linux-headers-5.10.0-12-amd64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include/libcfs -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow M=/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build
In file included from <command-line>:
/usr/src/linux-headers-5.10.0-12-common/include/linux/compiler_types.h:65:10: fatal error: linux/compiler_attributes.h: No such file or directory
   65 | #include <linux/compiler_attributes.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-5.10.0-12-common/scripts/Makefile.build:285: /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build/conftest.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.10.0-12-common/Makefile:1846: /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/build] Error 2
make: *** [/usr/src/linux-headers-5.10.0-12-common/Makefile:185: __sub-make] Error 2
configure:15150: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "2.15.0_RC2_dirty"
| #define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
| #define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "2.15.0_RC2_dirty"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LUSTRE_MAJOR 2
| #define LUSTRE_MINOR 15
| #define LUSTRE_PATCH 0
| #define LUSTRE_FIX 0
| #define LUSTRE_VERSION_STRING "2.15.0_RC2_dirty"
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_PYTHON "3.9"
| /* end confdefs.h.  */
| 
| #include <linux/kernel.h>
| #include <linux/module.h>
| 
| #if defined(NEED_LOCKDEP_IS_HELD_DISCARD_CONST)  && defined(CONFIG_LOCKDEP)  && defined(lockdep_is_held)
| #undef lockdep_is_held
| 	#define lockdep_is_held(lock) 		lock_is_held((struct lockdep_map *)&(lock)->dep_map)
| #endif
| 
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| };
| MODULE_LICENSE("GPL");
configure:15163: error: kernel module make failed; check config.log for details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc-10
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBNL3_CFLAGS_set=
ac_cv_env_LIBNL3_CFLAGS_value=
ac_cv_env_LIBNL3_LIBS_set=
ac_cv_env_LIBNL3_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_TEST_DIR_set=
ac_cv_env_TEST_DIR_value=
ac_cv_env_TEST_JOBS_set=
ac_cv_env_TEST_JOBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_PYTHON=/bin/python3
ac_cv_path_SED=/bin/sed
ac_cv_path_SWIG=/bin/swig
ac_cv_path_ac_pt_PKG_CONFIG=/bin/pkg-config
ac_cv_path_install='/bin/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc-10 -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc-10
ac_cv_prog_ac_ct_LD='/bin/ld -m elf_x86_64'
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_unsigned_long_long=8
ac_cv_target=x86_64-pc-linux-gnu
am_cv_CCAS_dependencies_compiler_type=none
am_cv_CC_dependencies_compiler_type=none
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_prog_tar_pax=gnutar
lb_cv_file__boot_kernel_h=no
lb_cv_file__usr_src_linux_headers_5_10_0_12_amd64=yes
lb_cv_file__usr_src_linux_headers_5_10_0_12_amd64__config=yes
lb_cv_file__usr_src_linux_headers_5_10_0_12_amd64_include_generated_autoconf_h=yes
lb_cv_file__usr_src_linux_headers_5_10_0_12_amd64_include_generated_uapi_linux_version_h=yes
lb_cv_file__usr_src_linux_headers_5_10_0_12_amd64_include_linux_kconfig_h=no
lb_cv_file__usr_src_linux_headers_5_10_0_12_amd64_include_linux_version_h=no
lb_cv_file__var_adm_running_kernel_h=no
lb_cv_module_target=
lb_cv_mpi_tests=yes
lb_cv_uses_dpkg=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/bin/ld
lt_cv_path_NM='/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/config/missing'\'' aclocal-1.16'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/config/missing'\'' autoconf'
AUTOCONF_HDIR='generated'
AUTOHEADER='${SHELL} '\''/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/config/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/config/missing'\'' automake-1.16'
AWK='mawk'
BASH_COMPLETION_DIR=''
BUILD_GNILND_FALSE=''
BUILD_GNILND_TRUE=''
BUILD_LUSTREIOKIT_FALSE=''
BUILD_LUSTREIOKIT_TRUE=''
BUILD_LUTF_FALSE=''
BUILD_LUTF_TRUE=''
BUILD_O2IBLND_FALSE=''
BUILD_O2IBLND_TRUE=''
CC='gcc-10'
CCAS='gcc-10'
CCASDEPMODE='depmode=none'
CCASFLAGS='-Wall -fPIC -D_GNU_SOURCE'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2'
CLIENT_FALSE=''
CLIENT_TRUE=''
CONFIG_CACHE_FILE=''
CONFIG_INCLUDE='include/generated/autoconf.h'
CPP='gcc-10 -E'
CPPFLAGS='-I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/utils/ -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include '
CYGPATH_W='echo'
DEBUGFS=''
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DOC_FALSE=''
DOC_TRUE=''
DSYMUTIL=''
DUMPBIN=''
DUMPE2FS=''
E2FSCK=''
E2FSPROGS=''
E2LABEL=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLEO2IB=''
ENABLE_BASH_COMPLETION_FALSE=''
ENABLE_BASH_COMPLETION_TRUE=''
ENABLE_CRYPTO=''
ENABLE_DOC='0'
ENABLE_GSS=''
ENABLE_LDISKFS=''
ENABLE_SERVER=''
ENABLE_ZFS=''
EXEEXT=''
EXT2FS_DEVEL_FALSE=''
EXT2FS_DEVEL_TRUE=''
EXT4_SRC_DIR=''
EXTRA_KCFLAGS=' -g -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/libcfs/include/libcfs -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lnet/include -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include/uapi -I/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow'
EXTRA_OFED_CONFIG=''
EXTRA_OFED_INCLUDE=''
EXTRA_SYMBOLS=''
FGREP='/bin/grep -F'
GETSEPOL_FALSE=''
GETSEPOL_TRUE=''
GNICPPFLAGS=''
GNILND=''
GREP='/bin/grep'
GSS_FALSE=''
GSS_KEYRING_FALSE=''
GSS_KEYRING_TRUE=''
GSS_PIPEFS_FALSE=''
GSS_PIPEFS_TRUE=''
GSS_SSK_FALSE=''
GSS_SSK_TRUE=''
GSS_TRUE=''
HAVE_SYSTEMD_FALSE=''
HAVE_SYSTEMD_TRUE=''
INCLUDE_RULES='include /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/Rules'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
K5VERS=''
KMODEXT='.ko'
KMP_MODDIR=''
KRBCFLAGS=''
KRBDIR=''
KRBLDFLAGS=''
KRBLIBS=''
LD='/bin/ld -m elf_x86_64'
LDFLAGS=''
LDISKFS_ENABLED_FALSE=''
LDISKFS_ENABLED_TRUE=''
LDISKFS_SERIES=''
LDISKFS_SUBDIR=''
LDLIBMOUNT=''
LIBAIO_FALSE=''
LIBAIO_TRUE=''
LIBEFENCE=''
LIBNL3_CFLAGS=''
LIBNL3_LIBS=''
LIBOBJS=''
LIBPTHREAD_FALSE=''
LIBPTHREAD_TRUE=''
LIBREADLINE=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LINUX='/usr/src/linux-headers-5.10.0-12-amd64'
LINUXRELEASE=''
LINUX_CONFIG='/usr/src/linux-headers-5.10.0-12-amd64/.config'
LINUX_FALSE=''
LINUX_OBJ='/usr/src/linux-headers-5.10.0-12-amd64'
LINUX_TRUE=''
LIPO=''
LLCRYPT_FALSE=''
LLCRYPT_TRUE=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
LUSTRE='/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/lustre'
LUSTREIOKIT_SUBDIR=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} '\''/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/config/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MANPAGES_FALSE=''
MANPAGES_TRUE=''
MKDIR_P='/bin/mkdir -p'
MKE2FS=''
MODULES_FALSE=''
MODULES_TRUE=''
MODULE_TARGET='M'
MOSTLYCLEANFILES=''
MPICC_WRAPPER='mpicc'
MPITESTS_FALSE=''
MPITESTS_TRUE=''
MPI_BIN='/bin'
NET_SNMP_CFLAGS=''
NET_SNMP_CONFIG=''
NET_SNMP_LIBS=''
NM='/bin/nm -B'
NMEDIT=''
O2IBLND=''
O2IBPATH=''
OBJDUMP='objdump'
OBJEXT='o'
OSDADDON=''
OTOOL64=''
OTOOL=''
PACKAGE='lustre'
PACKAGE_BUGREPORT='https://jira.whamcloud.com/'
PACKAGE_NAME='Lustre'
PACKAGE_STRING='Lustre 2.15.0_RC2_dirty'
PACKAGE_TARNAME='lustre'
PACKAGE_URL=''
PACKAGE_VERSION='2.15.0_RC2_dirty'
PATCHED_INTEGRITY_INTF=''
PATH_SEPARATOR=':'
PFSCK=''
PKG_CONFIG='/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PLUGINS_FALSE=''
PLUGINS_TRUE=''
PTHREAD_LIBS=''
PYTHON='/bin/python3'
PYTHON_CPPFLAGS='-I/usr/include/python3.9'
PYTHON_EXTRA_LDFLAGS='-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions'
PYTHON_EXTRA_LIBS='-lcrypt -lpthread -ldl  -lutil -lm -lm'
PYTHON_LIBS='-L/usr/lib -lpython3.9'
PYTHON_SITE_PKG='/usr/lib/python3/dist-packages'
PYTHON_VERSION_CHECK='yes'
RANLIB='ranlib'
RHEL_FALSE=''
RHEL_TRUE=''
RPMBUILD=''
RPMBUILD_BINARY_ARGS=''
SED='/bin/sed'
SELINUX=''
SELINUX_FALSE=''
SELINUX_TRUE=''
SERVER_FALSE=''
SERVER_TRUE=''
SET_MAKE=''
SHELL='/bin/bash'
SNMP_DIST_SUBDIR=''
SNMP_SUBDIR=''
SPL=''
SPLIT_FALSE=''
SPLIT_TRUE=''
SPL_ENABLED_FALSE=''
SPL_ENABLED_TRUE=''
SPL_OBJ=''
SPL_VERSION=''
STRIP='strip'
SUSE_FALSE=''
SUSE_TRUE=''
SWIG='/bin/swig'
SWIG_LIB='/usr/share/swig4.0'
SYMVERFILE=''
TESTS_FALSE=''
TESTS_TRUE=''
TEST_DIR=''
TEST_JOBS=''
TUNE2FS=''
UBUNTU_FALSE=''
UBUNTU_TRUE=''
USE_QUILT_FALSE=''
USE_QUILT_TRUE=''
UTILS_FALSE=''
UTILS_TRUE=''
VERSION='2.15.0_RC2_dirty'
VERSION_HDIR='generated/uapi/linux'
XATTR_HANDLER_FALSE=''
XATTR_HANDLER_TRUE=''
ZFS=''
ZFS_ENABLED_FALSE=''
ZFS_ENABLED_TRUE=''
ZFS_LIBZFS_INCLUDE=''
ZFS_LIBZFS_LDFLAGS=''
ZFS_LIBZFS_LIBS=''
ZFS_OBJ=''
ZFS_VERSION=''
ac_configure_args=' '\''--with-linux=/usr/src/linux-headers-5.10.0-12-amd64'\'' '\''--with-linux-obj=/usr/src/linux-headers-5.10.0-12-amd64'\'' '\''--disable-server'\'' '\''--disable-quilt'\'' '\''--disable-dependency-tracking'\'' '\''--disable-doc'\'' '\''--disable-utils'\'' '\''--disable-iokit'\'' '\''--disable-snmp'\'' '\''--disable-tests'\'' '\''--enable-quota'\'' '\''--with-kmp-moddir=updates'\'' '\''CC=gcc-10'\'''
ac_ct_AR='ar'
ac_ct_CC='gcc-10'
ac_ct_DUMPBIN=''
agentdir=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=posix -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
demodir='$(docdir)/demo'
docdir='${datadir}/doc/$(PACKAGE)'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/config/install-sh'
lb_target_os='linux'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mibdir=''
mkdir_p='$(MKDIR_P)'
modulefsdir=''
modulenetdir=''
oldincludedir='/usr/include'
patch_avail=''
pdfdir='${docdir}'
pkgexampledir='${pkgdatadir}/examples'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
quilt_avail=''
rootsbindir='/sbin'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
systemdsystemunitdir=''
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Lustre"
#define PACKAGE_TARNAME "lustre"
#define PACKAGE_VERSION "2.15.0_RC2_dirty"
#define PACKAGE_STRING "Lustre 2.15.0_RC2_dirty"
#define PACKAGE_BUGREPORT "https://jira.whamcloud.com/";
#define PACKAGE_URL ""
#define PACKAGE "lustre"
#define VERSION "2.15.0_RC2_dirty"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define LUSTRE_MAJOR 2
#define LUSTRE_MINOR 15
#define LUSTRE_PATCH 0
#define LUSTRE_FIX 0
#define LUSTRE_VERSION_STRING "2.15.0_RC2_dirty"
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define HAVE_PYTHON "3.9"

configure: exit 1
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to