Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Christoph Anton Mitterer
Hi. Just had a free minute to try with m-a there seems to be something fishy, as it doesn't compile with that one, too: checking if linux kbuild requires EXTRA_CFLAGS... yes checking for linux kernel module build works... no configure: error: in `/usr/src/modules/openafs': configure:

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Russ Allbery
Christoph Anton Mitterer cales...@scientia.net writes: Just had a free minute to try with m-a there seems to be something fishy, as it doesn't compile with that one, too: checking if linux kbuild requires EXTRA_CFLAGS... yes checking for linux kernel module build works... no Yes, that

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Christoph Anton Mitterer
Hi again. Tried now a manual debian/rules kdist_image... which fails with: checking your OS... configure: error: No usable linux headers found at /lib/modules/3.0.0-heisenberg/build That symlink doens't exist (which is not very unreasonable IMHO)... Can it be that KERNELDIRS or what is

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Russ Allbery
Christoph Anton Mitterer cales...@scientia.net writes: I've attached the config.log. There are several errors in it, but I guess some come just from configure tests... Can you perhaps spot anything there? Yeah, looks like you have missing kernel headers: make[3]: Leaving directory

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Christoph Anton Mitterer
On Tue, 2011-08-30 at 13:12 -0700, Russ Allbery wrote: include/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory compilation terminated. Mhh I see... somehow overlooked it before... *D'ohh* Seems that this file is missing from the -headers package generated by

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Russ Allbery
Christoph Anton Mitterer cales...@scientia.net writes: Tried now a manual debian/rules kdist_image... which fails with: checking your OS... configure: error: No usable linux headers found at /lib/modules/3.0.0-heisenberg/build That symlink doens't exist (which is not very unreasonable

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Russ Allbery
Christoph Anton Mitterer cales...@scientia.net writes: Probably this is kernel-package related... so maybe we can close this bug. Well, the dh ./debian/rules error that you got that prompted the original bug report is still a bug that *should* be fixable, even if I can't figure out how.

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-30 Thread Christoph Anton Mitterer
On Tue, 2011-08-30 at 13:31 -0700, Russ Allbery wrote: If that symlink doesn't exist (it's the upstream-supported way of finding the headers for a given kernel), you have to set the KSRC makefile variable to point to the header tree. make-kpkg does this for you. Yeah,.. I've seen that just

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-27 Thread Christoph Anton Mitterer
Package: openafs-modules-source Version: 1.6.0~pre7-2 Severity: normal Hi. 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

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-27 Thread Russ Allbery
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

Bug#639475: openafs-modules-source: modules don't build with kernel-package

2011-08-27 Thread Christoph Anton Mitterer
Hi. CCing Manoj, perhaps you could help here?! :) On Sat, 27 Aug 2011 12:01:38 -0700, Russ Allbery r...@debian.org wrote: 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