openafs-dkms DKMS FTBFS wrt Linux 6.5

Bug #2033754 reported by Paolo Pisati
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[Impact]

...
In file included from /var/lib/dkms/openafs/1.8.10/build/src/libafs/MODLOAD-6.5.0-2-generic-SP/sha256-kernel.c:34:
/var/lib/dkms/openafs/1.8.10/build/src/crypto/hcrypto/kernel/config.h:94:20: error: static declaration of ‘abort’ follows non-static declaration
   94 | static_inline void abort(void) {osi_Panic("hckernel aborting\n");}
      | ^~~~~
In file included from ./include/linux/kernel.h:29,
                 from ./arch/x86/include/asm/percpu.h:27,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:79,
                 from ./include/linux/spinlock.h:56,
                 from ./include/linux/wait.h:9,
                 from /var/lib/dkms/openafs/1.8.10/build/src/afs/sysincludes.h:118,
                 from /var/lib/dkms/openafs/1.8.10/build/src/crypto/hcrypto/kernel/config.h:30:
./include/linux/panic.h:36:6: note: previous declaration of ‘abort’ with type ‘void(void)’
   36 | void abort(void);
      | ^~~~~
...

[Fix]

Apply the attached fix.

[How to test]

Install the patched packet.

[Regression potential]

Low, it's an upstream patch that intervenes only when panic() is already available (Linux 6.5+).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openafs (Ubuntu):
status: New → Confirmed
Revision history for this message
Achim Bohnet (allee) wrote :
Revision history for this message
Achim Bohnet (allee) wrote :

@Paolo: maybe I'm blind but I don't see your attached fix. Can you add it? Currently all jammy hosts at work that reboot from 6.2 -> 6.5 have no AFS anymore.

Revision history for this message
Jonas Purtschert (jonasleft) wrote (last edit ):

Same here.
After upgrading to Kernel 6.5 via linux-generic-hwe-22.04 on our 22.04 LTS Server, openafs-modules-dkms compilation fails with same error.
A patch would be much appreciated.

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.