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

Bug 731190

Summary: net-analyzer/sslsplit-0.5.5 fails to link with LLD because of /usr/lib in the link command line
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Petr Vaněk <arkamar>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27631
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-07-07 06:25:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/sslsplit fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64

NOTE:
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-07 06:26:03 UTC
Created attachment 648142 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-16 13:20:34 UTC
tinderbox has reproduced this issue with version 0.5.5 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2022-10-07 11:28:51 UTC
The bug has been closed via the following commit(s):

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

commit 7bb7ed201f33e94137d7e032f4627158141411a4
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-10-04 15:24:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-07 11:28:29 +0000

    net-analyzer/sslsplit: use pkgconfig to detect libnet
    
    SSLsplit uses custom localization of libnet library which does not work
    correctly in multilib environment. This commit fixes the issue by
    restoring pkgconfig detection from upstream commit 46a55de8040a
    ("Refactor location of packages, improve libnet detection"). Similar
    patch is also needed for tests, where libcrypto is also searched with
    pkgconfig.
    
    Closes: https://bugs.gentoo.org/731190
    Closes: https://bugs.gentoo.org/874075
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/27631
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/sslsplit-0.5.5-libcrypto-pkgconfig.patch | 23 +++++++++++++
 .../files/sslsplit-0.5.5-libnet-pkgconfig.patch    | 40 ++++++++++++++++++++++
 net-analyzer/sslsplit/sslsplit-0.5.5.ebuild        |  6 +++-
 3 files changed, 68 insertions(+), 1 deletion(-)