Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898892 - x11-misc/wdm-1.28-r8 fails to compile (MUSL-CLANG-SYSTEM): util.c:117:2: error: call to undeclared function sigsetmask; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: x11-misc/wdm-1.28-r8 fails to compile (MUSL-CLANG-SYSTEM): util.c:117:2: erro...
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 12:39 UTC (History)
0 users

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

build.log (build.log,57.92 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:21 UTC

Issue: x11-misc/wdm-1.28-r8 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:23 UTC
Created attachment 855766 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-02 10:07:24 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

configure: WARNING: libselinux not found, compiling without SELinux support
src/wdm/protodpy.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
src/wdm/util.c:117:2: error: call to undeclared function 'sigsetmask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2023-05-29 12:39:04 UTC
The bug has been closed via the following commit(s):

commit 1306b7c1abd59d1e60fc797cddd165919bac796c
Author:     Brahmajit Das <>
AuthorDate: 2023-05-28 14:37:50 +0000
Commit:     Joonas Niilola <>
CommitDate: 2023-05-29 12:37:30 +0000

    x11-misc/wdm: Replace sigsetmask with posix compliant functions
    Signed-off-by: Brahmajit Das <>
    Signed-off-by: Joonas Niilola <>

 .../wdm/files/wdm-1.28-remove-sigsetmask.patch     | 15 ++++++
 x11-misc/wdm/wdm-1.28-r9.ebuild                    | 62 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)