Bug#794313: removing all dahdi-extra modules [was: Re: Bug#794313: dahdi: DAHDI-modules build fails]
On Mon, Aug 10, 2015 at 12:07:10PM +0700, Igor Liferenko wrote: > Hi all, > > The problem is that current "dahdi-source" package does not support Linux 4 (The bug was accidentally filed on the packagee 'dahdi', that is from a different source package) > > The build starts to work with this: > http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.10.2.tar.gz > > Everything compiles fine, except wcopenpci.c (and others) in > patches/dahdi_linux_extra (I removed drivers/dahdi/Kbuild from > patches/dahdi_linux_extra while testing): > > /usr/src/modules/dahdi/drivers/dahdi/wcopenpci.c: In function > ‘openpci_probe_board’: > /usr/src/modules/dahdi/drivers/dahdi/wcopenpci.c:1675:42: error: > ‘DAHDI_IRQ_SHARED’ undeclared (first use in this function) > if (request_irq(pdev->irq, openpci_isr, DAHDI_IRQ_SHARED, NAME, wc)) { This was generally simple enough to fix, however I don't have the relevant hardware to test with. Thus for now I'll drop support for all extra drivers and leave only the OSLEC (echo) module there. If you[1] need support for any other driver (and have the card for some minimal smoke tests) please either contact me directly or file a bug report on src:dahdi-linux or dahdi-source. Alternatively, if you still use such driver but are not able to test it, contact me so I'll know that there is some demand for those drivers. [1] The general public, not just the submitter of this bug. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com
Bug#794313: dahdi: DAHDI-modules build fails
Hi all, The problem is that current "dahdi-source" package does not support Linux 4 The build starts to work with this: http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.10.2.tar.gz Everything compiles fine, except wcopenpci.c (and others) in patches/dahdi_linux_extra (I removed drivers/dahdi/Kbuild from patches/dahdi_linux_extra while testing): /usr/src/modules/dahdi/drivers/dahdi/wcopenpci.c: In function ‘openpci_probe_board’: /usr/src/modules/dahdi/drivers/dahdi/wcopenpci.c:1675:42: error: ‘DAHDI_IRQ_SHARED’ undeclared (first use in this function) if (request_irq(pdev->irq, openpci_isr, DAHDI_IRQ_SHARED, NAME, wc)) { ^ Regards, Igor -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#794313: dahdi: DAHDI-modules build fails
Package: dahdi Version: 1:2.10.2-2 Severity: serious Justification: fails to build from source (but built successfully in the past) Dear Maintainer, After installing debain testing weekly build (from 2015-07-27) and installing DAHDI modules: sudo apt-get install module-assistant sudo module-assistant auto-install dahdi I get this: "Build of the package dahdi-source failed!" Build log follows. dh clean dh_testdir debian/rules override_dh_auto_clean make[1]: Entering directory '/usr/src/modules/dahdi' rm -f include/dahdi/version.h rm -f dahdi/include/version.h [ ! -f Makefile ] || /usr/bin/make dist-clean || true make[2]: Entering directory '/usr/src/modules/dahdi' /usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes clean make[3]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae' make[3]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae' /usr/bin/make -C drivers/dahdi/firmware clean make[3]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' rm -f dahdi-fw-*.o make[3]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' /usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build M='/usr/src/modules/dahdi/drivers/dahdi/oct612x' clean make[3]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae' make[3]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae' make[3]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' rm -f dahdi-fw-*.o rm -f dahdi-fw-*.bin rm -f dahdi-fw-*.tar.gz rm -f dahdi-fwload-*.tar.gz rm -f make_firmware_object make[3]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' make[2]: Leaving directory '/usr/src/modules/dahdi' make[1]: Leaving directory '/usr/src/modules/dahdi' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory '/usr/src/modules/dahdi' dh clean dh_testdir debian/rules override_dh_auto_clean make[2]: Entering directory '/usr/src/modules/dahdi' rm -f include/dahdi/version.h rm -f dahdi/include/version.h [ ! -f Makefile ] || /usr/bin/make dist-clean || true make[3]: Entering directory '/usr/src/modules/dahdi' /usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes clean make[4]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae' Makefile:10: *** mixed implicit and normal rules: deprecated syntax make[4]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae' /usr/bin/make -C drivers/dahdi/firmware clean make[4]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' rm -f dahdi-fw-*.o make[4]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' /usr/bin/make -C /lib/modules/4.0.0-2-686-pae/build M='/usr/src/modules/dahdi/drivers/dahdi/oct612x' clean make[4]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae' Makefile:10: *** mixed implicit and normal rules: deprecated syntax make[4]: Leaving directory '/usr/src/linux-headers-4.0.0-2-686-pae' make[4]: Entering directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' rm -f dahdi-fw-*.o rm -f dahdi-fw-*.bin rm -f dahdi-fw-*.tar.gz rm -f dahdi-fwload-*.tar.gz rm -f make_firmware_object make[4]: Leaving directory '/usr/src/modules/dahdi/drivers/dahdi/firmware' make[3]: Leaving directory '/usr/src/modules/dahdi' make[2]: Leaving directory '/usr/src/modules/dahdi' dh_clean for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/4.0.0-2-686-pae/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/4.0.0-2-686-pae/g ;s/#KVERS#/4.0.0-2-686-pae/g ; s/_KVERS_/4.0.0-2-686-pae/g ; s/##KDREV##/4.0.8-2/g ; s/#KDREV#/4.0.8-2/g ; s/_KDREV_/4.0.8-2/g ' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot dh_prep #cp -a /usr/src/modules/dahdi/debian/generated/* . make modules KERNEL_SOURCES=/lib/modules/4.0.0-2-686-pae/build MODVERSIONS=detect KERNEL=linux-4.0.0-2-686-pae make[2]: Entering directory '/usr/src/modules/dahdi' make -C /lib/modules/4.0.0-2-686-pae/build SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[3]: Entering directory '/usr/src/linux-headers-4.0.0-2-686-pae' Makefile:10: *** mixed implicit and normal rules: deprecated syntax CC [M] /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o In file included from /usr/src/linux-headers-4.0.0-2-common/include/linux/fs.h:7:0, from /usr/src/linux-headers-4.0.0-2-common/include/linux/proc_fs.h:8, from /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:41: /usr/src/modules/dahdi/dr