Bug#806416: kamailio: FTBFS: kz_amqp.c:1382:2: error: too few arguments to function 'amqp_exchange_declare'
Chris Lamb
lamby at debian.org
Fri Nov 27 09:51:18 UTC 2015
Source: kamailio
Version: 4.3.3-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
kamailio fails to build from source in unstable/amd64:
[..]
^
In file included from /usr/include/amqp.h:763:0,
from kz_amqp.c:4:
/usr/include/amqp_framing.h:798:11: note: expected 'amqp_boolean_t
{aka int}' but argument is of type 'amqp_table_t {aka const struct
amqp_table_t_}'
AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state,
amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type,
amqp_boolean_t passive, amqp_boolean_t durable, amqp_boolean_t
auto_delete, amqp_boolean_t internal, amqp_table_t arguments);
^
kz_amqp.c:1382:2: error: too few arguments to function
'amqp_exchange_declare'
amqp_exchange_declare(kz_conn->conn, chan[idx].channel,
bind->exchange, bind->exchange_type, 0, 0, kz_amqp_empty_table);
^
In file included from /usr/include/amqp.h:763:0,
from kz_amqp.c:4:
/usr/include/amqp_framing.h:798:11: note: declared here
AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state,
amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type,
amqp_boolean_t passive, amqp_boolean_t durable, amqp_boolean_t
auto_delete, amqp_boolean_t internal, amqp_table_t arguments);
^
kz_amqp.c: In function 'kz_amqp_bind_consumer':
kz_amqp.c:1427:105: error: incompatible type for argument 7 of
'amqp_exchange_declare'
amqp_exchange_declare(kz_conn->conn, channels[idx].channel,
bind->exchange, bind->exchange_type, 0, 0, kz_amqp_empty_table);
^
In file included from /usr/include/amqp.h:763:0,
from kz_amqp.c:4:
/usr/include/amqp_framing.h:798:11: note: expected 'amqp_boolean_t
{aka int}' but argument is of type 'amqp_table_t {aka const struct
amqp_table_t_}'
AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state,
amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type,
amqp_boolean_t passive, amqp_boolean_t durable, amqp_boolean_t
auto_delete, amqp_boolean_t internal, amqp_table_t arguments);
^
kz_amqp.c:1427:2: error: too few arguments to function
'amqp_exchange_declare'
amqp_exchange_declare(kz_conn->conn, channels[idx].channel,
bind->exchange, bind->exchange_type, 0, 0, kz_amqp_empty_table);
^
In file included from /usr/include/amqp.h:763:0,
from kz_amqp.c:4:
/usr/include/amqp_framing.h:798:11: note: declared here
AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state,
amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type,
amqp_boolean_t passive, amqp_boolean_t durable, amqp_boolean_t
auto_delete, amqp_boolean_t internal, amqp_table_t arguments);
^
kz_amqp.c: In function 'kz_amqp_manager_loop':
kz_amqp.c:1741:8: warning: variable 'payload' set but not used
[-Wunused-but-set-variable]
char* payload;
^
kz_amqp.c: In function 'kz_amqp_consumer_proc':
kz_amqp.c:2117:8: warning: variable 'payload' set but not used
[-Wunused-but-set-variable]
char* payload;
^
../../Makefile.rules:97: recipe for target 'kz_amqp.o' failed
make[2]: *** [kz_amqp.o] Error 1
Makefile:513: recipe for target 'install-modules' failed
make[1]: *** [install-modules] Error 1
make[1]: Leaving directory '/build/kamailio-4.3.3'
debian/rules:175: recipe for target 'install' failed
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/kamailio_4.3.3-3.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.4.3.3-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 100890 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20151127/de3a21ea/attachment-0001.obj>
More information about the Pkg-voip-maintainers
mailing list