On Mon, May 24, 2021 at 11:15:27PM +0000, Alex Tayts wrote: > Hi all, > > It seems like AFS kernel module does not build for the latest RedHat kernel. > I am trying to build one with mock in pretty much default configuration and > get an error: > > > $ /usr/bin/mock --uniqueext=mockbuild -r rhel-8-x86_64 --arch x86_64 > --resultdir /tmp/rhel-8-x86_64 --no-clean -D 'build_modules 1' --verbose -D > 'build_userspace 0' -D 'build_dkmspkg 0' -D 'build_authlibs 0' -D > 'kauth_support 0' -D 'krb5support 0' -D 'kernvers 4.18.0-305.el8' --rebuild > /usr/src/afs/openafs-1.8.7-1.src.rpm > > ... > > CC [M] > /builddir/build/BUILD/openafs-1.8.7/src/libafs/MODLOAD-4.18.0-305.el8.x86_64-SP/osi_export.o > > /builddir/build/BUILD/openafs-1.8.7/src/libafs/MODLOAD-4.18.0-305.el8.x86_64-SP/osi_vfsops.c: > In function 'afs_fill_super': > > /builddir/build/BUILD/openafs-1.8.7/src/libafs/MODLOAD-4.18.0-305.el8.x86_64-SP/osi_vfsops.c:124:14: > error: 'struct backing_dev_info' has no member named 'name' > > sb->s_bdi->name = "openafs"; > > ^~ > > make[4]: *** [scripts/Makefile.build:315: > /builddir/build/BUILD/openafs-1.8.7/src/libafs/MODLOAD-4.18.0-305.el8.x86_64-SP/osi_vfsops.o] > Error 1 > > No such issues when building kmod-openafs for 4.18.0-240.22.1.el8_3 and older > kernel versions. Did anyone have success with the package build of the afs > module for 4.18.0-305.el8 kernel?
RedHat pulled in some kernel changes that we have to adapt to. The fixes should already be present on the openafs-stable-1_8_x branch in git, and a 1.8.8pre1 should be coming soon. -Ben _______________________________________________ OpenAFS-info mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-info
