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.
*** Bug 616962 has been marked as a duplicate of this bug. ***
*** Bug 649566 has been marked as a duplicate of this bug. ***
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(-)