In file included from /usr/include/pthread.h:33, from work_thread.c:13: work_thread.c:45:57: error: missing binary operator before token "(" 45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN | ^~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:958: work_thread.o] Error 1 make[3]: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j3-20210730-192333 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 5eac140359fd26ae48f26823f46c5dda173ebb27 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Aug 4 01:21:39 2021 +0000 2021-08-04 01:21:38 UTC emerge -qpvO net-misc/ntp [ebuild N ] net-misc/ntp-4.2.8_p15 USE="ipv6 readline ssl threads -caps -debug -openntpd -parse-clocks -samba (-selinux) -snmp -vim-syntax -zeroconf"
Created attachment 730030 [details] emerge-info.txt
Created attachment 730032 [details] emerge-history.txt
Created attachment 730034 [details] environment
Created attachment 730036 [details] etc.portage.tar.bz2
Created attachment 730038 [details] logs.tar.bz2
Created attachment 730040 [details] net-misc:ntp-4.2.8_p15:20210804-030810.log
Created attachment 730042 [details] temp.tar.bz2
I can confirm that the patch from the URL above allows net-misc/ntp to compile again : 0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7094bf58386e8970a0b96b92938f42e61c6bb656 commit 7094bf58386e8970a0b96b92938f42e61c6bb656 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-17 06:21:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-17 06:21:40 +0000 net-misc/ntp: fix build with glibc-2.34 Closes: https://bugs.gentoo.org/806358 Signed-off-by: Sam James <sam@gentoo.org> net-misc/ntp/files/ntp-4.2.8_p15-glibc-2.34.patch | 28 +++++++++++++++++++++++ net-misc/ntp/ntp-4.2.8_p15.ebuild | 1 + 2 files changed, 29 insertions(+)