too long lines were shrinked: make[2]: warning: -j4 forced in submake: resetting jobserver mode. clang -o pptpd-logwtmp.so -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -I.. -I../../include -fPIC pp clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o pptpmanager.o pptpmanager.c clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o compat.o compat.c make[2]: Leaving directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0/plugins' clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o inststr.o inststr.c compat.c:168:5: error: call to undeclared function 'strerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-20231225-172010 ------------------------------------------------------------------- CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 2) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit f73b48f01328a70a75144d264f7200179b9177fe Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 27 04:46:57 2023 +0000 2023-12-27 04:46:56 UTC emerge -qpvO net-vpn/pptpd [ebuild N ] net-vpn/pptpd-1.4.0-r3 USE="tcpd -gre-extreme-debug"
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(-)