** Description changed:

  [Impact]
  
  openafs FTBFS when built for linux-hwe-5.13:
  
- ...
+ /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h: In function 
‘afs_inode_setattr’:
+ /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h:46:26: 
error: passing argument 1 of ‘inode->i_op->setattr’ from incompatible pointer 
type [-Werror=incompatible-pointer-types]
+    46 | #  define f_dentry f_path.dentry
+ 
+ /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h:528:46: 
note: in expansion of macro ‘f_dentry’
+   528 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
  
  [Fix]
  
  Import upstream patches from http://git.openafs.org/git/openafs.git:
  
  c747b15dd2 Linux 5.12: Add user_namespace param to inode ops
  5a5d358b02 Linux: Create wrapper for setattr_prepare
  
  [How to test]
  
  $ sudo apt-get install openafs
  
  and check build log/dkms status.
  
  Builds fine with:
  
  openafs, 1.8.4pre1, 5.4.0-83-generic, x86_64: installed
  openafs, 1.8.4pre1, 5.8.0-64-generic, x86_64: installed
  openafs, 1.8.4pre1, 5.11.0-23-generic, x86_64: installed
  openafs, 1.8.4pre1, 5.13.0-14-generic, x86_64: installed
  
  [Where problems could occur]
  
  Potential regressions with old kernels.

** Description changed:

  [Impact]
  
  openafs FTBFS when built for linux-hwe-5.13:
  
  /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h: In function 
‘afs_inode_setattr’:
  /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h:46:26: 
error: passing argument 1 of ‘inode->i_op->setattr’ from incompatible pointer 
type [-Werror=incompatible-pointer-types]
-    46 | #  define f_dentry f_path.dentry
+    46 | #  define f_dentry f_path.dentry
  
  /var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h:528:46: 
note: in expansion of macro ‘f_dentry’
-   528 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
+   528 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
  
  [Fix]
  
  Import upstream patches from http://git.openafs.org/git/openafs.git:
  
  c747b15dd2 Linux 5.12: Add user_namespace param to inode ops
  5a5d358b02 Linux: Create wrapper for setattr_prepare
  
  [How to test]
  
  $ sudo apt-get install openafs
  
  and check build log/dkms status.
  
  Builds fine with:
  
  openafs, 1.8.4pre1, 5.4.0-83-generic, x86_64: installed
  openafs, 1.8.4pre1, 5.8.0-64-generic, x86_64: installed
  openafs, 1.8.4pre1, 5.11.0-23-generic, x86_64: installed
  openafs, 1.8.4pre1, 5.13.0-14-generic, x86_64: installed
  
  [Where problems could occur]
  
  Potential regressions with old kernels.

** Patch added: "openafs_1.8.4~pre1-1ubuntu2.3.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1941720/+attachment/5520825/+files/openafs_1.8.4~pre1-1ubuntu2.3.debdiff

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

Title:
  openafs dkms: FTBFS for linux-hwe-5.13

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to