net-libs/libssh2-1.9.0 installs /usr/lib/cmake/libssh2/Libssh2Config-gentoo.cmake with ABI-specific content. (All versions since 1.8.0-r2 are affected.) On my system it is the only package with this problem (installing /usr/lib/cmake), so it is not any wide-spread problem. All other packages install /usr/lib64/cmake (or /usr/lib32/cmake). # grep lib64 /usr/lib/cmake/libssh2/Libssh2Config-gentoo.cmake IMPORTED_LOCATION_GENTOO "${_IMPORT_PREFIX}/lib64/libssh2.so.1.0.1" list(APPEND _IMPORT_CHECK_FILES_FOR_Libssh2::libssh2 "${_IMPORT_PREFIX}/lib64/libssh2.so.1.0.1" ) #
Fix described in: https://github.com/libssh2/libssh2/issues/405
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a59db6d2b6d68098c822ac04305b07db980a2e commit 21a59db6d2b6d68098c822ac04305b07db980a2e Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-09-04 05:15:01 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-09-04 05:23:33 +0000 net-libs/libssh2: Fix libdir in Libssh2ConfigVersion.cmake Package-Manager: Portage-2.3.75, Repoman-2.3.17 Bug: https://bugs.gentoo.org/693460 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-libs/libssh2/files/libssh2-1.9.0-libdir.patch | 17 +++++++ net-libs/libssh2/libssh2-1.9.0-r1.ebuild | 58 +++++++++++++++++++++++ 2 files changed, 75 insertions(+)