Hi Cheyenne, I've been following the instructions in HowToBuildOpenAfsRpmPackages, here's a complete sequence (running as root); sorry for the verbosity:
git clone git://git.openafs.org/openafs.git cd openafs ./regen.sh -q ./configure --disable-kernel-module make rpm After build completes (successfully): cd packages/rpmbuild/RPMS/x86_64 dnf install dkms-openafs-1.9.1-1.188.g52d8d.fc36.x86_64.rpm openafs- 1.9.1-1.188.g52d8d.fc36.x86_64.rpm openafs-client-1.9.1- 1.188.g52d8d.fc36.x86_64.rpm openafs-krb5-1.9.1- 1.188.g52d8d.fc36.x86_64.rpm After the transaction test succeeds: Running transaction Preparing : 1/1 Installing : openafs-1.9.1-1.188.g52d8d.fc36.x86_64 1/4 Installing : openafs-client-1.9.1-1.188.g52d8d.fc36.x86_64 2/4 Running scriptlet: openafs-client-1.9.1-1.188.g52d8d.fc36.x86_64 2/4 Installing : dkms-openafs-1.9.1-1.188.g52d8d.fc36.x86_64 3/4 Running scriptlet: dkms-openafs-1.9.1-1.188.g52d8d.fc36.x86_64 3/4 Creating symlink /var/lib/dkms/openafs/1.9.1-1.188.g52d8d.fc36/source - > /usr/src/openafs-1.9.1-1.188.g52d8d.fc36 Sign command: /lib/modules/5.18.5-200.fc36.x86_64/build/scripts/sign- file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Building module: Cleaning build area... ./configure --with-linux-kernel-headers=/lib/modules/5.18.5- 200.fc36.x86_64/build --with-linux-kernel-packaging && make && case 5.18.5-200.fc36.x86_64 in 2.4.*) mv src/libafs/MODLOAD-*/libafs-* openafs.o ;; *) mv src/libafs/MODLOAD-*/openafs.ko . ;; esac...(bad exit status: 1) Error! Bad return status for module build on kernel: 5.18.5- 200.fc36.x86_64 (x86_64) Consult /var/lib/dkms/openafs/1.9.1-1.188.g52d8d.fc36/build/make.log for more information. Sign command: /lib/modules/5.18.5-200.fc36.x86_64/build/scripts/sign- file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Building module: Cleaning build area... ./configure --with-linux-kernel-headers=/lib/modules/5.18.5- 200.fc36.x86_64/build --with-linux-kernel-packaging && make && case 5.18.5-200.fc36.x86_64 in 2.4.*) mv src/libafs/MODLOAD-*/libafs-* openafs.o ;; *) mv src/libafs/MODLOAD-*/openafs.ko . ;; esac...(bad exit status: 1) Error! Bad return status for module build on kernel: 5.18.5- 200.fc36.x86_64 (x86_64) Consult /var/lib/dkms/openafs/1.9.1-1.188.g52d8d.fc36/build/make.log for more information. warning: %post(dkms-openafs-1.9.1-1.188.g52d8d.fc36.x86_64) scriptlet failed, exit status 10 Error in POSTIN scriptlet in rpm package dkms-openafs Installing : openafs-krb5-1.9.1-1.188.g52d8d.fc36.x86_64 4/4 Running scriptlet: openafs-krb5-1.9.1-1.188.g52d8d.fc36.x86_64 4/4 Verifying : dkms-openafs-1.9.1-1.188.g52d8d.fc36.x86_64 1/4 Verifying : openafs-1.9.1-1.188.g52d8d.fc36.x86_64 2/4 Verifying : openafs-client-1.9.1-1.188.g52d8d.fc36.x86_64 3/4 Verifying : openafs-krb5-1.9.1-1.188.g52d8d.fc36.x86_64 4/4 Installed: dkms-openafs-1.9.1-1.188.g52d8d.fc36.x86_64 openafs-1.9.1-1.188.g52d8d.fc36.x86_64 openafs-client-1.9.1-1.188.g52d8d.fc36.x86_64 openafs-krb5-1.9.1-1.188.g52d8d.fc36.x86_64 Complete! /var/lib/dkms/openafs/1.9.1-1.188.g52d8d.fc36/build/make.log says configure: error: cannot find required auxiliary files: ltmain.sh As far as I recall I never had this problem prior to 5.18 kernels. Alex On Mon, 2022-07-18 at 15:26 +0000, Cheyenne Wills wrote: > The commits to support 5.18 (as well as some of the newer compilers) > were recently merged into the master (development) branch. > > These commits have been also been pulled in for the 1.8.x stable > release and are being reviewed and are waiting for final approval. > The top gerrit is 15065 (https://gerrit.openafs.org/15065). Some > information about these commits can be found here -> > https://wiki.openafs.org/devel/Whiteboard/ > > The error that you are seeing (the missing ltmain.sh file) is > because the "regen.sh" script wasn't ran. regen.sh sets up the > libtool environment as well as setting up and running the autoconf > tools. See: > https://wiki.openafs.org/devel/HowToBuildOpenAfsRpmPackages/#index3h2 > for the instructions on how to build an rpm from a git checkout. > > > Cheyenne Wills > cwi...@sinenomine.net > > ________________________________________ > From: openafs-info-ad...@openafs.org <openafs-info-ad...@openafs.org> > on behalf of Alex T Prengel <al...@mit.edu> > Sent: Sunday, July 17, 2022 7:50:29 PM > To: openafs-info@openafs.org > Cc: Alex T Prengel > Subject: [OpenAFS] when will openafs work on Fedora 36? > > Subject says it- I've been trying to build rpms from a git checkout- > the latest just now, version 1.9.1-1.188.g52d8d. It looks like kernel > 5.18 work is in process but Fedora 36 has been on this for a while... > > The essential rpms build and install, but when the kernel module > compile is attempted it errors out, with error message > > configure: error: cannot find required auxiliary files: ltmain.sh > > Thanks, > > Alex > ���(�~���X��X���^�R�w袗�i�(�m��?�X���)zv�����f��f��X��)ߣ�)zv��) :�� T���&j)b� b�өzpJ)ߢ�^��좸!��l��b��(���~�+��Y���b�ا~����~ȧ~