Package: openafs-modules-source
Version: 1.4.0-1
Severity: important
Tags: patch
Running the following command fails:
KSRC=/usr/src/linux-headers-2.6.14-2-386 KPKG_DEST_DIR="\$(CURDIR)/.."
KDREV="0.99.jones1" fakeroot debian/rules kdist_configure kdist_image
Changing KVERS definition in debian/rules as initially described in
bug#245015 fixes this.
Setting KSRC is required for compiling modules for kernels other than
the one currently installed.
Please do *not* close this bug if you disagree, but mark it as wontfix!
- Jonas
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-powerpc
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)
Versions of packages openafs-modules-source depends on:
ii bison 1:2.1-0.2 A parser generator that is compati
ii comerr-dev 2.1-1.38-2 common error description library -
ii debhelper 5.0.7 helper programs for debian/rules
ii flex 2.5.31-34 A fast lexical analyzer generator.
ii kernel-package 10.011 A utility for building Linux kerne
ii libncurses5-dev 5.5-1 Developer's libraries and docs for
ii libpam0g-dev 0.79-3 Development files for PAM
ii module-assistant 0.10.2 tool to make module package creati
openafs-modules-source recommends no packages.
-- no debconf information
--- rules.orig 2005-11-07 20:26:29.000000000 +0100
+++ rules 2005-12-03 14:45:12.000000000 +0100
@@ -27,7 +27,7 @@
ifndef KPKG_DEST_DIR
KPKG_DEST_DIR = ..
endif
-KVERS := `perl -e '$$_ = <>; $$_ =~ m/"(.+)"/; print "$$1\n";'
$(KSRC)/include/linux/version.h 2> /dev/null`
+KVERS := $(shell perl -e '$$_ = <>; $$_ =~ m/"(.+)"/; print "$$1\n";'
$(KSRC)/include/linux/version.h 2> /dev/null)
SYS_NAME := $(shell KVERS=$(KVERS) sh debian/sysname)
export KSRC
export KVERS