Dear Maintainer,
upon doing dist-upgrade on my sid machine, the new kernel 6.16.3+deb14 was pulled in, but apfs-dkms failed to build on it. Apparently there was some incompatible change in the kernel interfaces. Before reporting the bug, I tried also the version in experimental, but the same error occurs, which thus applies to both sid and experimental versions.
I attach the make.log to help debug the issue, even if it should be trivial to reproduce on any up to date sid machine.
Thanks in advance, best regards
Giacomo Mulas
Here is the make.log:
DKMS (dkms-3.2.0) make.log for linux-apfs-rw/0.3.14 for kernel 6.16.3+deb14-amd64 (x86_64)
mer 27 ago 2025, 11:32:31, CEST
Running the pre_build script
# command: cd /var/lib/dkms/linux-apfs-rw/0.3.14/build/ && /var/lib/dkms/linux-apfs-rw/0.3.14/build/genver.sh
# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------
Building module(s)
# command: make -j12 KERNELRELEASE=6.16.3+deb14-amd64 -C /lib/modules/6.16.3+deb14-amd64/build M=/var/lib/dkms/linux-apfs-rw/0.3.14/build
make: ingresso nella directory «/usr/src/linux-headers-6.16.3+deb14-amd64»
make[1]: ingresso nella directory «/var/lib/dkms/linux-apfs-rw/0.3.14/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
file.c: In function ‘apfs_page_mkwrite’:
file.c:75:17: error: ‘struct page’ has no member named ‘index’
75 | if (page->index == size >> PAGE_SHIFT)
| ^~
make[3]: *** [/usr/src/linux-headers-6.16.3+deb14-common/scripts/Makefile.build:292: file.o] Error 1
make[3]: *** Attesa per i processi non terminati....
compress.c: In function ‘apfs_compress_read_folio’:
compress.c:425:19: error: ‘struct page’ has no member named ‘index’
425 | off = page->index << PAGE_SHIFT;
| ^~
make[3]: *** [/usr/src/linux-headers-6.16.3+deb14-common/scripts/Makefile.build:292: compress.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.16.3+deb14-common/Makefile:2027: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.16.3+deb14-common/Makefile:260: __sub-make] Error 2
make[1]: uscita dalla directory «/var/lib/dkms/linux-apfs-rw/0.3.14/build»
make: *** [/usr/src/linux-headers-6.16.3+deb14-common/Makefile:260: __sub-make] Error 2
make: uscita dalla directory «/usr/src/linux-headers-6.16.3+deb14-amd64»
# exit code: 2
# elapsed time: 00:00:03
----------------------------------------------------------------