[Pkg-mpd-maintainers] Bug#884248: mpd: FTBFS against upnp 1.8

Sebastian Ramacher sramacher at debian.org
Tue Dec 12 21:15:49 UTC 2017


Source: mpd
Version: 0.20.11-1
Severity: important
Tags: sid buster

mpd FTBFS against upnp 1.8 (available in experimental)
| g++ -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"' -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o src/lib/upnp/ixmlwrap.o src/lib/upnp/ixmlwrap.cxx
| src/lib/upnp/ClientInit.cxx: In function 'void DoInit()':
| src/lib/upnp/ClientInit.cxx:52:31: error: invalid conversion from 'int (*)(Upnp_EventType, void*, void*) {aka int (*)(Upnp_EventType_e, void*, void*)}' to 'Upnp_FunPtr {aka int (*)(Upnp_EventType_e, const void*, void*)}' [-fpermissive]
|             &upnp_client_handle);
|                                ^
| In file included from src/lib/upnp/ClientInit.hxx:25:0,
|                  from src/lib/upnp/ClientInit.cxx:21:
| /usr/include/upnp/upnp.h:989:17: note:   initializing argument 1 of 'int UpnpRegisterClient(Upnp_FunPtr, const void*, UpnpClient_Handle*)'
|  EXPORT_SPEC int UpnpRegisterClient(
|                  ^~~~~~~~~~~~~~~~~~
| Makefile:14352: recipe for target 'src/lib/upnp/ClientInit.o' failed
| make[3]: *** [src/lib/upnp/ClientInit.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| In file included from src/lib/upnp/Discovery.cxx:21:0:
| src/lib/upnp/Discovery.hxx:62:24: error: 'Upnp_Discovery' does not name a type; did you mean 'UpnpDiscovery'?
|    DiscoveredTask(const Upnp_Discovery *disco)
|                         ^~~~~~~~~~~~~~
|                         UpnpDiscovery
| src/lib/upnp/Discovery.hxx:156:14: error: 'Upnp_Discovery' has not been declared
|   int OnAlive(Upnp_Discovery *disco);
|               ^~~~~~~~~~~~~~
| src/lib/upnp/Discovery.hxx:157:15: error: 'Upnp_Discovery' has not been declared
|   int OnByeBye(Upnp_Discovery *disco);
|                ^~~~~~~~~~~~~~
| src/lib/upnp/Discovery.hxx: In constructor 'UPnPDeviceDirectory::DiscoveredTask::DiscoveredTask(const int*)':
| src/lib/upnp/Discovery.hxx:63:16: error: request for member 'Location' in '* disco', which is of non-class type 'const int'
|     :url(disco->Location),
|                 ^~~~~~~~
| src/lib/upnp/Discovery.hxx:64:22: error: request for member 'DeviceId' in '* disco', which is of non-class type 'const int'
|      device_id(disco->DeviceId),
|                       ^~~~~~~~
| src/lib/upnp/Discovery.hxx:65:41: error: request for member 'Expires' in '* disco', which is of non-class type 'const int'
|      expires(std::chrono::seconds(disco->Expires)) {}
|                                          ^~~~~~~
| src/lib/upnp/Discovery.cxx: At global scope:
| src/lib/upnp/Discovery.cxx:156:30: warning: inline variables are only available with -std=c++1z or -std=gnu++1z
|  UPnPDeviceDirectory::OnAlive(Upnp_Discovery *disco)
|                               ^~~~~~~~~~~~~~
| src/lib/upnp/Discovery.cxx:156:30: error: 'int UPnPDeviceDirectory::OnAlive' is not a static data member of 'class UPnPDeviceDirectory'
| src/lib/upnp/Discovery.cxx:156:30: error: 'Upnp_Discovery' was not declared in this scope
| src/lib/upnp/Discovery.cxx:156:30: note: suggested alternative: 'UpnpDiscovery'
|  UPnPDeviceDirectory::OnAlive(Upnp_Discovery *disco)
|                               ^~~~~~~~~~~~~~
|                               UpnpDiscovery
| src/lib/upnp/Discovery.cxx:156:46: error: 'disco' was not declared in this scope
|  UPnPDeviceDirectory::OnAlive(Upnp_Discovery *disco)
|                                               ^~~~~
| src/lib/upnp/Discovery.cxx:169:31: warning: inline variables are only available with -std=c++1z or -std=gnu++1z
|  UPnPDeviceDirectory::OnByeBye(Upnp_Discovery *disco)
|                                ^~~~~~~~~~~~~~
| src/lib/upnp/Discovery.cxx:169:31: error: 'int UPnPDeviceDirectory::OnByeBye' is not a static data member of 'class UPnPDeviceDirectory'
| src/lib/upnp/Discovery.cxx:169:31: error: 'Upnp_Discovery' was not declared in this scope
| src/lib/upnp/Discovery.cxx:169:31: note: suggested alternative: 'UpnpDiscovery'
|  UPnPDeviceDirectory::OnByeBye(Upnp_Discovery *disco)
|                                ^~~~~~~~~~~~~~
|                                UpnpDiscovery
| src/lib/upnp/Discovery.cxx:169:47: error: 'disco' was not declared in this scope
|  UPnPDeviceDirectory::OnByeBye(Upnp_Discovery *disco)
|                                                ^~~~~
| src/lib/upnp/Discovery.cxx: In member function 'virtual int UPnPDeviceDirectory::Invoke(Upnp_EventType, void*)':
| src/lib/upnp/Discovery.cxx:191:4: error: 'Upnp_Discovery' was not declared in this scope
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|     ^~~~~~~~~~~~~~
| src/lib/upnp/Discovery.cxx:191:4: note: suggested alternative: 'UpnpDiscovery'
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|     ^~~~~~~~~~~~~~
|     UpnpDiscovery
| src/lib/upnp/Discovery.cxx:191:20: error: 'disco' was not declared in this scope
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|                     ^~~~~
| src/lib/upnp/Discovery.cxx:191:45: error: expected primary-expression before ')' token
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|                                              ^
| src/lib/upnp/Discovery.cxx:197:4: error: 'Upnp_Discovery' was not declared in this scope
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|     ^~~~~~~~~~~~~~
| src/lib/upnp/Discovery.cxx:197:4: note: suggested alternative: 'UpnpDiscovery'
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|     ^~~~~~~~~~~~~~
|     UpnpDiscovery
| src/lib/upnp/Discovery.cxx:197:20: error: 'disco' was not declared in this scope
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|                     ^~~~~
| src/lib/upnp/Discovery.cxx:197:45: error: expected primary-expression before ')' token
|     Upnp_Discovery *disco = (Upnp_Discovery *)evp;
|                                              ^
| src/lib/upnp/Discovery.cxx:185:54: warning: unused parameter 'evp' [-Wunused-parameter]
|  UPnPDeviceDirectory::Invoke(Upnp_EventType et, void *evp)
|                                                       ^~~
| src/lib/upnp/Discovery.cxx: At global scope:
| src/lib/upnp/Discovery.cxx:50:1: warning: 'bool isMSDevice(const char*)' defined but not used [-Wunused-function]
|  isMSDevice(const char *st) noexcept
|  ^~~~~~~~~~
| Makefile:14352: recipe for target 'src/lib/upnp/Discovery.o' failed

Full log at
https://people.debian.org/~sramacher/logs/upnp/mpd_amd64-2017-12-12T20:40:56Z.log

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mpd-maintainers/attachments/20171212/240a8174/attachment.sig>


More information about the Pkg-mpd-maintainers mailing list