Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
1
-
3
-
9223372036854775807
Description
Debian kernel package splits '-arch' and '-common' packages.
To configure lustre:
--with-linux=<path-to-common> --with-linux-obj=<path-to-arch>
However the dkms attempts to re-build modules with:
sh autogen.sh && ./configure --with-linux=/lib/modules/5.10.0-0.bpo.9-amd64/build --with-linux-obj=/lib/modules/5.10.0-0.bpo.9-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
Which fails.
Resolve the symlink /lib/modules/5.10.0-0.bpo.9-amd64/build
$ ls -l /lib/modules/5.10.0-0.bpo.9-amd64/build lrwxrwxrwx 1 root root 43 Oct 10 12:07 /lib/modules/5.10.0-0.bpo.9-amd64/build -> /usr/src/linux-headers-5.10.0-0.bpo.9-amd64/
and check for the parallel common directory /usr/src/linux-headers-5.10.0-0.bpo.9-common/, if it exists update the path to the kernel headers.
Attachments
Issue Links
- is duplicated by
-
LU-15972 '--disable-utils' makes build of 2.15.0 fail on rhel8.5
- Resolved