Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898852 - sys-process/daemontools-encore-1.11-r1 fails to compile (MUSL-CLANG-SYSTEM): sig_block.c:15:3: error: call to undeclared function sigblock; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: sys-process/daemontools-encore-1.11-r1 fails to compile (MUSL-CLANG-SYSTEM): ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 1.11-r2
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-02 09:57 UTC by Agostino Sarubbo
Modified: 2024-10-30 21:27 UTC (History)
0 users

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


Attachments
build.log (build.log,50.32 KB, text/plain)
2023-03-02 09:57 UTC, Agostino Sarubbo
Details

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 09:57:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-process/daemontools-encore-1.11-r1 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 09:57:58 UTC
Created attachment 855726 [details]
build.log

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


buffer_0.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buffer_get.c:12:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buffer_put.c:13:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sed: can't read make-makelib.sh: No such file or directory
wait_nohang.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wait_pid.c:27:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sig_block.c:15:3: error: call to undeclared function 'sigblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2023-06-18 12:08:21 UTC
The bug has been closed via the following commit(s):

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

commit bc9f8762d2f2ff1a64ffec7b02909b31a23baac2
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-13 04:34:29 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-06-18 12:08:16 +0000

    sys-process/daemontools-encore: Fix call to undeclared function sigblock
    
    Closes: https://bugs.gentoo.org/898852
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31409
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../daemontools-encore-1.11-r2.ebuild              | 58 ++++++++++++++++++++++
 ...encore-1.11-use-posix-complaint-functions.patch | 49 ++++++++++++++++++
 2 files changed, 107 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-10-30 21:27:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c81db158e8cd36fdf66dc2152cef783431f90f9

commit 4c81db158e8cd36fdf66dc2152cef783431f90f9
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-30 21:27:13 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-30 21:27:13 +0000

    sys-process/daemontools-encore: drop 1.11-r1
    
    Bug: https://bugs.gentoo.org/898852
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../daemontools-encore-1.11-r1.ebuild              | 57 ----------------------
 1 file changed, 57 deletions(-)