Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703854 - dev-libs/jsoncpp-1.9.2-r2 fails to install cmake files
Summary: dev-libs/jsoncpp-1.9.2-r2 fails to install cmake files
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-26 15:48 UTC by Risto A. Paju
Modified: 2019-12-27 16:12 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 Risto A. Paju 2019-12-26 15:48:33 UTC
dev-libs/jsoncpp used to have the files

/usr/lib64/cmake/jsoncpp/jsoncppConfig.cmake
/usr/lib64/cmake/jsoncpp/jsoncppConfig-gentoo.cmake
/usr/lib64/cmake/jsoncpp/jsoncppConfigVersion.cmake

These are used by third party software for configuration and build. They are no longer installed by dev-libs/jsoncpp-1.9.2-r2, so the configure/build of such software will fail.



Reproducible: Always

Steps to Reproduce:
1. Update dev-libs/jsoncpp to version 1.9.2-r2
2. Try to build https://github.com/hyle-team/progminer
3. Get the following error:

Could not find a package configuration file provided by "jsoncpp" with any of the following names:

    jsoncppConfig.cmake
    jsoncpp-config.cmake

  Add the installation prefix of "jsoncpp" to CMAKE_PREFIX_PATH or set
  "jsoncpp_DIR" to a directory containing one of the above files.  If
  "jsoncpp" provides a separate development package or SDK, be sure it has
  been installed.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-27 16:12:48 UTC
Upstream switched to meson, so they don't include those files anymore.  Progminer's upstream needs to update their CMake code to work with it.