Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 898892

Summary: 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]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

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(+)