Since i upgraded to Fedora 32 the other day, the dkms compile of the veeamsnap kernel module doesn't work any more.
Error:
Code: Select all
# dkms build veeamsnap/4.0.0.1961
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.6.7-300.fc32.x86_64 -C /lib/modules/5.6.7-300.fc32.x86_64/build M=/var/lib/dkms/veeamsnap/4.0.0.1961/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.6.7-300.fc32.x86_64 (x86_64)
Consult /var/lib/dkms/veeamsnap/4.0.0.1961/build/make.log for more information.
Here is the content of "make.log":
Code: Select all
DKMS make.log for veeamsnap-4.0.0.1961 for kernel 5.6.7-300.fc32.x86_64 (x86_64)
Do 30. Apr 12:46:05 CEST 2020
make: Entering directory '/usr/src/kernels/5.6.7-300.fc32.x86_64'
AR /var/lib/dkms/veeamsnap/4.0.0.1961/build/built-in.a
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/log.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/mem_alloc.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/sparse_bitmap.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/container.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/container_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/queue_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/bitmap_sync.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/page_array.o
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/queue_spinlocking.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/mem_alloc.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/container_spinlocking.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/page_array.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:43:21: error: field ‘m_time’ has incomplete type
43 | struct timespec m_time;
| ^~~~~~
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:68:21: error: field ‘m_modify_time’ has incomplete type
68 | struct timespec m_modify_time;
| ^~~~~~~~~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/sparse_bitmap.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/container.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/mem_alloc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/queue_spinlocking.o] Error 1
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c: In function ‘_logging_filename_create’:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:187:9: error: implicit declaration of function ‘getnstimeofday’ [-Werror=implicit-function-declaration]
187 | getnstimeofday(&logging->m_modify_time);
| ^~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c: In function ‘_logging_check_renew’:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:224:21: error: storage size of ‘_time’ isn’t known
224 | struct timespec _time;
| ^~~~~
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/container_spinlocking.o] Error 1
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:224:21: warning: unused variable ‘_time’ [-Wunused-variable]
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:39,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/bitmap_sync.c:1:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.h:25:80: error: unknown type name ‘time_t’
25 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs);
| ^~~~~~
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c: In function ‘logging_init’:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:454:49: error: invalid application of ‘sizeof’ to incomplete type ‘struct timespec’
454 | memset( &logging->m_modify_time, 0, sizeof( struct timespec ) );
| ^~~~~~
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/page_array.o] Error 1
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c: At top level:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/log.c:692:80: error: unknown type name ‘time_t’
692 | void log_s_sec(const char* section, const unsigned level, const char* s, const time_t totalsecs)
| ^~~~~~
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/container.o] Error 1
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/sparse_bitmap.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/bitmap_sync.o] Error 1
make[1]: *** [scripts/Makefile.build:268: /var/lib/dkms/veeamsnap/4.0.0.1961/build/log.o] Error 1
make: *** [Makefile:1683: /var/lib/dkms/veeamsnap/4.0.0.1961/build] Error 2
make: Leaving directory '/usr/src/kernels/5.6.7-300.fc32.x86_64'
Best regards, Luki