https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-misc/ipsvd-1.0.0-r2 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.
Created attachment 854854 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: 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] 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:15: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] alloc_re.c:16: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] 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: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] cdb.c:48: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] head = (struct cdb_hplist *) alloc(sizeof(struct cdb_hplist)); cdb.c:79:18: 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] cdb_make.c:106:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cdb_make.c:36:39: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ipsvd_phcc.c:17:21: 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] ipsvd_phcc.c:18:25: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ipsvd_phcc.c:36:9: 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] ipsvd_phcc.c:42: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] ipsvd_phcc.c:62:21: 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] passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cdb_make.c:18:21: error: incompatible function pointer types passing 'ssize_t (int, const void *, size_t)' (aka 'long (int, const void *, unsigned long)') to parameter of type 'int (*)()' [-Wincompatible-function-pointer-types]
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca2c88b0a70994950dc3d94093777d02e0383d3 commit aca2c88b0a70994950dc3d94093777d02e0383d3 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-07-16 09:43:32 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-07-24 06:30:57 +0000 net-misc/ipsvd: Fix incompatible function pointer types Removing conditions for usage of sigsetmask and other such functions and using alternative functions. Bug: https://bugs.gentoo.org/897946 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31614 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../files/ipsvd-1.0.0-fix-musl-clang-16.patch | 139 +++++++++++++++++++++ net-misc/ipsvd/ipsvd-1.0.0-r3.ebuild | 44 +++++++ 2 files changed, 183 insertions(+)
gcc14_tinderbox has reproduced this issue with version 1.0.0-r3 - Updating summary.