[msp@debian.org: Re: Bug#259177: chan-capi: new upstream release]

Martin List-Petersen martin@list-petersen.dk
Wed, 14 Jul 2004 15:37:12 +0100


You need to comment the build options for CVSHEAD out.
It should work then.

Pr. default the chan-capi packages are compiling against CVSHEAD, not stable.

Regards,
Martin List-Petersen
martin at list-petersen dot dk
--
BOFH excuse #241:

_Rosin_ core solder? But...

Citat Mark Purcell <msp@debian.org>:

> Klaus-Peter,
> 
> I'm the Debian GNU/Linux maintainer for your chan-capi package for
> asterisk.
> 
> I have been trying to build your version 0.3.4a against libcapi20-2 v3.3
> ans asterisk v 0.9.1 and not been having much joy.
> 
> Have you encountered these issues before and can you provide a way
> forward to build your package.
> 
> Thanks,
> Mark
> http://packages.debian.org/chan-capi
> 
> ----- Forwarded message from Mark Purcell <msp@debian.org> -----
> 
> Envelope-to: debian@purcell.id.au
> Delivery-date: Wed, 14 Jul 2004 18:44:23 +1000
> From: Mark Purcell <msp@debian.org>
> To: Martin List-Petersen <martin@list-petersen.dk>, 259177@bugs.debian.org
> Cc: pkg-voip-maintainers@lists.alioth.debian.org
> X-BeenThere: pkg-voip-maintainers@lists.alioth.debian.org
> X-Mailman-Version: 2.0.11
> List-Help:
> <mailto:pkg-voip-maintainers-request@lists.alioth.debian.org?subject=help>
> List-Post: <mailto:pkg-voip-maintainers@lists.alioth.debian.org>
> List-Subscribe:
> <http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers>,
>
	<mailto:pkg-voip-maintainers-request@lists.alioth.debian.org?subject=subscribe>
> List-Id: VoIP package maintainers list
> <pkg-voip-maintainers.lists.alioth.debian.org>
> List-Unsubscribe:
> <http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers>,
>
	<mailto:pkg-voip-maintainers-request@lists.alioth.debian.org?subject=unsubscribe>
> List-Archive:
> <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/>
> X-SA-Exim-Connect-IP: 146.82.138.7
> X-SA-Exim-Mail-From: pkg-voip-maintainers-admin@lists.alioth.debian.org
> Subject: Re: Bug#259177: chan-capi: new upstream release
> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on
> purcell.homeip.net
> X-Spam-Status: No, hits=2.0 required=4.0 tests=RCVD_IN_SORBS autolearn=no 
> 	version=2.63
> X-Spam-Level: **
> X-SA-Exim-Version: 4.0 (built Sat, 24 Apr 2004 12:31:30 +0200)
> X-SA-Exim-Scanned: Yes (on purcell.homeip.net)
> 
> Thanks,
> 
> I have been trying to rebuild.  But the process dies pretty hard :-(
> 
> Any ideas?
> 
> Mark
> 
> dpkg-buildpackage: source package is chan-capi
> dpkg-buildpackage: source version is 0.3.4a-1
> dpkg-buildpackage: source maintainer is Mark Purcell <msp@debian.org>
> dpkg-buildpackage: host architecture is i386
>  fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> # Add here commands to clean up after the build process.
> /usr/bin/make clean
> make[1]: Entering directory
> `/var/lib/mythtv/mnt/home/msp/src/debian/chan_capi/chan-capi-0.3.4a'
> rm -f *.so *.o
> make[1]: Leaving directory
> `/var/lib/mythtv/mnt/home/msp/src/debian/chan_capi/chan-capi-0.3.4a'
> dh_clean 
>  dpkg-source -b chan-capi-0.3.4a
> dpkg-source: building chan-capi using existing chan-capi_0.3.4a.orig.tar.gz
> dpkg-source: building chan-capi in chan-capi_0.3.4a-1.diff.gz
> dpkg-source: building chan-capi in chan-capi_0.3.4a-1.dsc
>  debian/rules build
> dh_testdir
> # Add here commands to configure the package.
> touch configure-stamp
> dh_testdir
> # Add here commands to compile the package.
> /usr/bin/make
> make[1]: Entering directory
> `/var/lib/mythtv/mnt/home/msp/src/debian/chan_capi/chan-capi-0.3.4a'
> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g 
> -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -fPIC -march=i686  -DCAPI_ES
> -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes
> -Wno-missing-declarations -DCRYPTO   -c -o chan_capi.o chan_capi.c
> chan_capi.c:61: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:61: warning: parameter names (without types) in function
> declaration
> chan_capi.c:61: warning: data definition has no type or storage class
> chan_capi.c:62: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:62: warning: parameter names (without types) in function
> declaration
> chan_capi.c:62: warning: data definition has no type or storage class
> chan_capi.c:63: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:63: warning: parameter names (without types) in function
> declaration
> chan_capi.c:63: warning: data definition has no type or storage class
> chan_capi.c:64: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:64: warning: parameter names (without types) in function
> declaration
> chan_capi.c:64: warning: data definition has no type or storage class
> chan_capi.c:65: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:65: warning: parameter names (without types) in function
> declaration
> chan_capi.c:65: warning: data definition has no type or storage class
> chan_capi.c:66: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:66: warning: parameter names (without types) in function
> declaration
> chan_capi.c:66: warning: data definition has no type or storage class
> chan_capi.c:67: warning: type defaults to `int' in declaration of
> `AST_MUTEX_DEFINE_STATIC'
> chan_capi.c:67: warning: parameter names (without types) in function
> declaration
> chan_capi.c:67: warning: data definition has no type or storage class
> chan_capi.c: In function `_capi_put_cmsg':
> chan_capi.c:105: error: `capi_put_lock' undeclared (first use in this
> function)
> chan_capi.c:105: error: (Each undeclared identifier is reported only once
> chan_capi.c:105: error: for each function it appears in.)
> chan_capi.c: In function `capi_echo_canceller':
> chan_capi.c:180: error: `contrlock' undeclared (first use in this function)
> chan_capi.c: In function `capi_detect_dtmf':
> chan_capi.c:230: error: `contrlock' undeclared (first use in this function)
> chan_capi.c: In function `capi_send_digit':
> chan_capi.c:308: error: `contrlock' undeclared (first use in this function)
> chan_capi.c: In function `remove_pipe':
> chan_capi.c:480: error: `pipelock' undeclared (first use in this function)
> chan_capi.c: In function `capi_hangup':
> chan_capi.c:612: error: `usecnt_lock' undeclared (first use in this
> function)
> chan_capi.c: In function `capi_call':
> chan_capi.c:684: error: `pipelock' undeclared (first use in this function)
> chan_capi.c: In function `capi_read':
> chan_capi.c:825: error: structure has no member named `delivery'
> chan_capi.c:826: error: structure has no member named `delivery'
> chan_capi.c: In function `capi_write':
> chan_capi.c:898: error: `capi_send_buffer_lock' undeclared (first use in this
> function)
> chan_capi.c: In function `capi_new':
> chan_capi.c:1021: error: structure has no member named `delivery'
> chan_capi.c:1022: error: structure has no member named `delivery'
> chan_capi.c:1077: error: `usecnt_lock' undeclared (first use in this
> function)
> chan_capi.c: In function `capi_request':
> chan_capi.c:1129: error: `iflock' undeclared (first use in this function)
> chan_capi.c:1145: error: `contrlock' undeclared (first use in this
> function)
> chan_capi.c: In function `find_pipe':
> chan_capi.c:1180: error: `pipelock' undeclared (first use in this function)
> chan_capi.c: In function `pipe_frame':
> chan_capi.c:1213: error: too few arguments to function `ast_dsp_process'
> chan_capi.c: In function `pipe_msg':
> chan_capi.c:1346: error: `contrlock' undeclared (first use in this
> function)
> chan_capi.c:1498: error: structure has no member named `delivery'
> chan_capi.c:1499: error: structure has no member named `delivery'
> chan_capi.c: In function `capi_handle_msg':
> chan_capi.c:1973: error: `iflock' undeclared (first use in this function)
> chan_capi.c:2063: error: `pipelock' undeclared (first use in this function)
> chan_capi.c: In function `restart_monitor':
> chan_capi.c:2266: error: `monlock' undeclared (first use in this function)
> chan_capi.c: In function `capi_info':
> chan_capi.c:2526: error: `contrlock' undeclared (first use in this
> function)
> chan_capi.c: In function `load_module':
> chan_capi.c:2606: error: `iflock' undeclared (first use in this function)
> chan_capi.c: In function `usecount':
> chan_capi.c:2818: error: `usecnt_lock' undeclared (first use in this
> function)
> make[1]: *** [chan_capi.o] Error 1
> make[1]: Leaving directory
> `/var/lib/mythtv/mnt/home/msp/src/debian/chan_capi/chan-capi-0.3.4a'
> make: *** [build-stamp] Error 2
> 
> On Tue, Jul 13, 2004 at 11:00:31AM +0100, Martin List-Petersen wrote:
> > Package: chan-capi
> > Version: 0.3.1-2
> > Severity: wishlist
> > 
> > There have been 4 new upstream releases since this one. Here the extract of
> fixes
> > that apply for the asterisk stable branch:
> > 
> > - updated to support the new frame->delivery field
> > - fixed channel name bug in p2p mode
> > - added app_capiNoES for disabling the primitive echo suppressor, use this
> before
> >   you start recording voicemail or your files may get choppy
> > 
> > It would be nice to get the package updated.
> > 
> > -- System Information:
> > Debian Release: testing/unstable
> > Architecture: i386
> > Kernel: Linux loke 2.4.24-vs1.26-20040613-loke #2 SMP Sun Jun 13 22:42:40
> IST 2004 i686
> > Locale: LANG=en_US, LC_CTYPE=en_US
> > 
> > Versions of packages chan-capi depends on:
> > ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared
> libraries an
> > ii  libcapi20-2                 1:3.3-7      libraries for CAPI support
> > 
> > -- no debconf information
> > 
> > 
> 
> 
> 
> ----- End forwarded message -----
>