Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943754 - dev-libs/ffcall-2.5 has implicit function declarations in configure logs
Summary: dev-libs/ffcall-2.5 has implicit function declarations in configure logs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2024-11-18 11:33 UTC by Agostino Sarubbo
Modified: 2025-04-10 10:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,129.07 KB, text/plain)
2024-11-18 11:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-18 11:33:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/ffcall-2.5 has implicit function declarations in configure logs.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-18 11:33:59 UTC
Created attachment 908968 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-18 11:34:01 UTC
Found the following implicit function declarations in configure logs:

config.log:1689 - PROT_MPROTECT
Comment 3 Larry the Git Cow gentoo-dev 2025-04-10 10:38:24 UTC
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(-)