Bug#330983: asterisk: Building chan_zap.so (and five other modules) requires zaptel.h at the wrong place

Christoph Biedl cbiedl at gmx.de
Tue Nov 8 10:04:34 UTC 2005


Mark Purcell wrote...

> Andreas. Why did you raise this to serverity serious?

| Subject: FTBFS = serious

Fails To Build From Sources. I guess it's a policy violation.

> 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

I have been told the package was uploaded by the maintainer, not build
on the Debian buildds. Which would also explain the bug report.

> 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 is not for the i386 architecture. I admit that this build log looks
fine for alpha but cannot verify it (there's only i386 and hppa here).

> > 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.

Indeed. But that archive is not unpacked for the build process and
that's not even necessary as zaptel-source places that file in
/usr/include/linux.

> Which version of zaptel source are you using?

Everything from the Debian sarge sources, that's

ii  zaptel-source    1.0.7-4.1        Zapata telephony interface (source code for kern

In other words: To verify I've started with a fresh sarge installation
today and built asterisk again.

As a result:
~/src/asterisk-1.0.7.dfsg.1$ find debian/asterisk/usr/lib/asterisk/modules/ -name '*.so' | wc -l
114

while on a installed system:

$ dpkg -L asterisk | grep -c '\.so$'
120

The six missing modules are

app_flash.so
app_meetme.so
app_zapbarge.so
app_zapras.so
app_zapscan.so
chan_zap.so


    Christoph




More information about the Pkg-voip-maintainers mailing list