Package: exmap-modules-source
Version: 0.10-1
Severity: important
Problem description (taken from m-a's buildlog):
[...]
make KVERS=2.6.22-grml KERNEL_SOURCES=/raid/Grml/kernel/linux-2.6.22-grml
MODVERSIONS=detect KERNEL=linux-2.6.22-grml
make[2]: Entering directory `/usr/src/modules/exmap'
make -C /lib/modules/2.6.22-grml/build M=/usr/src/modules/exmap modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.22-grml/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[2]: *** [kernel_modules] Error 2
[...]
Commandline of m-a:
KPKG_DEST_DIR=/raid/Grml/kernel/ module-assistant -f -l '2.6.22-grml' \
-k /raid/Grml/kernel/linux-2.6.22-grml build exmap-modules
Reason:
You set KERNEL_SOURCES in debian/rules but that's not used anywhere
in upstream's build system. Instead: when building, the Makefile of
upstream uses /lib/modules/$KVERS/build which won't work if that
file/symlink doesn't exist - for example because I'm compiling
against a kernel which isn't installed (yet) as in the example
above. I'm using the '-k' option of m-a therefore but it's ignored
by the build system.
Workaround:
# ln -s $KERNELSOURCE /lib/modules/$KVERS/build
But of course that's only a hack around a bug. ;)
regards,
-mika-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]