make output from failed build ** Attachment added: "make.log" https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1902581/+attachment/5433060/+files/make.log
** Description changed: [Impact] - openafs-modules-dkms failing to build on linux-hwe-5.8 kernel - - In file included from /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afsincludes.h:28, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/crypto/hcrypto/kernel/config.h:31, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.8.0-25-generic-SP/sha256-kernel.c:34: - /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_vfs.h:73:20: error: field ‘va_atime’ has incomplete type - 73 | struct timeval va_atime; - | ^~~~~~~~ - /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_vfs.h:74:20: error: field ‘va_mtime’ has incomplete type - 74 | struct timeval va_mtime; - | ^~~~~~~~ - /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_vfs.h:75:20: error: field ‘va_ctime’ has incomplete type - 75 | struct timeval va_ctime; - | ^~~~~~~~ - In file included from /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afs_osi.h:440, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/rx/rx_clock.h:46, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/rx/rx.h:57, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afsincludes.h:30, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/crypto/hcrypto/kernel/config.h:31, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.8.0-25-generic-SP/sha256-kernel.c:34: - /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_machdep.h:80:15: error: unknown type name ‘time_t’ - 80 | static inline time_t osi_Time(void) { - | ^~~~~~ - In file included from /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afsincludes.h:48, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/crypto/hcrypto/kernel/config.h:31, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.8.0-25-generic-SP/sha256-kernel.c:34: - /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afs.h:310:5: error: unknown type name ‘time_t’ - 310 | time_t timeout; /* data expire time, if non-zero */ - | ^~~~~~ - In file included from /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afsincludes.h:57, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/crypto/hcrypto/kernel/config.h:31, - from /var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.8.0-25-generic-SP/sha256-kernel.c:34: - /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/afs_prototypes.h:957:58: error: unknown type name ‘time_t’; did you mean ‘ktime_t’? - 957 | extern int afs_ExtractTokensForPioctl(struct tokenJar *, time_t, - | ^~~~~~ - | ktime_t - In file included from /var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.8.0-25-generic-SP/sha256-kernel.c:34: - /var/lib/dkms/openafs/1.8.4pre1/build/src/crypto/hcrypto/kernel/config.h: In function ‘gettimeofday’: - /var/lib/dkms/openafs/1.8.4pre1/build/src/crypto/hcrypto/kernel/config.h:102:35: error: dereferencing pointer to incomplete type ‘struct timeval’ - 102 | {if (tp == NULL) return -1; tp->tv_sec = osi_Time(); tp->tv_usec = 0; return 0;} - | ^~ + openafs-modules-dkms failing to build on linux-hwe-5.8 kernel(see + attached make.log for details) [Test Case] $ sudo apt install openafs-modules-dkms [Fix] - Adding changes from timeval to timespec where needed and changes from - 5.8 openafs to replace kernel_setsockopt. + Adding all necessary changes from groovy 5.8 dkms module without + affecting 5.4 code. [Regression Potential] Medium to low, changes are wrapped in #if directives. Confirmed module installs and loads on both 5.4 and 5.8. The number of changes does create some concern for regression. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902581 Title: openafs: build error in focal with new kernel linux-hwe.5.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1902581/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs