Bug#330983: asterisk: Building chan_zap.so requires zaptel.h at the wrong place

Mark Purcell msp at debian.org
Mon Nov 7 22:56:05 UTC 2005


severity 330983 normal
thanks

Christoph, thanks for the bug report.

Andreas. Why did you raise this to serverity serious?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330983;msg=7

On Friday 30 September 2005 21:49, Christoph Biedl wrote:
> Re-building the asterisk package from the sources (I had to apply some
> patches but this problem exists in the original Debian sources, too) I
> found the chan_zap.so module was missing in the created packages. This
> renders such a package quite unusable since communication using ISDN is
> not possible any longer.

Not quite sure why this is occuring as all the packages build from the 
original source already have the chan_zap.so module:

http://packages.debian.org/cgi-bin/search_contents.pl?word=chan_zap.so&searchmode=searchfiles&case=insensitive&version=stable&arch=i386
http://buildd.debian.org/fetch.php?&pkg=asterisk&ver=1%3A1.0.7.dfsg.1-2&arch=alpha&stamp=1111412545&file=log&as=raw

> This happened due to checks in channels/Makefile which test for the
> presence of '/usr/src/modules/zaptel/zaptel.h' and skip chan_zap
> compilation if missing. However, there is no file in the Debian
> distribution.

/usr/src/modules/zaptel/zaptel.h is inside /usr/src/zaptel.tar.bz2, which is 
in the zaptel-source deb.

Which version of zaptel source are you using?

> Workaround: Create the directory /usr/src/modules/zaptel and symlink
> /usr/include/linux/zaptel.h (provided by zaptel-source) there.
>
> Solution was probably to review debian/patches/08_debian-zaptel.dpatch
> whether it really does things as it should do.

As this worked on all the buildds at the time.  I'm not sure the patch isn't 
working as advertised.

Mark




More information about the Pkg-voip-maintainers mailing list