Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624242 - sci-libs/avogadrolibs-0.9.0 - jsoncpp bundling breaks revdeps
Summary: sci-libs/avogadrolibs-0.9.0 - jsoncpp bundling breaks revdeps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL: https://github.com/OpenChemistry/avog...
Whiteboard:
Keywords:
: 616962 649566 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-08 10:45 UTC by Michael Palimaka (kensington)
Modified: 2018-04-08 09:55 UTC (History)
4 users (show)

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 Michael Palimaka (kensington) gentoo-dev 2017-07-08 10:45:11 UTC
sci-libs/avogadrolibs-0.9.0 does this:
>rm "${ED%/}"/usr/lib64/libjsoncpp.a || die

However, the cmake files in /usr/lib64/cmake/avogadrolibs/ still reference that removed lib, so trying to build any cmake-based revdep fails:
CMake Error at /usr/lib64/cmake/avogadrolibs/AvogadroLibsTargets.cmake:205 (message):
  The imported target "jsoncpp" references the file

     "/usr/lib64/libjsoncpp.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib64/cmake/avogadrolibs/AvogadroLibsTargets.cmake"

  but not all the files it references.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-03-04 12:33:28 UTC
*** Bug 616962 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Sturmlechner gentoo-dev 2018-03-04 12:33:53 UTC
*** Bug 649566 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2018-04-08 09:55:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1255c53cc64cb280bff21ad7ae82ab91ec595123

commit 1255c53cc64cb280bff21ad7ae82ab91ec595123
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-08 00:25:18 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-08 09:53:52 +0000

    sci-libs/avogadrolibs: Unbundle jsoncpp, fix USE=vtk
    
    Bug: https://bugs.gentoo.org/649860
    Closes: https://bugs.gentoo.org/624242
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sci-libs/avogadrolibs/Manifest                     |   1 +
 .../avogadrolibs-1.91.0_pre20180406.ebuild         |  29 +++--
 ...-1.91.0_pre20180406-bundled-genxrdpattern.patch |  44 +++++++
 ...olibs-1.91.0_pre20180406-unbundle-jsoncpp.patch | 143 +++++++++++++++++++++
 4 files changed, 208 insertions(+), 9 deletions(-)