Re: Re: when will openafs work on Fedora 36?
Alex T Prengel <[email protected]> Mon, 18 Jul 2022 20:01:32 +0000
| Newsgroups | gmane.comp.file-systems.openafs.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2022-07-18 at 15:32 -0400, Michael Meffie wrote: > On Mon, 18 Jul 2022 19:20:39 +0000 > Alex T Prengel <[email protected]> wrote: > <snip> > > Hello Alex, > > While we look at the build error you reported, I just wanted > to let you know, an RPM source and prebuilt RPMs for 1.8.8.1 > plus the patches in gerrit for Fedora36 are available for you > to try. > > http://download.sinenomine.net/openafs/rpms/fedora36/ > > There is a readme at http://download.sinenomine.net/openafs/rpms/ > > Many thanks, > Mike > Sorry Mike, still no go; the install attempt from the prebuilt RPMs fails, make.log ends with this: CC [M] /var/lib/dkms/openafs/1.8.8.1.sna2- 1.fc36/build/src/libafs/MODLOAD-5.18.5-200.fc36.x86_64-SP/osi_proc.o CC [M] /var/lib/dkms/openafs/1.8.8.1.sna2- 1.fc36/build/src/libafs/MODLOAD-5.18.5-200.fc36.x86_64- SP/osi_vnodeops.o /var/lib/dkms/openafs/1.8.8.1.sna2-1.fc36/build/src/libafs/MODLOAD- 5.18.5-200.fc36.x86_64-SP/osi_vnodeops.c:3289:4: error: ‘struct address_space_operations’ has no member named ‘readpages’; did you mean ‘readpage’? 3289 | .readpages = afs_linux_readpages, | ^~~~~~~~~ | readpage /var/lib/dkms/openafs/1.8.8.1.sna2-1.fc36/build/src/libafs/MODLOAD- 5.18.5-200.fc36.x86_64-SP/osi_vnodeops.c:3289:25: error: initialization of ‘int (*)(struct address_space *, struct writeback_control *)’ from incompatible pointer type ‘int (*)(struct file *, struct address_space *, struct list_head *, unsigned int)’ [-Werror=incompatible-pointer- types] 3289 | .readpages = afs_linux_readpages, | ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/openafs/1.8.8.1.sna2-1.fc36/build/src/libafs/MODLOAD- 5.18.5-200.fc36.x86_64-SP/osi_vnodeops.c:3289:25: note: (near initialization for ‘afs_file_aops.writepages’) /var/lib/dkms/openafs/1.8.8.1.sna2-1.fc36/build/src/libafs/MODLOAD- 5.18.5-200.fc36.x86_64-SP/osi_vnodeops.c:3291:4: error: ‘struct address_space_operations’ has no member named ‘set_page_dirty’ 3291 | .set_page_dirty = __set_page_dirty_buffers, | ^~~~~~~~~~~~~~ /var/lib/dkms/openafs/1.8.8.1.sna2-1.fc36/build/src/libafs/MODLOAD- 5.18.5-200.fc36.x86_64-SP/osi_vnodeops.c:3291:25: error: ‘__set_page_dirty_buffers’ undeclared here (not in a function); did you mean ‘__set_page_dirty_nobuffers’? 3291 | .set_page_dirty = __set_page_dirty_buffers, | ^~~~~~~~~~~~~~~~~~~~~~~~ | __set_page_dirty_nobuffers cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:288: /var/lib/dkms/openafs/1.8.8.1.sna2-1.fc36/build/src/libafs/MODLOAD- 5.18.5-200.fc36.x86_64-SP/osi_vnodeops.o] Error 1 make[3]: *** [Makefile:1838: /var/lib/dkms/openafs/1.8.8.1.sna2- 1.fc36/build/src/libafs/MODLOAD-5.18.5-200.fc36.x86_64-SP] Error 2 make[3]: Leaving directory '/usr/src/kernels/5.18.5-200.fc36.x86_64' FAILURE: make exit code 2 make[2]: *** [Makefile.afs:280: openafs.ko] Error 1 make[2]: Leaving directory '/var/lib/dkms/openafs/1.8.8.1.sna2- 1.fc36/build/src/libafs/MODLOAD-5.18.5-200.fc36.x86_64-SP' make[1]: *** [Makefile:187: linux_compdirs] Error 2 make[1]: Leaving directory '/var/lib/dkms/openafs/1.8.8.1.sna2- 1.fc36/build/src/libafs' make: *** [Makefile:15: all] Error 2 [root@lenovo-desktop Downloads]#