🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Andreas Beckmann Fri, 27 Nov 2026 12:30
Bug#1155541: apfs-dkms: module fails to build for Linux 7.4
#6421
Author: Andreas Beckmann
Date: Fri, 27 Nov 2026 12:30
57 lines
3688 bytes
Package: apfs-dkms
Version: 0.3.22-1
Severity: important
Tags: upstream

Hi,

apfs-dkms fails to build a module for Linux 7.4 in experimental:

KMS (dkms-3.2.2) make.log for linux-apfs-rw/0.3.22 for kernel 7.4-amd64 (x86_64)
Thu Nov 26 16:47:00 UTC 2026

Running the pre_build script
# command: cd /var/lib/dkms/linux-apfs-rw/0.3.22/build/ && /var/lib/dkms/linux-apfs-rw/0.3.22/build/genver.sh

# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------

Building module(s)
# command: make -j14 KERNELRELEASE=7.4-amd64 -C /lib/modules/7.4-amd64/build M=/var/lib/dkms/linux-apfs-rw/0.3.22/build
make: Entering directory '/usr/src/linux-headers-7.4-amd64'
make[1]: Entering directory '/var/lib/dkms/linux-apfs-rw/0.3.22/build'
  CC [M]  btree.o
  CC [M]  compress.o
  CC [M]  dir.o
  CC [M]  extents.o
  CC [M]  file.o
  CC [M]  inode.o
  CC [M]  key.o
  CC [M]  libzbitmap.o
  CC [M]  lzfse/lzfse_decode.o
  CC [M]  lzfse/lzfse_decode_base.o
  CC [M]  lzfse/lzfse_fse.o
  CC [M]  lzfse/lzvn_decode_base.o
  CC [M]  message.o
  CC [M]  namei.o
  CC [M]  node.o
  CC [M]  object.o
  CC [M]  snapshot.o
  CC [M]  spaceman.o
  CC [M]  super.o
namei.c:53:27: error: initialization of 'int (*)(const struct mnt_idmap *, struct inode *, struct dentry *, umode_t)' {aka 'int (*)(const struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int)'} from incompatible pointer type 'int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t)' {aka 'int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int)'} [-Wincompatible-pointer-types]
   53 |         .create         = apfs_create,
      |                           ^~~~~~~~~~~
namei.c:53:27: note: (near initialization for 'apfs_dir_inode_operations.create')
In file included from namei.c:7:
apfs.h:1003:12: note: 'apfs_create' declared here
 1003 | extern int apfs_create(struct mnt_idmap *idmap, struct inode *dir,
      |            ^~~~~~~~~~~
...

Since Linux commit "fs: port ->create() to pass const mnt_idmap" (eb50cbe14ff97, in v7.4-rc1)
the first argument to apfs_create() needs to be a const pointer.
There were probably similar changes to other function prototypes, too.

Andreas
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads