Bug#444804: asterisk package does not build, relateg to libpri

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Oct 1 07:05:42 UTC 2007


On Mon, Oct 01, 2007 at 08:12:18AM +0200, Rafal Pietrak wrote:
> Package: asterisk
> Version: asterisk-1.2.13~dfsg
> 
> I have encountered numerous problems building asterisk in current
> testing (lenny) environment.
> 
> my system is maintained (for last 3-5 years) from local debian mirror:
> -------------------/etc/apt-/source.list----------------------
> deb file:/usr/src/debian lenny main contrib non-free
> deb-src file:/usr/src/debian lenny main contrib non-free
> 
> deb http://security.debian.org/ lenny/updates main contrib non-free
> deb-src http://security.debian.org/ lenny/updates main contrib non-free
> -------------------------------------------------------------------
> 
> During build of asterisk-bristuff, symbol BRI_NETWORK does not resolve
> (this behaviour started occuring after one of the updated in previous
> 2-3 months).
> 
> The symbol does resolve, when dependencies are changed from
> libpri-dev(depending on libpri1.2), to libpri-dev(depending on
> libpri1.0) - a library deliberately pooled from 'unstable' bunch.

This should be resolved with the Unstable version of libpri. Compare:

  http://packages.debian.org/lenny/libpri-dev/i386/filelist
  http://packages.debian.org/sid/libpri-dev/i386/filelist

Note the extra "bristuffed" files.

However you will then notice that the 1.4 bristuff libpri is
incompatible with the Asterisk 1.2 bristuffed Asterisk . 

So I guess that this issue will only be resolved once Asterisk 1.4
migrates to Lenny .

> 
> I have also tried to build asterisk-1.4.11~dfsg, which depends on
> libpri1.0 (which itself looks inconsistant - the newer version of
> asterisk (1.4.11) depends on libpri1.0, which 'looks older' then
> libpri1.2 on which depends asterisl-1.2.13). 

libpri1.0 is libpri ver. 1.4.

> This does not build, since
> debian repository does not contain "libc-clint2006j2-dev". Remowing that
> depencencie makes the build break on "--with-imap" "./configure" option.
> I think, asterisk-1.4.11 would build on testing/lenny when that
> dependencie get removed, since it builds directly from
> "./configure" (e.g. without the use of debian patch-set and
> dpkg-buildpackage helper).
> 
> So the bug is:
> 1. either in debian repository, that should be provided with
> "libc-clint2006j2-dev" package.
> 2. or the dependencies and patch-set of "asterisk-1.4.11~dfsg", which
> puts "--with-imap" option to "./configure", should be changed to
> acknowlage, that "libc-clinet*" is missing from the distribution.

Hmm... I hope that this will be removed soon for other reasons.

For the record, the imap voicemail feature of Asterisk requires
libc-client 2004/2006 . The plain "libc-client" in Debian (even in Sid) is
2002.

-- 
               Tzafrir Cohen       
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list