Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654014 - 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
Summary: media-video/vlc-3.0.1-r1 with net-misc/gerbera-1.1.0-r1 - services_discovery/...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-24 19:30 UTC by Sławomir Nizio
Modified: 2018-04-27 07:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.