При попытке установки разлиных программ на Ubuntu 22.04.4 LTS выда\тся ошибка:
Errors were encountered while processing:
kmod-stcvsm-dkms
spx-agent
spx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Поиски в гугле ничего внятного не дали. Кто-нибудь сталкивался, как это чинить?
Также генерируется лог: /var/crash/kmod-stcvsm-dkms.0.crash, в котором есть следующая информация:
spoiler
ProblemType: Package
DKMSBuildLog:
DKMS make.log for stcvsm-7.1.2 for kernel 6.5.0-35-generic (x86_64)
czw, 13 cze 2024, 09:07:04 CEST
rm: cannot remove '*.kver.stamp': No such file or directory
echo "#define STCVSM_VERSION \"7.1.2-0\"" > stcvsm_version.h
./mkconfig.sh 6.5.0-35-generic > stcvsm_config.h
echo "#define STCVSM_MAJOR 7" >> stcvsm_version.h
echo "#define STCVSM_MINOR 1" >> stcvsm_version.h
echo "#define STCVSM_PATCH 2" >> stcvsm_version.h
echo "#define STCVSM_BUILD 0" >> stcvsm_version.h
grep: /lib/modules/6.5.0-35-generic/build/include/linux/genhd.h: No such file or directory
grep: /lib/modules/6.5.0-35-generic/build/include/linux/genhd.h: No such file or directory
grep: /lib/modules/6.5.0-35-generic/build/include/linux/genhd.h: No such file or directory
grep: /lib/modules/6.5.0-35-generic/build/include/linux/genhd.h: No such file or directory
make -C /lib/modules/6.5.0-35-generic/build M=/var/lib/dkms/stcvsm/7.1.2/build
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-35-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/blkrw.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/cow.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/cow_bdev.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/cow_mem.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/cow_range.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/debug.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/export.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/ext2_bitmap.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/filter.o
CC [M] /var/lib/dkms/stcvsm/7.1.2/build/import.o
/var/lib/dkms/stcvsm/7.1.2/build/filter.c:20:10: fatal error: linux/genhd.h: No such file or directory
20 | #include <linux/genhd.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/filter.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/stcvsm/7.1.2/build/cow.c:25:
/var/lib/dkms/stcvsm/7.1.2/build/cow.h:27:10: fatal error: stdarg.h: No such file or directory
27 | #include <stdarg.h>
| ^~~~~~~~~~
compilation terminated.
In file included from /var/lib/dkms/stcvsm/7.1.2/build/cow_mem.c:26:
/var/lib/dkms/stcvsm/7.1.2/build/cow.h:27:10: fatal error: stdarg.h: No such file or directory
27 | #include <stdarg.h>
| ^~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/cow.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/cow_mem.o] Error 1
In file included from /var/lib/dkms/stcvsm/7.1.2/build/export.h:23,
from /var/lib/dkms/stcvsm/7.1.2/build/export.c:23:
/var/lib/dkms/stcvsm/7.1.2/build/portability.h:27:10: fatal error: linux/genhd.h: No such file or directory
27 | #include <linux/genhd.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/lib/dkms/stcvsm/7.1.2/build/blkrw.h:26,
from /var/lib/dkms/stcvsm/7.1.2/build/blkrw.c:25:
/var/lib/dkms/stcvsm/7.1.2/build/portability.h:27:10: fatal error: linux/genhd.h: No such file or directory
27 | #include <linux/genhd.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/lib/dkms/stcvsm/7.1.2/build/blkrw.h:26,
from /var/lib/dkms/stcvsm/7.1.2/build/ext2_bitmap.c:30:
/var/lib/dkms/stcvsm/7.1.2/build/portability.h:27:10: fatal error: linux/genhd.h: No such file or directory
27 | #include <linux/genhd.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/export.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/blkrw.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/ext2_bitmap.o] Error 1
In file included from /var/lib/dkms/stcvsm/7.1.2/build/cow_bdev.c:27:
/var/lib/dkms/stcvsm/7.1.2/build/cow.h:27:10: fatal error: stdarg.h: No such file or directory
27 | #include <stdarg.h>
| ^~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/cow_bdev.o] Error 1
In file included from /var/lib/dkms/stcvsm/7.1.2/build/export.h:23,
from /var/lib/dkms/stcvsm/7.1.2/build/import.c:23:
/var/lib/dkms/stcvsm/7.1.2/build/portability.h:27:10: fatal error: linux/genhd.h: No such file or directory
27 | #include <linux/genhd.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/stcvsm/7.1.2/build/import.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.5.0-35-generic/Makefile:2039: /var/lib/dkms/stcvsm/7.1.2/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-35-generic'
make: *** [Makefile:14: default] Error 2
DKMSKernelVersion: 6.5.0-35-generic
Date: Thu Jun 13 09:07:07 2024
Package: kmod-stcvsm-dkms 7.1.2-6.ubuntu20.04
PackageVersion: 7.1.2-6.ubuntu20.04
SourcePackage: kmod-stcvsm-dkms
Title: kmod-stcvsm-dkms 7.1.2-6.ubuntu20.04: stcvsm kernel module failed to build