[OpenAFS-devel] Build Failure on Fedora-42 and 43 with Linux 6.18.9-100

Derek Atkins derek@ihtfp.com
Sun, 15 Feb 2026 13:12:43 -0500


Hi,

I was working on setting up Buildbot Workers for Fedora 42 (and 43).
As part of my setup script I run a build of openafs using the following
command set:

git clone git://git.openafs.org/openafs.git
cd openafs
sh regen.sh && ./configure && make && make dest

However, the build failed with the following output:

  ...
  CC [M]  osi_vcache.o
  CC [M]  osi_vfsops.o
osi_vfsops.c: In function ‘afs_mount’:
osi_vfsops.c:56:12: error: implicit declaration of function ‘mount_nodev’
[-Wimplicit-function-declaration]
   56 |     return mount_nodev(fs_type, flags, data, afs_fill_super);
      |            ^~~~~~~~~~~
osi_vfsops.c:56:12: error: returning ‘int’ from a function with return
type ‘struct dentry *’ makes pointer from integer without a cast
[-Wint-conversion]
   56 |     return mount_nodev(fs_type, flags, data, afs_fill_super);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[8]: ***
[/usr/src/kernels/6.18.9-100.fc42.x86_64/scripts/Makefile.build:287:
osi_vfsops.o] Error 1
make[7]: *** [/usr/src/kernels/6.18.9-100.fc42.x86_64/Makefile:2047: .]
Error 2
make[6]: *** [/usr/src/kernels/6.18.9-100.fc42.x86_64/Makefile:248:
__sub-make] Error 2
make[6]: Leaving directory
'/root/openafs/src/libafs/MODLOAD-6.18.9-100.fc42.x86_64'
make[5]: *** [Makefile:248: __sub-make] Error 2
make[5]: Leaving directory '/usr/src/kernels/6.18.9-100.fc42.x86_64'
FAILURE: make exit code 2
make[4]: *** [Makefile.afs:181: libafs.ko] Error 1
make[4]: Leaving directory
'/root/openafs/src/libafs/MODLOAD-6.18.9-100.fc42.x86_64'
make[3]: *** [Makefile:128: linux_compdirs] Error 2
make[3]: Leaving directory '/root/openafs/src/libafs'
make[2]: *** [Makefile:481: libafs] Error 2
make[2]: Leaving directory '/root/openafs'
make[1]: *** [Makefile:658: build] Error 2
make[1]: Leaving directory '/root/openafs'
make: *** [Makefile:36: all] Error 2

This is the head of the master branch.  Is there a known issue with Linux
6.18.9?

-derek

PS: The F43 build failed in the same place.  It's using 6.18.9-200 kernel.

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant