https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: mail-mta/opensmtpd-6.7.1_p1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 657730 [details] build.log build log and emerge --info
Created attachment 657732 [details] 1-config.log 1-config.log
tinderbox has reproduced this issue with version 6.8.0_p2-r1 - Updating summary.
This only occurs on multilib + clang systems, configure.ac has several instances where it hard codes the libdir during configure tests.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05af7c36a3e4e74879cad3c03ef4ca2e3601b82 commit a05af7c36a3e4e74879cad3c03ef4ca2e3601b82 Author: orbea <orbea@riseup.net> AuthorDate: 2023-04-25 14:38:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-26 03:51:12 +0000 mail-mta/opensmtpd: Build fixes Fixes some build issues: * Build failure on musl systems * Build failure with clang-16 * Uses AM_PROG_AR to find ar(1) during configure * Uses configure arguments to find libevent and libssl on multilib systems. Closes: https://bugs.gentoo.org/720782 Closes: https://bugs.gentoo.org/727260 Closes: https://bugs.gentoo.org/739876 Closes: https://bugs.gentoo.org/896050 Closes: https://bugs.gentoo.org/899876 Upstream-Issue: https://github.com/OpenSMTPD/OpenSMTPD/issues/1065 Upstream-PR: https://github.com/OpenSMTPD/OpenSMTPD/pull/1195 Upstream-PR: https://github.com/OpenSMTPD/OpenSMTPD/pull/1198 Upstream-PR: https://github.com/OpenSMTPD/OpenSMTPD/pull/1199 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/30750 Signed-off-by: Sam James <sam@gentoo.org> .../opensmtpd/files/opensmtpd-6.8.0_p2-ar.patch | 42 +++ ...pd-6.8.0_p2-implicit-function-declaration.patch | 303 +++++++++++++++++++++ .../opensmtpd-6.8.0_p2-strict-prototypes.patch | 74 +++++ mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild | 91 +++++++ 4 files changed, 510 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ef6da30448f328b0d173d38c944b6f6ce3171a commit c3ef6da30448f328b0d173d38c944b6f6ce3171a Author: orbea <orbea@riseup.net> AuthorDate: 2023-04-28 20:04:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-29 05:46:33 +0000 mail-mta/opensmtpd: fix libdir path This fixes the path from the previous commit that sets the libevent and libssl paths explicitly to avoid configure failures on multilib systems that use lld where the incorrect lib directory is linked. The configure check will test the path as a sysroot and then will take it in its entirety in the 'else' case. Fixes: https://github.com/gentoo/gentoo/commit/a05af7c36a3e4e74879cad3c03ef4ca2e3601b82 Bug: https://bugs.gentoo.org/739876 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/30803 Signed-off-by: Sam James <sam@gentoo.org> mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)