Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894198 - sys-process/daemontools-0.76-r8 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-0.76-r8 fails to compile (MUSL-CLANG-SYSTEM): sig_blo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-13 15:13 UTC by Agostino Sarubbo
Modified: 2023-02-18 17:29 UTC (History)
0 users

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


Attachments
build.log (build.log,65.93 KB, text/plain)
2023-02-13 15:13 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-02-13 15:13:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-process/daemontools-0.76-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-02-13 15:13:39 UTC
Created attachment 850706 [details]
build.log

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


 warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]In file included from 
14./byte.h:: 6warning: :a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]21
:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:68:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
alloc.c:15:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
alloc.c:26:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
alloc_re.c:13:12: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
alloc_re.c:6: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_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_get.c:22:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buffer_get.c:36:27: warning: passing arguments to 'byte_copyr' 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]
buffer_put.c:40:14: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buffer_put.c:44:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buffer_put.c:66:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
byte_chr.c:5:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
byte_copy.c:5:6:byte_cr.c warning: :a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]5
byte_diff.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]
envdir.c:60:26: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fghack.c:45:15: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
multilog.c:239:19: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
multilog.c:285:18: warning: passing arguments to 'byte_rchr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
multilog.c:390:30: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
multilog.c:52:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pathexec_env.c:43:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pathexec_env.c:55:6: warning: passing arguments to 'byte_diff' 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
stralloc_catb.c:10:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stralloc_eady.c:7:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stralloc_eady.c:7:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stralloc_eady.c:8:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stralloc_eady.c:8:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stralloc_opyb.c:9:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
svc.c:35:21: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
svscan.c:144:20: warning: passing arguments to 'wait_nohang' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
svscan.c:68:16: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
svscan.c:69:16: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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-02-18 17:29:08 UTC
The bug has been closed via the following commit(s):

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

commit 6481423534333b63e2fed41065dff318c9a4eaaf
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-02-18 17:28:46 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-02-18 17:28:46 +0000

    sys-process/daemontools: fix C99 decls
    
    Closes: https://bugs.gentoo.org/894198
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-process/daemontools/daemontools-0.76-r9.ebuild |   2 +-
 sys-process/daemontools/files/0.76-C99-decls.patch | 503 +++++++++++++++++++++
 sys-process/daemontools/files/0.76-warnings.patch  |  74 ---
 3 files changed, 504 insertions(+), 75 deletions(-)