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 https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31203
Whiteboard:
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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/wdm-1.28-r8 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1306b7c1abd59d1e60fc797cddd165919bac796c

commit 1306b7c1abd59d1e60fc797cddd165919bac796c
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-28 14:37:50 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-05-29 12:37:30 +0000

    x11-misc/wdm: Replace sigsetmask with posix compliant functions
    
    Closes: https://bugs.gentoo.org/898892
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31203
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

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