https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/kbuild-0.1.9998.3499-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 853832 [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: /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/fnmatch.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/fnmatch.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/fnmatch.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/glob/glob.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /var/tmp/portage/dev-util/kbuild-0.1.9998.3499-r2/work/kbuild-0.1.9998.3499/src/kmk/kmkbuiltin/chmod.c:235:18: error: use of undeclared identifier 'ALLPERMS'
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9520040d09ef46d20846bb4bc98029c8c88f6f0 commit c9520040d09ef46d20846bb4bc98029c8c88f6f0 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2023-03-09 08:49:10 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2023-03-09 08:55:12 +0000 dev-util/kbuild: fix compilation with clang-16 Closes: https://bugs.gentoo.org/898770 Bug: https://bugs.gentoo.org/895836 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> dev-util/kbuild/Manifest | 1 + dev-util/kbuild/kbuild-0.1.9998.3499-r3.ebuild | 79 ++++++++++++++++++++++ ...72-r2.ebuild => kbuild-0.1.9998.3572-r3.ebuild} | 9 ++- 3 files changed, 87 insertions(+), 2 deletions(-)