Package: at76c503a Version: 0.14~beta1-1 Severity: serious Justification: no longer builds from source
While investigating why make-kpkg --rootcmd fakeroot --revision 1 modules fails to build a module package [1] (it touches the very same KERNEL_PATH check, so I won't file another bugreport), I tried to rebuild at76c503a in a pbuilder environment which has of course no kernel sources for the running kernel installed. fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k -i dh_installdirs -i mkdir -p /tmp/buildd/at76c503a-0.14~beta1/debian/at76c503a-source/usr/src/modules/at76c503a/debian # Upstream should know best which files to distribute make DISTNAME=at76c503a dist make[1]: Entering directory `/tmp/buildd/at76c503a-0.14~beta1' Makefile:17: *** Kernel tree not found - please set KERNEL_PATH. Stop. make[1]: Leaving directory `/tmp/buildd/at76c503a-0.14~beta1' make: *** [install-indep] Error 2 pbuilder: Failed autobuilding of package The upstream Makefile unconditionally checks for: KERNEL_PATH ?= $(shell readlink -f /lib/modules/`uname -r`/build) ifeq (,$(KERNEL_PATH)) $(error Kernel tree not found - please set KERNEL_PATH) endif VERSION_HEADER = $(KERNEL_PATH)/include/linux/utsrelease.h ifeq (,$(wildcard $(VERSION_HEADER))) VERSION_HEADER = $(KERNEL_PATH)/include/linux/version.h ifeq (,$(wildcard $(VERSION_HEADER))) $(error Kernel in $(KERNEL_PATH) is not configured) endif endif even for "make dist", which is invoked while building the at76c503a package. Likewise "$(error Kernel in $(KERNEL_PATH) is not configured)" is triggered if there is no kernel source for $(uname -r) installed $(MAKE) $(MAKE_OPT) KERNEL_PATH=$(KSRC) in debian/at76c503a-source.rules is not honored while building with make-kpkg. Regards Stefan Lippers-Hollmann -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (200, 'testing'), (50, 'experimental') Architecture: amd64 (x86_64) [1] http://kanotix.com/slh/at76c503a/ full log for this bug and trying to build at76c50a-source for a different kernel
pgpbTvfj1jK1C.pgp
Description: PGP signature