Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693460 - net-libs/libssh2-1.9.0 installs /usr/lib/cmake/libssh2/Libssh2Config-gentoo.cmake with ABI-specific content
Summary: net-libs/libssh2-1.9.0 installs /usr/lib/cmake/libssh2/Libssh2Config-gentoo.c...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Netmon project
Depends on:
Reported: 2019-09-04 02:06 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-09-04 05:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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(+)