kmod-openafs package for kernel 4.18.0-305.el8 does not build
Alex Tayts <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.general |
|---|---|
| Message-ID | <[email protected]> |
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?
Thanks,
--
Alex Tayts