Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898066 - net-nds/ldapvi-1.7_p20101214-r4 fails to compile (MUSL-CLANG-SYSTEM): ldapvi.c:580:2: error: call to undeclared function on_exit; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: net-nds/ldapvi-1.7_p20101214-r4 fails to compile (MUSL-CLANG-SYSTEM): ldapvi....
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
Reported: 2023-02-27 09:07 UTC by Agostino Sarubbo
Modified: 2023-10-01 07:47 UTC (History)
0 users

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

build.log (build.log,64.84 KB, text/plain)
2023-02-27 09:07 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-27 09:07:13 UTC

Issue: net-nds/ldapvi-1.7_p20101214-r4 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-27 09:07:15 UTC
Created attachment 854926 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-10-01 07:47:33 UTC
The bug has been closed via the following commit(s):

commit 00a1ff40983440d2d0f7ea744b64a98e2e500d38
Author:     Brahmajit Das <>
AuthorDate: 2023-09-30 17:31:21 +0000
Commit:     Sam James <>
CommitDate: 2023-10-01 07:45:18 +0000

    net-nds/ldapvi: Fix call to undeclared function on_exit
    Signed-off-by: Brahmajit Das <>
    Signed-off-by: Sam James <>

 .../ldapvi-1.7-fix-missing-on_exit-musl.patch      | 61 +++++++++++++++++++++
 net-nds/ldapvi/ldapvi-1.7_p20101214-r6.ebuild      | 62 ++++++++++++++++++++++
 2 files changed, 123 insertions(+)