Summary: | app-admin/mcelog-191 fails to compile (MUSL-CLANG-SYSTEM): client.c:47:2: error: call to undeclared library function strncpy with type char (char , const char , unsigned long); ISO C99 and later do not support implicit function declarations [-Wimplicit-f | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Ben Kohler <bkohler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/31397 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2023-02-14 08:33:08 UTC
Created attachment 851004 [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: cmp: lookup_intel_cputype.c: No such file or directory cmp: version.c: No such file or directory client.c:47:2: error: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; 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=5d2a2b302b1f169bd6c0337ab8b5365300edfd46 commit 5d2a2b302b1f169bd6c0337ab8b5365300edfd46 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-06-12 11:24:17 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2023-06-14 14:10:33 +0000 app-admin/mcelog: Fix call to undeclared library function strncpy on musl Closes: https://bugs.gentoo.org/894316 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31397 Signed-off-by: Ben Kohler <bkohler@gentoo.org> app-admin/mcelog/files/mcelog-194-musl-fix.patch | 21 +++++++++ app-admin/mcelog/mcelog-194-r1.ebuild | 55 ++++++++++++++++++++++++ 2 files changed, 76 insertions(+) |