Upstream openafs 1.8.9 has been tagged. The release supports up to Linux kernel 6.0 Note, there are some patches from the master needed if the Linux kernel has CONFIG_WERROR=y. -- these patches weren't ready to make the 1.8.9 cutoff. For compilers: gcc-11, clang-13 (for userspace). Note, there are are patches for newer compiler levels in the master branch. -- these patches weren't ready to make the 1.8.9 cutoff. It should also be noted that an openafs kernel module built with clang has not been tested. Building the openafs kernel module requires modifications to openafs's make files and these modifications haven't been fully tested, (though I have been trying to address some of the warnings and errors reported by clang when doing a "forced" clang build of the openafs kernel module).
There are 3 patches from the openafs master branch that are needed for 1.8.x for building against a kernel with CONFIG_WERROR=y From master they are: gerrit 13665: "LINUX: Run the 'sparse' checker if available" 1210a8d6d96db2d84595d35ef81ec5d176de05e8 gerrit 15196: "cf: Detect how to pass CFLAGS to linux kbuild" f81b01de1a51f02798ac764fb2f6948b592639da gerrit 15191: "cf: Handle autoconf linux checks with -Werror" e2ad1ca5f7355062e808f1717e7410b7ae893371 The clang-16 (clang-15?) support is a little more involved due to other dependencies and I'm currently figuring out what needs to be pulled into 1.8.x from the master branch.
The upstream 1.8.x patches for clang-16, CONFIG_WERROR and some other fixes have been pushed for review. There may still be some churn as things get reviewed. See: https://gerrit.openafs.org/#/q/project:openafs+branch:openafs-stable-1_8_x+status:open
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf commit 0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf Author: Cheyenne Wills <cwills@witznd.net> AuthorDate: 2024-11-14 19:31:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-16 09:31:49 +0000 net-fs/openafs: add 1.8.13 Closes: https://bugs.gentoo.org/943361 Closes: https://bugs.gentoo.org/933779 Closes: https://bugs.gentoo.org/910214 Closes: https://bugs.gentoo.org/886183 Closes: https://bugs.gentoo.org/908700 Closes: https://bugs.gentoo.org/909327 Closes: https://bugs.gentoo.org/828989 Closes: https://bugs.gentoo.org/926801 Signed-off-by: Cheyenne Wills <cwills@witznd.net> Closes: https://github.com/gentoo/gentoo/pull/39306 Signed-off-by: Sam James <sam@gentoo.org> net-fs/openafs/Manifest | 2 + ...-autoconf-use-AC_CHECK_TOOL-for-as-and-ld.patch | 54 ++++ net-fs/openafs/files/0002-pam-paths.patch | 46 +++ net-fs/openafs/files/0003-fbsd.patch | 28 ++ net-fs/openafs/files/0004-sparc.patch | 59 ++++ net-fs/openafs/files/0005-uname.patch | 37 +++ net-fs/openafs/files/0006-resolv.patch | 32 ++ net-fs/openafs/files/0007-afsauthent-symbols.patch | 27 ++ net-fs/openafs/files/0008-flags.patch | 33 ++ net-fs/openafs/files/0009-docbook2pdf.patch | 127 ++++++++ net-fs/openafs/files/0010-libperl.patch | 31 ++ net-fs/openafs/files/0011-xbsa.patch | 31 ++ net-fs/openafs/files/0012-xml-dtd.patch | 67 ++++ net-fs/openafs/files/0013-kernel-cc-ld.patch | 47 +++ net-fs/openafs/files/README.Gentoo | 297 ++++++++++++++++++ net-fs/openafs/files/ThisCell.default | 1 + net-fs/openafs/files/cacheinfo.default | 1 + net-fs/openafs/files/openrc/openafs-client.confd | 55 ++++ net-fs/openafs/files/openrc/openafs-client.initd | 137 +++++++++ net-fs/openafs/files/openrc/openafs-server.confd | 7 + net-fs/openafs/files/openrc/openafs-server.initd | 33 ++ .../openafs/files/systemd/openafs-client.service | 17 ++ .../files/systemd/openafs-client.service.conf | 62 ++++ .../openafs/files/systemd/openafs-server.service | 11 + .../files/systemd/openafs-server.service.conf | 4 + .../files/systemd/tmpfiles.d/openafs-client.conf | 1 + net-fs/openafs/openafs-1.8.13.ebuild | 339 +++++++++++++++++++++ 27 files changed, 1586 insertions(+)