Summary: | net-vpn/pptpd-1.4.0-r3 - [clang] compat.c: error: call to undeclared function strerror; ISO C99 and later | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Sergey Popov <pinkbyte> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=927333 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 911592 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz net-vpn:pptpd-1.4.0-r3:20231227-055108.log qlist-info.txt temp.tar.xz var.tmp.clang.tar.xz |
Description
Toralf Förster
2023-12-27 08:54:48 UTC
Created attachment 880436 [details]
emerge-info.txt
Created attachment 880437 [details]
emerge-history.txt
Created attachment 880438 [details]
environment
Created attachment 880439 [details]
etc.clang.tar.xz
Created attachment 880440 [details]
etc.portage.tar.xz
Created attachment 880441 [details]
logs.tar.xz
Created attachment 880442 [details]
net-vpn:pptpd-1.4.0-r3:20231227-055108.log
Created attachment 880443 [details]
qlist-info.txt
Created attachment 880444 [details]
temp.tar.xz
Created attachment 880445 [details]
var.tmp.clang.tar.xz
Interestingly, I think this is specific to glibc-2.38+, because it only happens with strlcpy (the include was guarded with #ifndef HAVE_STRLCPY). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de42887364fb0681a6045f33b48dfefe58c46298 commit de42887364fb0681a6045f33b48dfefe58c46298 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-04-27 00:55:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-27 00:55:29 +0000 net-vpn/pptpd: fix Modern C issue Interestingly, this only seems to manifest with >=glibc-2.38, because the include had a '#ifndef HAVE_STRLCPY' guard. Closes: https://bugs.gentoo.org/920775 Closes: https://bugs.gentoo.org/927333 Signed-off-by: Sam James <sam@gentoo.org> net-vpn/pptpd/files/pptpd-1.4.0-c99.patch | 16 ++++++++++++++++ .../{pptpd-1.4.0-r3.ebuild => pptpd-1.4.0-r4.ebuild} | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) |