tags 384558 + patch
thanks

On Thu, Aug 24, 2006 at 11:40:33PM -0400, Edward Allcutt wrote:
> 
> the error module-assistant reports is:
> debian/rules:6: /usr/share/dpatch/dpatch.make: No such file or directory
> make: *** No rule to make target `/usr/share/dpatch/dpatch.make'. Stop.

Another missing dependency is gcc-4.0 (explicitly), with just gcc and
thus gcc-4.1 the build fails, too.

> after installing dpatch building fails somewhat more verbosely,

Attached patch fixes this. I think that only even the first chunk is
needed, the dh_gencontrol options are probably not (and the DH_VERBOSE
environment variable is not at all, it was just a debugging bandaid).

Installing the resulting module package still fails because the included
modules are also in the linux-image package you have installed, which
should probably taken care of by using diversions.


Regards,

Filip

-- 
"Once upon a time a hacker named Xman wrote a library that used aio, and
 decided to use sigtimedwait() to pick up completion notifications. It
 worked well, and his I/O was blazing fast (since was using a copy of
 Linux that was patched to have good aio)."
        -- opening of "A signal fairy tale" by Dan Kegel
--- modules/ieee80211/debian/rules
+++ modules/ieee80211.new/debian/rules
@@ -108,6 +108,7 @@
        dh_clean -k
        dh_installdirs
 
+       sed "s/_KVERS_/$(KVERS)/" debian/control.modules.in > debian/control
        # Build the module
        $(MAKE) modules KERNEL_DIR=$(KSRC) KVERS=$(KVERS)
 
@@ -136,7 +137,7 @@
        #               > debian/ieee80211-headers-$(KVERS).$$FILE; \
        #done
        dh_installdeb
-       dh_gencontrol -- -v$(VERSION)
+       DH_VERBOSE=1 dh_gencontrol -s -i -- -v$(VERSION)
        dh_md5sums
        dh_builddeb --destdir=$(DEB_DESTDIR)
        dh_clean -k

Reply via email to