Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710572 - =dev-libs/libgit2-0.99.0: installs libgit2.pc in /usr/lib/pkgconfig instead of /usr/lib64/pkgconfig
Summary: =dev-libs/libgit2-0.99.0: installs libgit2.pc in /usr/lib/pkgconfig instead o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL: https://github.com/libgit2/libgit2/pu...
Whiteboard:
Keywords:
: 710576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-23 12:31 UTC by Martin Gysel (bearsh)
Modified: 2020-03-12 21:23 UTC (History)
3 users (show)

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


Attachments
emerge info (emerge-info.txt,7.87 KB, text/plain)
2020-02-23 12:32 UTC, Martin Gysel (bearsh)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gysel (bearsh) 2020-02-23 12:31:50 UTC
libgit2.pc gets installed into /usr/lib instead /usr/lib64

$ qlist libgit2 | grep libgit2
/usr/lib/pkgconfig/libgit2.pc
/usr/lib64/libgit2.so
/usr/lib64/libgit2.so.0.28.4
/usr/lib64/libgit2.so.0.99
/usr/lib64/libgit2.so.0.99.0
/usr/lib64/libgit2.so.28

$ cat /usr/lib/pkgconfig/libgit2.pc
prefix="/usr"
libdir="${prefix}/lib"
includedir="${prefix}/include
...

Reproducible: Always
Comment 1 Martin Gysel (bearsh) 2020-02-23 12:32:18 UTC
Created attachment 615290 [details]
emerge info
Comment 2 Martin Gysel (bearsh) 2020-02-24 08:42:15 UTC
it may be fixed upstream: https://github.com/libgit2/libgit2/pull/5412
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-24 09:08:14 UTC
Thank you for finding that commit.  That makes my job much easier ;-).
Comment 4 Larry the Git Cow gentoo-dev 2020-02-24 09:09:05 UTC
The bug has been closed via the following commit(s):

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

commit e65221f043fa0582fa1835b4ae580e030bb09b8d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-02-24 08:52:31 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-02-24 09:08:59 +0000

    dev-libs/libgit2: Fix pkg-config install path
    
    Closes: https://bugs.gentoo.org/710572
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../libgit2/files/libgit2-0.99.0-pkg-config.patch  | 81 ++++++++++++++++++++++
 ...git2-0.99.0.ebuild => libgit2-0.99.0-r1.ebuild} |  4 ++
 2 files changed, 85 insertions(+)
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-24 09:24:57 UTC
*** Bug 710576 has been marked as a duplicate of this bug. ***
Comment 6 Mart Raudsepp gentoo-dev 2020-03-12 21:23:55 UTC
fwiw, this revbump caused bug 710572