Christoph Anton Mitterer <cales...@scientia.net> writes:

> Trying to build the modules with kernel-pacakge (i.e. during make-kpkg
> ... modules) leads to the following error:
> make[1]: Entering directory `/root/test/modules/openafs'
> dh ./debian/rules
> dh: Unknown sequence ./debian/rules (choose from: binary binary-arch 
> binary-indep build build-arch build-indep clean install install-arch 
> install-indep)
> make[1]: *** [./debian/rules] Error 255
> make[1]: Leaving directory `/root/test/modules/openafs'

Yes, some recent change to kernel-package seems to have broke this.  I've
tried various things to fix it (including declaring all the broken targets
that it's erroneously trying to build), but make-kpkg is doing something
remarkably strange and those workarounds don't seem to work.  I also
personally can't get it to work at all (even to get far enough to
reproduce this problem) with standard Debian Linux header packages.

The best thing to do would be to use module-assistant or dkms, which work
much better and seem to be better-maintained.  Otherwise, unfortunately I
think this will have to wait until I have a chance to try to figure out
how to get make-kpkg to work so that I can reproduce this problem and
figure out how it's still managing to invoke dh to build targets that are
declared as empty.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to