Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 693460

Summary: net-libs/libssh2-1.9.0 installs /usr/lib/cmake/libssh2/Libssh2Config-gentoo.cmake with ABI-specific content
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis 2019-09-04 02:06:18 UTC
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
list(APPEND _IMPORT_CHECK_FILES_FOR_Libssh2::libssh2 "${_IMPORT_PREFIX}/lib64/" )
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-09-04 02:17:43 UTC
Fix described in:
Comment 2 Larry the Git Cow gentoo-dev 2019-09-04 05:23:37 UTC
The bug has been referenced in the following commit(s):

commit 21a59db6d2b6d68098c822ac04305b07db980a2e
Author:     Jeroen Roovers <>
AuthorDate: 2019-09-04 05:15:01 +0000
Commit:     Jeroen Roovers <>
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
    Signed-off-by: Jeroen Roovers <>

 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(+)