Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615248 - dev-libs/jsoncpp missing slots/symlink?
Summary: dev-libs/jsoncpp missing slots/symlink?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 09:53 UTC by Martin Bednar
Modified: 2017-05-07 12:27 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 Martin Bednar 2017-04-11 09:53:49 UTC
Installing lgogdownloader, I unmasked libjsoncpp 1.7.5. It installed, but broke cmake (3.7.2, system-json use flag enabled), which was looking for libjsoncpp.so.0, but this library didn't exist.
I think one of these are the culprit, haven't had time to investigate further.
- missing library symlink (haven't tried by hand)
- missing slot possibility for jsoncpp
- bad cmake dependency specification.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-04-25 07:10:23 UTC
Could you please elaborate on how cmake broke?
Comment 2 Mike Gilbert gentoo-dev 2017-05-04 01:02:09 UTC
Ok, it's been a week. Closing for now.
Comment 3 Martin Bednar 2017-05-07 12:27:48 UTC
Hi,

Sorry for not responding sooner.

Here goes : 
A system using cmake with the system-json flag, any ABI change to jsoncpp breaks cmake, which breaks building for a lot of other packages.
I now have two cases when that happened : 
-upgrade to libjsoncpp-1.7.5 (resulting in libjsoncpp.so.0 not existing at all, as libjsoncpp-1.7.5 provides libjsoncpp.so.1)
-gcc 4.9 -> 5.4.0 upgrade. ABI change resulting in any cmake failing with "cmake: symbol lookup error: cmake: undefined symbol: _ZNK4Json6Reader25getFormattedErrorMessagesEv"

The only solution I found as of now is to extract a jsoncpp.so binary from another distro's binary package (I used fedora's binary for the upgrade case), and recompiling cmake (system-json flag disabled until ABIs settle down).