Justin, The output of "dpkg -p openafs-client" suggests that my openafs version is also 1.4.11, or more precisely: "1.4.11+dfsg-1+ubuntu0.2"
However, my issue may be different from yours, because "sudo apt-get install linux-headers-$(uname -r)" comes back with: linux-headers-2.6.31-19-generic is already the newest version. And then, when I execute "sudo dkms build -m openafs -v 1.4.11", I see the following output: --- Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area....(bad exit status: 2) su nobody -c "./configure --with-linux-kernel-headers=/lib/modules/2.6.31-19-generic/build && make && mv src/libafs/MODLOAD-*/openafs.ko ."...................................................................................(bad exit status: 2) Error! Bad return status for module build on kernel: 2.6.31-19-generic (i686) Consult the make.log in the build directory /var/lib/dkms/openafs/1.4.11/build/ for more information. 0 0 --- The end of my make.log is as follows: --- make[1]: Entering directory `/var/lib/dkms/openafs/1.4.11/build/src/libafs' Makefile:10: /var/lib/dkms/openafs/1.4.11/build/src/conf)g/Makefil%.config: No such file or directory Makefile:61: target `openafs.' given more than once in the same rule. Makefile:98: warning: overriding commands for target `/openafs.' Makefile:95: warning: ignoring old commands for target `/openafs.' make[1]: *** No rule to make target `/var/lib/dkms/openafs/1.4.11/build/src/conf)g/Makefil%.config'. Stop. make[1]: Leaving directory `/var/lib/dkms/openafs/1.4.11/build/src/libafs' make: *** [all] Error 2 ---- This error seems very bizarre. To me, it suggests that there is some corrupted data causing "config/Makefile.config" to be interpreted as "conf)g/Makefil%.config". For kicks, I did "grep -a -r 'Makefil%' /var/lib/dkms/openafs/1.4.11/source" and got a match in a binary file: /var/lib/dkms/openafs/1.4.11/source/src/libafs/Makefile.in:include @TOP_OBJDIR@/src/conf)g/Makefil%.config I even tried opening Makefile.in in a binary editor and fixing the two corrupted characters. But building again resulted in another error: --- ... make[1]: Entering directory `/var/lib/dkms/openafs/1.4.11/build/src/libafs' Makefile:61: target `openafs.' given more than once in the same rule. Makefile:98: warning: overriding commands for target `/usr/local/lib/openafs/openafs.' Makefile:95: warning: ignoring old commands for target `/usr/local/lib/openafs/openafs.' env EXTRA_CFLAGS="" /var/lib/dkms/openafs/1.4.11/build/src/libafs/make_kbuild_makefile.pl openafs.ko /var/lib/dkms/openafs/1.4.11/build/src/config/Makefile.config Makefile.afs Makefile.common Makefile.afs: No such file or directory make[1]: *** [openafs.ko] Error 2 make[1]: Leaving directory `/var/lib/dkms/openafs/1.4.11/build/src/libafs' make: *** [all] Error 2 --- >From here, I have no idea how to proceed. Should I try uninstalling and reinstalling openafs? -Stefan -- User should be able to specify that linux headers are installed when new kernel is installed https://bugs.launchpad.net/bugs/520172 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
