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

Bug 670394

Summary: dev-cpp/libjson-rpc-cpp: invalid libjson-rpc-cppTargets.cmake
Product: Gentoo Linux Reporter: Justus Ranvier <gentoo>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Justus Ranvier 2018-11-05 20:29:28 UTC
The libjson-rpc-cppTargets.cmake file installed by dev-cpp/libjson-rpc-cpp hard codes a dependency on the static version of jsoncpp:

INTERFACE_LINK_LIBRARIES "jsoncpp_lib_static"

This means that any cmake project that tries to use the libjson-rpc-cpp::jsonrpcclient target will fail to link because the jsoncpp ebuild disables the static libraries.

Projects that use the libjson-rpc-cpp::jsonrpcclient will build if
libjson-rpc-cppTargets.cmake is changed to specify:

Comment 1 Justus Ranvier 2018-11-05 20:44:58 UTC
Upstream bug:
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-11-06 15:26:40 UTC
Out of curiosity, do you actually use this package?  I ended up not using it after all, and every time I bump it I'm wondering about lastriting it.
Comment 3 Justus Ranvier 2018-11-06 17:06:59 UTC
(In reply to Michał Górny from comment #2)
> Out of curiosity, do you actually use this package? 

It's a dependency for this library which I use in some applications:

I've also found other applications for it in situations where its lack of a websocket client transport isn't an impediment.