Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654014

Summary: media-video/vlc-3.0.1-r1 with net-misc/gerbera-1.1.0-r1 - services_discovery/.libs/libupnp_plugin_la-upnp.o: In function `Access::MediaServer::sendActionCb(Upnp_EventType_e, void const*, void*)': upnp.cpp:(.text+0x261): undefined reference to `UpnpActionC
Product: Gentoo Linux Reporter: Sławomir Nizio <slawomir.nizio>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sławomir Nizio 2018-04-24 19:30:19 UTC
net-misc/gerbera-1.1.0-r1 has a (build and runtime) dependency on <=net-libs/libupnp-1.8.2:1.8[ipv6,reuseaddr], but with this older version of libupnp, vlc does not build (with net-libs/libupnp-1.8.3-r1 it's fine):

services_discovery/.libs/libupnp_plugin_la-upnp.o: In function `Access::MediaServer::sendActionCb(Upnp_EventType_e, void const*, void*)':
upnp.cpp:(.text+0x261): undefined reference to `UpnpActionComplete_get_ActionResult'
services_discovery/.libs/libupnp_plugin_la-upnp.o: In function `SD::MediaServerList::Callback(Upnp_EventType_e, void const*)':
upnp.cpp:(.text+0x4c65): undefined reference to `UpnpDiscovery_get_Location_cstr'
upnp.cpp:(.text+0x4caa): undefined reference to `UpnpDiscovery_get_Location_cstr'
upnp.cpp:(.text+0x4d25): undefined reference to `UpnpDiscovery_get_DeviceID_cstr'
upnp.cpp:(.text+0x4e29): undefined reference to `UpnpDiscovery_get_Location_cstr'
collect2: error: ld returned 1 exit status



Please do one of the following (I figured each could fix it but I haven't tested that):
- remove the broken <-dependency (preferred); note that README.md of the project, newer version (or just git HEAD) suggests that the newer library is find (and actually required);
- backport sed that fixes .pc (from -lupnp to -lupnp-1.8 IIRC) to the older libupnpc (but please only after considering point one; this is not a real fix);
- force vlc to use the older slot net-libs/libupnp:0 (not 1.8; also not a real fix).
Comment 1 Sławomir Nizio 2018-04-24 19:31:15 UTC
To be clear about versions, net-libs/libupnp-1.8.2 makes gerbera happy but vlc not.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-04-24 21:46:27 UTC
gerbera needs to be fixed.
Comment 3 Conrad Kostecki gentoo-dev 2021-10-10 00:06:28 UTC
Is this still an issue in 2021?