x86_64-pc-linux-gnu-ld: error: main.o is incompatible with elf32-i386 x86_64-pc-linux-gnu-ld: error: nat.o is incompatible with elf32-i386 x86_64-pc-linux-gnu-ld: error: opts.o is incompatible with elf32-i386 x86_64-pc-linux-gnu-ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [GNUmakefile:477: sslsplit] Error 1 * ERROR: net-analyzer/sslsplit-0.5.5::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20221001-020003 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] 3) Eclipse Temurin JRE 8.345_p01 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-bin-11 [2] openjdk-jre-bin-8 [3] openjdk-jre-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit ffd974ef87604e20495370342e9dbcb42a4dbc82 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 2 11:31:48 2022 +0000 2022-10-02 11:31:48 UTC emerge -qpvO net-analyzer/sslsplit [ebuild N ] net-analyzer/sslsplit-0.5.5 USE="-test"
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(-)