[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#445434: qc-usb-source: please add make-kpkg compatibility

Package: qc-usb-source
Version: 0.6.6-2
Severity: wishlist
Tags: patch

*** Please type your report below this line ***
"make-kpkg modules" depends on the "kdist" target in debian/rules, which is 
not provided by qc-usb and therefore fails to build by not using 
	cd /tmp/pkg/linux && \
		make-kpkg --rootcmd fakeroot --revision 1 modules
	make[2]: Entering directory `/tmp/pkg/modules/qc-usb-source'
	make[2]: *** No rule to make target `kdist'.  Stop.
	make[2]: Leaving directory `/tmp/pkg/modules/qc-usb-source'
	Module /tmp/pkg/modules/qc-usb-source failed.
	Perhaps /tmp/pkg/modules/qc-usb-source does not understand --rootcmd?
	If you see messages that indicate that it is not
	in fact being built as root, please file a bug
	against /tmp/pkg/modules/qc-usb-source.
	Hit return to Continue?

The attached patch links the "kdist" target to "kdist-image" (which is used 
by module-assistant), build tested and confirmed to be working.

	Stefan Lippers-Hollmann

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-rc9-git2-slh64-smp-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qc-usb-source depends on:
ii  debhelper                     5.0.57     helper programs for debian/rules

Versions of packages qc-usb-source recommends:
ii  kernel-package                11.001     A utility for building Linux kerne

-- no debconf information
diff -Nrup qc-usb-0.6.6-2/debian/rules qc-usb-0.6.6-2+c0.sidux.1/debian/rules
--- qc-usb-0.6.6-2/debian/rules	2007-10-05 20:32:10.000000000 +0200
+++ qc-usb-0.6.6-2+c0.sidux.1/debian/rules	2007-10-05 20:32:25.000000000 +0200
@@ -129,6 +129,7 @@ kdist_configure:
 	$(ROOT_CMD) $(MAKE) -f debian/rules clean binary-modules
+kdist: kdist_image
 # the kdist_clean target is called by make-kpkg modules_clean. It is
 # responsible for cleaning up any changes that have been made by the
@@ -247,5 +248,5 @@ build:
-.PHONY: binary binary-indep binary-arch kdist_config kdist_image kdist_clean \
-	binary-source binary-modules binary-common clean
+.PHONY: binary binary-indep binary-arch kdist kdist_config kdist_image \
+	kdist_clean binary-source binary-modules binary-common clean

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: