Ok, I'm giving up. There are errors in the debian/driver.files. It refers to files that do not exist in the source, and since it doesn't package the addi-data directory (yes, it looks like this builds additional non-module utilities, but configure breaks if its absent), the build fails.
I hacked driver.files so the package was built. At that point the module-install no longer fails, but it sucessfully builds an empty .deb package :-( It claims that some references to the kernel source config are lacking: Making all in . make[5]: Entering directory `/usr/src/modules/comedi-modules/comedi' echo > comedi_kbuild.inc echo CONFIG_COMEDI_PCMCIA_MODULES=m >> comedi_kbuild.inc echo CONFIG_COMEDI_USB_MODULES=m >> comedi_kbuild.inc make -I/usr/src/modules/comedi-modules/comedi -C /lib/modules/2.6.22-14-generic/build M=/usr/src/modules/comedi-modules/comedi CC="gcc -I/usr/src/modules/comedi-modules/comedi/../ \ -I/usr/src/modules/comedi-modules/comedi/../include " V=1 modules make[6]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /usr/src/modules/comedi-modules/comedi/.tmp_versions rm -f /usr/src/modules/comedi-modules/comedi/.tmp_versions/* make -f scripts/Makefile.build obj=/usr/src/modules/comedi-modules/comedi Building modules, stage 2. However, thats wrong, they do exist: /usr/src/linux-headers-2.6.22-14-generic % test -e include/linux/autoconf.h -a -e include/config/auto.conf || (echo "hello"; /bin/false ) /usr/src/linux-headers-2.6.22-14-generic % echo $? 0 So, I'm stymied. Any further suggestions? I'll just build a binary package, for now, it seems easier. ** Attachment added: "driver.files" http://launchpadlibrarian.net/10435554/driver.files -- wrong path on the archive https://bugs.launchpad.net/bugs/5989 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs