Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897944 - net-misc/dibbler-1.0.1-r3 fails to compile (MUSL-CLANG-SYSTEM): lowlevel-linux-link-state.c:92:2: error: call to undeclared function pthread_kill; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: net-misc/dibbler-1.0.1-r3 fails to compile (MUSL-CLANG-SYSTEM): lowlevel-linu...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Keywords: PullRequest
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
Reported: 2023-02-26 17:55 UTC by Agostino Sarubbo
Modified: 2023-06-13 14:16 UTC (History)
0 users

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

build.log (build.log,71.11 KB, text/plain)
2023-02-26 17:55 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-26 17:55:49 UTC

Issue: net-misc/dibbler-1.0.1-r3 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-26 17:55:51 UTC
Created attachment 854852 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-06-13 14:16:26 UTC
The bug has been closed via the following commit(s):

commit 2f0e774294b22dfcd100698255ec502f7499de14
Author:     Brahmajit Das <>
AuthorDate: 2023-06-01 06:27:13 +0000
Commit:     Bernard Cafarelli <>
CommitDate: 2023-06-13 14:12:42 +0000

    net-misc/dibbler: Fix call to undeclared function pthread_kill
    Signed-off-by: Brahmajit Das <>
    Signed-off-by: Bernard Cafarelli <>

 net-misc/dibbler/dibbler-1.0.1-r4.ebuild           | 66 +++++++++++++++++++
 .../files/dibbler-1.0.1-clang-16-musl-fix.patch    | 74 ++++++++++++++++++++++
 2 files changed, 140 insertions(+)