Bug#444804: asterisk package does not build, relateg to libpri
On Mon, 2007-10-01 at 09:05 +0200, Tzafrir Cohen wrote: > 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 . Not really. I don't think we have to wait. I've just successfully build asterisk-1.2.13 with libpri1.0 installed: [EMAIL PROTECTED] dpkg -l libpri1.0 Desired=Unknown/Install/Remove/Purge/Hold |Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii libpri1.0 1.4.1-2Primary Rate ISDN specification library - I only needed to apply a couple of (irrelevant to the libpri) patches (see "rp-legacy" attachement). I was wondering what incompatibilities exactly, you are refering to? The build produced "asterisk-bristuff*.deb" - I cannot use it (and test it), as I don't have any such hardware, but the package was created. > > > > 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. Yes I have seen that. I was just refering to names "libpri1.2", v.s. "libpri1.0" - which are kind of missleading as of which one is new, and which one is old. But that's not an issue, really. Just confusing a bit. > 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. OK. And for the record: on the *very*same* system that I've build asterisk-1.2.13; I've successfully build asterisk-1.4.11 after I've removed dependencies which I couldn't resolve (on lenny/testing) - it looks like the "./configure" (run internally by dpkg-buildpackage) correctly excluded missing fuctionality before the actual build. The 'unimportant' dependencies were: libiksemel-dev, libradiusclient-ng-dev, freetds-dev, libsnmp-dev, libc-client2006j2-dev. I only had to apply a small patch to disable access to libc-client (the patch is attached as "rp-imap") In short, if minimal testing (which I myself cannot perform, as I dont have any environment to make asterisk use libpri, or libradius, etc) show, the dependency exclusion I did, do not introduce unrelated bugs, I'd opt for a set of dependencies which *alow* a build under lenny, in favour of a set of dependencies which explore all the new features (like radius, snmp, imap access). I hope you can copy my build results. -- -R rp-legacy.dpatch Description: application/shellscript --- asterisk-1.4.11~dfsg/debian/rules 2007-10-01 11:01:58.0 +0200 +++ ../r/asterisk-1.4.11~dfsg/debian/rules 2007-10-01 11:03:24.508932268 +0200 @@ -71,7 +71,6 @@ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-gsm \ - --with-imap=/usr/include \ --with-pwlib=/usr/share/pwlib/include/ \ --with-h323=/usr/share/openh323/ @@ -81,7 +80,6 @@ sed -i -e '/^MENUSELECT_MOH=/d' menuselect.makeopts # enable IMAP storage for Voicemail - sed -i -e '/^MENUSELECT_OPTS_app_voicemail=/s/$$/IMAP_STORAGE/' menuselect.makeopts # some voodoo in order to get chan_h323 built, and make it in one # build
Bug#444804: asterisk package does not build, relateg to libpri
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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#444804: asterisk package does not build, relateg to libpri
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. 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). 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. -- -R -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]