Source: linphone
Version: 3.6.1-3
Severity: important
Tags: sid buster

linphone FTBFS against upnp 1.8 (available in experimental):
| libtool: compile:  gcc -DHAVE_CONFIG_H 
-DPACKAGE_PLUGINS_DIR=\"/usr/lib/x86_64-linux-gnu/mediastreamer/plugins\" 
-DLOCALEDIR=\"/usr/share/locale\" -DMS2_INTERNAL -DMS2_FILTERS -I. -I.. 
-I../include/ -I../src/base -I../src/utils -I../src/voip -I../src/audiofilters 
-I../src/otherfilters -I../src/videofilters -Wdate-time -D_FORTIFY_SOURCE=2 
-I../../oRTP/include -D_REENTRANT -I/usr/include/x86_64-linux-gnu 
-DVIDEO_ENABLED -DHAVE_GL -DHAVE_XV -I/usr/include/libdrm -pthread 
-I/usr/include/upnp -D_GNU_SOURCE -DORTP_INET6 -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -DINET6 -Wall -fdiagnostics-show-option -pthread 
-D_REENTRANT -c upnp/upnp_igd_utils.c  -fPIC -DPIC -o 
upnp/.libs/upnp_igd_utils.o
| upnp/upnp_igd.c:398:86: warning: 'struct Upnp_Discovery' declared inside 
parameter list will not be visible outside of this definition or declaration
|  void upnp_igd_add_device(upnp_igd_context *igd_ctxt, IXML_Document 
*desc_doc, struct Upnp_Discovery *d_event) {
|                                                                               
        ^~~~~~~~~~~~~~
| upnp/upnp_igd.c: In function 'upnp_igd_add_device':
| upnp/upnp_igd.c:422:51: error: dereferencing pointer to incomplete type 
'struct Upnp_Discovery'
|   ret = UpnpResolveURL((baseURL ? baseURL : d_event->Location), relURL, 
presURL);
|                                                    ^~
| upnp/upnp_igd.c:514:112: warning: passing argument 8 of 
'upnp_igd_send_action' from incompatible pointer type 
[-Wincompatible-pointer-types]
|      upnp_igd_send_action(igd_ctxt, deviceNode, IGD_SERVICE_WANIPCONNECTION, 
"GetNATRSIPStatus", NULL, NULL, 0, upnp_igd_callback, igd_ctxt);
|                                                                               
                                  ^~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c:354:5: note: expected 'Upnp_FunPtr {aka int (*)(enum 
Upnp_EventType_e,  const void *, void *)}' but argument is of type 'int 
(*)(Upnp_EventType,  void *, void *) {aka int (*)(enum Upnp_EventType_e,  void 
*, void *)}'
|  int upnp_igd_send_action(upnp_igd_context* igd_ctxt, upnp_igd_device_node 
*device_node, int service,
|      ^~~~~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c:517:109: warning: passing argument 8 of 
'upnp_igd_send_action' from incompatible pointer type 
[-Wincompatible-pointer-types]
|      upnp_igd_send_action(igd_ctxt, deviceNode, IGD_SERVICE_WANIPCONNECTION, 
"GetStatusInfo", NULL, NULL, 0, upnp_igd_callback, igd_ctxt);
|                                                                               
                               ^~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c:354:5: note: expected 'Upnp_FunPtr {aka int (*)(enum 
Upnp_EventType_e,  const void *, void *)}' but argument is of type 'int 
(*)(Upnp_EventType,  void *, void *) {aka int (*)(enum Upnp_EventType_e,  void 
*, void *)}'
|  int upnp_igd_send_action(upnp_igd_context* igd_ctxt, upnp_igd_device_node 
*device_node, int service,
|      ^~~~~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c:518:116: warning: passing argument 8 of 
'upnp_igd_send_action' from incompatible pointer type 
[-Wincompatible-pointer-types]
|      upnp_igd_send_action(igd_ctxt, deviceNode, IGD_SERVICE_WANIPCONNECTION, 
"GetExternalIPAddress", NULL, NULL, 0, upnp_igd_callback, igd_ctxt);
|                                                                               
                                      ^~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c:354:5: note: expected 'Upnp_FunPtr {aka int (*)(enum 
Upnp_EventType_e,  const void *, void *)}' but argument is of type 'int 
(*)(Upnp_EventType,  void *, void *) {aka int (*)(enum Upnp_EventType_e,  void 
*, void *)}'
|  int upnp_igd_send_action(upnp_igd_context* igd_ctxt, upnp_igd_device_node 
*device_node, int service,
|      ^~~~~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c: In function 'upnp_igd_callback':
| upnp/upnp_igd.c:888:18: error: dereferencing pointer to incomplete type 
'struct Upnp_Discovery'
|        if (d_event->ErrCode != UPNP_E_SUCCESS) {
|                   ^~
| upnp/upnp_igd.c:895:48: warning: passing argument 3 of 'upnp_igd_add_device' 
from incompatible pointer type [-Wincompatible-pointer-types]
|         upnp_igd_add_device(igd_ctxt, desc_doc, d_event);
|                                                 ^~~~~~~
| upnp/upnp_igd.c:398:6: note: expected 'struct Upnp_Discovery *' but argument 
is of type 'struct Upnp_Discovery *'
|  void upnp_igd_add_device(upnp_igd_context *igd_ctxt, IXML_Document 
*desc_doc, struct Upnp_Discovery *d_event) {
|       ^~~~~~~~~~~~~~~~~~~
| upnp/upnp_igd.c:904:18: error: dereferencing pointer to incomplete type 
'struct Upnp_Discovery'
|        if (d_event->ErrCode != UPNP_E_SUCCESS) {
|                   ^~
| upnp/upnp_igd.c:914:18: error: dereferencing pointer to incomplete type 
'struct Upnp_Action_Complete'
|        if (a_event->ErrCode != UPNP_E_SUCCESS) {
|                   ^~
| upnp/upnp_igd.c:924:19: error: dereferencing pointer to incomplete type 
'struct Upnp_State_Var_Complete'
|        if (sv_event->ErrCode != UPNP_E_SUCCESS) {
|                    ^~
| upnp/upnp_igd.c:935:46: error: dereferencing pointer to incomplete type 
'struct Upnp_Event'
|        upnp_igd_handle_event(igd_ctxt, e_event->Sid, e_event->EventKey, 
e_event->ChangedVariables);
|                                               ^~
| upnp/upnp_igd.c:943:19: error: dereferencing pointer to incomplete type 
'struct Upnp_Event_Subscribe'
|        if (es_event->ErrCode != UPNP_E_SUCCESS) {
|                    ^~
| In file included from upnp/upnp_igd.c:34:0:
| upnp/upnp_igd.c:957:70: error: dereferencing pointer to incomplete type 
'struct Upnp_Event_Subscribe'
|        ret = UpnpSubscribe(igd_ctxt->upnp_handle, 
UPNP_STRING(es_event->PublisherUrl), &TimeOut, newSID);
|                                                                       ^
| upnp/upnp_igd_private.h:123:46: note: in definition of macro 'UPNP_STRING'
|  #define UPNP_STRING(x) UpnpString_get_String(x)
|                                               ^
| upnp/upnp_igd.c: In function 'upnp_igd_start':
| upnp/upnp_igd.c:1110:27: warning: passing argument 1 of 'UpnpRegisterClient' 
from incompatible pointer type [-Wincompatible-pointer-types]
|   ret = UpnpRegisterClient(upnp_igd_callback, igd_ctxt, 
&igd_ctxt->upnp_handle);
|                            ^~~~~~~~~~~~~~~~~
| In file included from upnp/upnp_igd_utils.h:36:0,
|                  from upnp/upnp_igd.c:33:
| /usr/include/upnp/upnp.h:989:17: note: expected 'Upnp_FunPtr {aka int 
(*)(enum Upnp_EventType_e,  const void *, void *)}' but argument is of type 
'int (*)(Upnp_EventType,  void *, void *) {aka int (*)(enum Upnp_EventType_e,  
void *, void *)}'
|  EXPORT_SPEC int UpnpRegisterClient(
|                  ^~~~~~~~~~~~~~~~~~
| Makefile:1318: recipe for target 'upnp/upnp_igd.lo' failed
| make[6]: *** [upnp/upnp_igd.lo] Error 1

Full log at
https://people.debian.org/~sramacher/logs/upnp/linphone_amd64-2017-12-12T20:38:53Z.log

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to