Summary: | net-analyzer/sslsplit-0.5.5 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | 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: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 net-analyzer:sslsplit-0.5.5:20221002-140232.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 815572 [details]
emerge-info.txt
Created attachment 815575 [details]
emerge-history.txt
Created attachment 815578 [details]
environment
Created attachment 815581 [details]
etc.portage.tar.bz2
Created attachment 815584 [details]
net-analyzer:sslsplit-0.5.5:20221002-140232.log
Created attachment 815587 [details]
temp.tar.bz2
I am not able to reproduce this one with any of those two compilers sys-devel/clang: 15.0.0-r1::gentoo, 16.0.0_pre20220930::gentoo It's forcing -L/usr/lib which on glibc multilib systems will mean using wrong objects. 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(-) |