Public bug reported:

openafs-modules-dkms of openafs 1.8.13.2-1 fails to install on plucky
with kernel version 6.14 installed:

osi_vnodeops.c: In function ‘afs_linux_dentry_revalidate’:
osi_vnodeops.c:1417:9: error: ‘nd’ undeclared (first use in this function); did 
you mean ‘fd’?
 1417 |     if (nd->flags & LOOKUP_RCU)
      |         ^~
      |         fd
osi_vnodeops.c:1417:9: note: each undeclared identifier is reported only once 
for each function it appears in
osi_vnodeops.c: At top level:
osi_vnodeops.c:1713:25: error: initialization of ‘int (*)(struct inode *, const 
struct qstr *, struct dentry *, unsigned int)’ from incompatible pointer type 
‘int (*)(struct dentry *, int)’ [-Wincompatible-pointer-types]
 1713 |   .d_revalidate =       afs_linux_dentry_revalidate,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
osi_vnodeops.c:1713:25: note: (near initialization for 
‘afs_dentry_operations.d_revalidate’)
make[6]: *** 
[/usr/src/linux-headers-6.14.0-10-generic/scripts/Makefile.build:207: 
osi_vnodeops.o] Error 1
make[5]: *** [/usr/src/linux-headers-6.14.0-10-generic/Makefile:1999: .] Error 2
make[4]: *** [/usr/src/linux-headers-6.14.0-10-generic/Makefile:251: 
__sub-make] Error 2
make[4]: Leaving directory 
'/var/lib/dkms/openafs/1.8.13.2/build/src/libafs/MODLOAD-6.14.0-10-generic-SP'
make[3]: *** [Makefile:251: __sub-make] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.14.0-10-generic'
FAILURE: make exit code 2
make[2]: *** [Makefile.afs:285: openafs.ko] Error 1
make[2]: Leaving directory 
'/var/lib/dkms/openafs/1.8.13.2/build/src/libafs/MODLOAD-6.14.0-10-generic-SP'
make[1]: *** [Makefile:190: linux_compdirs] Error 2
make[1]: Leaving directory '/var/lib/dkms/openafs/1.8.13.2/build/src/libafs'
make: *** [Makefile:15: all] Error 2

This is caused by this commit included in kernel 6.14:
https://github.com/torvalds/linux/commit/5be1fa8abd7b049f51e6e98e75a37eef5ae2c296.

There is an upstream fix for openafs pending application:
https://gerrit.openafs.org/#/c/16277/

** Affects: openafs (Ubuntu)
     Importance: Undecided
     Assignee: Jacob Martin (jacobmartin)
         Status: In Progress

** Affects: openafs (Ubuntu Plucky)
     Importance: Undecided
     Assignee: Jacob Martin (jacobmartin)
         Status: In Progress

** Also affects: openafs (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Changed in: openafs (Ubuntu Plucky)
       Status: New => In Progress

** Changed in: openafs (Ubuntu Plucky)
     Assignee: (unassigned) => Jacob Martin (jacobmartin)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103812

Title:
  openafs 1.8.13.2-1 fails to build against plucky kernel version 6.14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/2103812/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to