Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906919 - dev-util/unicorn-2.0.1 has implicit function declarations in configure logs (MUSL-SYSTEM)
Summary: dev-util/unicorn-2.0.1 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: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2023-05-22 08:41 UTC by Agostino Sarubbo
Modified: 2025-02-16 09:40 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,810.23 KB, text/plain)
2023-05-22 08:41 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 2023-05-22 08:41:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/unicorn-2.0.1 has implicit function declarations in configure logs (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-22 08:41:31 UTC
Created attachment 862158 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-22 08:41:32 UTC
Found the following implicit function declarations in configure logs:

config.log:169 - malloc_trim
config.log:201 - clock_adjtime
Comment 3 Larry the Git Cow gentoo-dev 2025-02-16 06:32:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7acfa006ff609cc65a222d854bd4112a53026b99

commit 7acfa006ff609cc65a222d854bd4112a53026b99
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2023-10-08 11:49:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-16 06:31:23 +0000

    dev-util/unicorn: fix implicit function declarations QA issues
    
    Closes: https://bugs.gentoo.org/906919
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/unicorn/unicorn-2.0.1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2025-02-16 09:40:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced76873c738bd8b515d7fc4c1799c90d9cc61fd

commit ced76873c738bd8b515d7fc4c1799c90d9cc61fd
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2025-01-13 11:08:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-16 09:39:52 +0000

    dev-util/unicorn: fix unexpected implicit function declarations
    
    1. patch merged by upstream at https://github.com/unicorn-engine/unicorn/pull/2085
    2. malloc_trim is not available for musl only
    
    Closes: https://bugs.gentoo.org/906919
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40116
    Signed-off-by: Sam James <sam@gentoo.org>

 .../unicorn/files/unicorn-2.0.1-configure.patch    | 34 ++++++++++++++++++++++
 dev-util/unicorn/unicorn-2.0.1-r1.ebuild           | 12 ++++----
 dev-util/unicorn/unicorn-2.0.1.ebuild              | 13 +++++----
 dev-util/unicorn/unicorn-2.1.1.ebuild              | 11 +++----
 dev-util/unicorn/unicorn-9999.ebuild               | 10 ++-----
 5 files changed, 55 insertions(+), 25 deletions(-)