Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552474 - media-libs/raptor: configure should use pkg-config for curl libs instead of curl-config
Summary: media-libs/raptor: configure should use pkg-config for curl libs instead of c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 676522 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-18 16:25 UTC by Dennis Schridde
Modified: 2019-02-09 12:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2015-06-18 16:25:16 UTC
>>> package: net-libs/nghttp2-1.0.2
 *  - /usr/lib64/libnghttp2.so.5
 *  - /usr/lib64/libnghttp2.so.5.8.4
 *      used by /usr/lib64/libraptor2.so.0.0.0 (media-libs/raptor-2.0.14)

$ scanelf -n /usr/lib64/libraptor2.so.0.0.0
 TYPE   NEEDED FILE 
ET_DYN libcurl.so.4,libnghttp2.so.5,librtmp.so.1,libssl.so.1.0.0,libcrypto.so.1.0.0,liblber-2.4.so.2,libldap-2.4.so.2,libicuuc.so.55,libxslt.so.1,libxml2.so.2,libz.so.1,libdl.so.2,libm.so.6,libc.so.6 /usr/lib64/libraptor2.so.0.0.0

Apparently media-libs/raptor-2.0.14 links against libnghttp2.so.5 from net-libs/nghttp2-1.0.2, thus the dependencies of the ebuild should be adjusted.
Comment 1 SpanKY gentoo-dev 2015-07-20 07:05:34 UTC
the problem is that raptor runs `curl-config --libs` and then uses all of that output for its linking (including its pkg-config file).  it should instead use pkg-config to query for things in which case it'll get a much smaller answer.

this isn't specific to nghttp2 -- all libs that curl might use will exhibit the same behavior here.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-01-27 15:44:48 UTC
*** Bug 676522 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2019-02-09 12:59:07 UTC
The bug has been closed via the following commit(s):

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

commit fbd38277371e11131cea7b96d42d62f61d72cb29
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-02-09 12:57:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-02-09 12:57:59 +0000

    media-libs/raptor: Don't use curl-config
    
    Closes: https://bugs.gentoo.org/552474
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/raptor-2.0.15-dont_use_curl-config.patch | 59 +++++++++++++++++
 media-libs/raptor/raptor-2.0.15-r2.ebuild          | 74 ++++++++++++++++++++++
 2 files changed, 133 insertions(+)