Summary: | media-gfx/metapixel-1.0.2-r1 fails to compile (MUSL-CLANG-SYSTEM): getopt.c:354:54: error: call to undeclared function getpid; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/32963 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2023-02-24 09:28:01 UTC
Created attachment 854306 [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: :75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.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]getopt1.c getopt.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:328:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:355:32: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt1.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:354:54: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80952b50674915d288f1a16db40f3be354550d2f commit 80952b50674915d288f1a16db40f3be354550d2f Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-09-23 18:05:37 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2023-12-25 10:00:02 +0000 media-gfx/metapixel: Fix call to undeclared function getpid and update EAPI 6 -> 8 Closes: https://bugs.gentoo.org/896224 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32963 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> .../files/metapixel-1.0.2-clang16-build-fix.patch | 12 ++++++ media-gfx/metapixel/metapixel-1.0.2-r2.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) |