Bug#534037: asterisk-addons: FTBFS: chan_ooh323.c:261: error: 'struct ast_channel' has no member named 'lock'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Jun 21 14:09:43 UTC 2009


Package: asterisk-addons
Version: 1.4.7-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a mxml/libmxml.a 
> make[3]: Leaving directory `/build/user-asterisk-addons_1.4.7-1-amd64-lIN93E/asterisk-addons-1.4.7/menuselect'
> make[2]: Leaving directory `/build/user-asterisk-addons_1.4.7-1-amd64-lIN93E/asterisk-addons-1.4.7/menuselect'
> Generating input for menuselect ...
> menuselect/menuselect --check-deps   menuselect.makeopts
> Generating embedded module rules ...
>    [CC] chan_ooh323.c -> chan_ooh323.o
> chan_ooh323.c:89: warning: initialization from incompatible pointer type
> chan_ooh323.c: In function 'ooh323_new':
> chan_ooh323.c:261: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:286: error: 'DSP_FEATURE_DTMF_DETECT' undeclared (first use in this function)
> chan_ooh323.c:286: error: (Each undeclared identifier is reported only once
> chan_ooh323.c:286: error: for each function it appears in.)
> chan_ooh323.c:341: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:350: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c: In function 'ooh323_request':
> chan_ooh323.c:477: error: 'AST_FORMAT_MAX_AUDIO' undeclared (first use in this function)
> chan_ooh323.c: In function 'ooh323_answer':
> chan_ooh323.c:936: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:940: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c: In function 'onAlerting':
> chan_ooh323.c:1196: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:1198: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c: In function 'ooh323_onReceivedDigit':
> chan_ooh323.c:1236: error: incompatible types in assignment
> chan_ooh323.c: In function 'onCallEstablished':
> chan_ooh323.c:1482: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:1493: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c: In function 'onCallCleared':
> chan_ooh323.c:1520: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:1540: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:1545: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:1890:39: error: macro "ast_config_load" requires 2 arguments, but only 1 given
> chan_ooh323.c: In function 'reload_config':
> chan_ooh323.c:1890: error: 'ast_config_load' undeclared (first use in this function)
> chan_ooh323.c: At top level:
> chan_ooh323.c:2471: warning: initialization from incompatible pointer type
> chan_ooh323.c:2471: warning: initialization from incompatible pointer type
> chan_ooh323.c:2478: warning: initialization from incompatible pointer type
> chan_ooh323.c:2478: warning: initialization from incompatible pointer type
> chan_ooh323.c:2485: warning: initialization from incompatible pointer type
> chan_ooh323.c:2485: warning: initialization from incompatible pointer type
> chan_ooh323.c:2492: warning: initialization from incompatible pointer type
> chan_ooh323.c:2492: warning: initialization from incompatible pointer type
> chan_ooh323.c:2499: warning: initialization from incompatible pointer type
> chan_ooh323.c:2499: warning: initialization from incompatible pointer type
> chan_ooh323.c:2506: warning: initialization from incompatible pointer type
> chan_ooh323.c:2506: warning: initialization from incompatible pointer type
> chan_ooh323.c:2509: warning: initialization from incompatible pointer type
> chan_ooh323.c:2509: warning: initialization from incompatible pointer type
> chan_ooh323.c: In function 'ooh323_destroy':
> chan_ooh323.c:2833: error: 'struct ast_channel' has no member named 'lock'
> chan_ooh323.c:2842: error: 'struct ast_channel' has no member named 'lock'
> make[2]: *** [chan_ooh323.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/06/20/asterisk-addons_1.4.7-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-voip-maintainers mailing list