Bug#707392: asterisk-chan-capi: FTBFS: chan_capi_devstate.c:116:3: error: incompatible type for argument 2 of 'ast_devstate_changed'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Thu May 9 07:14:08 UTC 2013
Source: asterisk-chan-capi
Version: 1.1.6-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130509 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 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I./divaverbose -I/usr/include -D_REENTRANT -D_GNU_SOURCE -Wno-unused-but-set-variable -O2 -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c chan_capi_devstate.c -o chan_capi_devstate.o
> chan_capi_devstate.c: In function 'pbx_capi_chat_room_state_event':
> chan_capi_devstate.c:116:3: error: incompatible type for argument 2 of 'ast_devstate_changed'
> In file included from /usr/include/asterisk/ccss.h:30:0,
> from /usr/include/asterisk/channel.h:153,
> from chan_capi.h:25,
> from chan_capi_devstate.c:28:
> /usr/include/asterisk/devicestate.h:150:5: note: expected 'enum ast_devstate_cache' but argument is of type 'char *'
> chan_capi_devstate.c: In function 'pbx_capi_ifc_state_event':
> chan_capi_devstate.c:133:3: error: incompatible type for argument 2 of 'ast_devstate_changed'
> In file included from /usr/include/asterisk/ccss.h:30:0,
> from /usr/include/asterisk/channel.h:153,
> from chan_capi.h:25,
> from chan_capi_devstate.c:28:
> /usr/include/asterisk/devicestate.h:150:5: note: expected 'enum ast_devstate_cache' but argument is of type 'char *'
> chan_capi_devstate.c:133:3: warning: passing argument 3 of 'ast_devstate_changed' makes pointer from integer without a cast [enabled by default]
> In file included from /usr/include/asterisk/ccss.h:30:0,
> from /usr/include/asterisk/channel.h:153,
> from chan_capi.h:25,
> from chan_capi_devstate.c:28:
> /usr/include/asterisk/devicestate.h:150:5: note: expected 'const char *' but argument is of type 'int'
> make[1]: *** [chan_capi_devstate.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2013/05/09/asterisk-chan-capi_1.1.6-1_unstable.log
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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-voip-maintainers
mailing list