https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/ffcall-2.4 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses clang as a compiler and lld as a linker
Created attachment 759827 [details] build.log build log and emerge --info
clang-stricter_tinderbox has reproduced this issue with version 2.4-r1 - Updating summary.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc343529e52550ccca2eb5441cca6dace7a7042 commit 8dc343529e52550ccca2eb5441cca6dace7a7042 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-18 09:34:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-18 09:34:44 +0000 dev-libs/ffcall: add 2.5 I've dropped the slibtool patch (at least for now) because this release fixes building w/ C23 which is more important at the moment. Bug: https://bugs.gentoo.org/776976 Bug: https://bugs.gentoo.org/829663 Closes: https://bugs.gentoo.org/879795 Closes: https://bugs.gentoo.org/943743 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/ffcall/Manifest | 1 + dev-libs/ffcall/ffcall-2.5.ebuild | 60 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b89df93ef88388f452bf3d2caf6337c5314395d commit 5b89df93ef88388f452bf3d2caf6337c5314395d Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2025-04-06 14:01:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-10 10:38:05 +0000 dev-libs/ffcall: fix build w/ clang 1. apply patch from upstream 2. ignore PROT_MPROTECT for linux, which is NetBSD only Closes: https://bugs.gentoo.org/829663 Closes: https://bugs.gentoo.org/943754 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/41474 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/ffcall/ffcall-2.5.ebuild | 12 ++++- .../files/ffcall-2.5-add-support-for-clang.patch | 53 ++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-)