Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898894 - x11-misc/xdock-0.3.0-r1 fails to compile (MUSL-CLANG-SYSTEM): network.c:51:2: error: call to undeclared library function memcpy with type void (void , const void , unsigned long); ISO C99 and later do not support implicit function declarations [-Wimplici
Summary: x11-misc/xdock-0.3.0-r1 fails to compile (MUSL-CLANG-SYSTEM): network.c:51:2:...
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, clang-16-porting
  Show dependency tree
Reported: 2023-03-02 10:07 UTC by Agostino Sarubbo
Modified: 2023-05-29 11:54 UTC (History)
0 users

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

build.log (build.log,52.76 KB, text/plain)
2023-03-02 10: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-03-02 10:07:25 UTC

Issue: x11-misc/xdock-0.3.0-r1 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-03-02 10:07:27 UTC
Created attachment 855768 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-29 11:54:27 UTC
The bug has been closed via the following commit(s):

commit 595eb68d7d7d5098a4437bf23278052de3aa2f71
Author:     Brahmajit Das <>
AuthorDate: 2023-05-28 14:02:44 +0000
Commit:     Joonas Niilola <>
CommitDate: 2023-05-29 11:54:24 +0000

    x11-misc/xdock: Fix memset and memcpy undeclared
    Signed-off-by: Brahmajit Das <>
    Signed-off-by: Joonas Niilola <>

 .../xdock/files/xdock-0.3.0-clang16-memcpy.patch   | 11 ++++++
 x11-misc/xdock/xdock-0.3.0-r2.ebuild               | 40 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)