Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895836 - dev-build/kbuild-0.1.9998.3499-r2 fails to compile (MUSL-CLANG-SYSTEM): chmod.c:235:18: error: use of undeclared identifier ALLPERMS
Summary: dev-build/kbuild-0.1.9998.3499-r2 fails to compile (MUSL-CLANG-SYSTEM): chmod...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-22 08:28 UTC by Agostino Sarubbo
Modified: 2024-01-18 14:09 UTC (History)
0 users

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


Attachments
build.log (build.log,205.00 KB, text/plain)
2023-02-22 08:28 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-22 08:28:21 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-22 08:28:23 UTC
Created attachment 853832 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-22 08:28:24 UTC
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'
Comment 3 Larry the Git Cow gentoo-dev 2023-03-09 08:55:29 UTC
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(-)