openafs-dkms DKMS FTBFS wrt Linux 6.7

Bug #2044544 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

...
/var/lib/dkms/openafs/1.8.10/build/src/libafs/MODLOAD-6.7.0-1-generic-SP/osi_file.c: In function ‘afs_osi_Stat’:
/var/lib/dkms/openafs/1.8.10/build/src/libafs/MODLOAD-6.7.0-1-generic-SP/osi_file.c:178:42: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
  178 | astat->mtime = OSIFILE_INODE(afile)->i_mtime.tv_sec;
      | ^~~~~~~
      | __i_mtime
/var/lib/dkms/openafs/1.8.10/build/src/libafs/MODLOAD-6.7.0-1-generic-SP/osi_file.c:179:42: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
  179 | astat->atime = OSIFILE_INODE(afile)->i_atime.tv_sec;
      | ^~~~~~~
      | __i_atime
...

[Fix]

Apply the attached fix.

[How to test]

Install (and build) the patched package.

[Regression potential]

Low: upstream conditionally compiled fix that targets Linux >= 6.7 only.

Paolo Pisati (p-pisati)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openafs - 1.8.10-1ubuntu4

---------------
openafs (1.8.10-1ubuntu4) noble; urgency=medium

  * debian/patches/0016-Linux-6.7-convert-to-inode-a-mtime-accessor-funcs.patch:
  - Fix Linux 6.5 build (LP: #2044544)

 -- Paolo Pisati <email address hidden> Fri, 24 Nov 2023 14:23:10 +0000

Changed in openafs (Ubuntu Noble):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.