[OpenAFS-devel] dkms install Error

Michael Laß bevan@bi-co.net
Thu, 14 May 2026 14:43:44 +0200


I gathered some more information on this. It seems to be an
incompatibility with Linux 7.0, or at least the Arch Linux version of
that kernel version. It is also present in the current git master.

It can be reproduced using two versions of Arch linux-header packages:

https://archive.archlinux.org/packages/l/linux-headers/linux-headers-6.19.1=
4.arch1-1-x86_64.pkg.tar.zst

https://archive.archlinux.org/packages/l/linux-headers/linux-headers-7.0.2.=
arch1-1-x86_64.pkg.tar.zst

Extract them and run OpenAFS's configure script against both locations:

./configure --with-linux-kernel-build=./configure --with-linux-kernel-build=${EXTRACT_LOCATION}/linux-headers-6.19.14.arch1-1-x86_64.pkg/usr/lib/modules/6.19.14-arch1-1/build

./configure --with-linux-kernel-build=./configure --with-linux-kernel-build=${EXTRACT_LOCATION}/linux-headers-7.0.2.arch1-1-x86_64.pkg/usr/lib/modules/7.0.2-arch1-1/build

The first command will run through, the second will show the error.




Am Donnerstag, dem 14.05.2026 um 12:18 +0200 schrieb Michael Laß:
> [resending without the attached config.log as it was too big for the
> mailing list]
> 
> Joining in here as maintainer of the (unofficial, user-provided)
> openafs package for Arch Linux. The installed kernel package is linux
> 7.0.5.arch1-1. It differs from the official stable kernel only in
> three
> small patches:
> https://github.com/archlinux/linux/commits/v7.0.5-arch1/
> 
> > conftest.c:29:3: error: #error cflags not passed to the compiler
> >    29 | # error cflags not passed to the compiler
> >       |   ^~~~~
> 
> Recently, Arch Linux updated GCC from 15.2 to 16.1. So currently I am
> unsure if this issue came with a minor Linux kernel update or with
> the
> GCC update.
> 
> 
> Am Mittwoch, dem 13.05.2026 um 09:07 -0600 schrieb Cheyenne Wills:
> > Woops.. I was thinking archlinux was rpm based.  The output I woul=
d
> > need to see is from the command:
> > 
> > pacman -Q|grep linux
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel