In file included from sys_linux.c:42: sys_linux.c: In function ‘SYS_Linux_EnableSystemCallFilter’: sys_linux.c:506:38: error: ‘__SNR_ppoll’ undeclared (first use in this function) 506 | SCMP_SYS(pipe2), SCMP_SYS(poll), SCMP_SYS(ppoll), SCMP_SYS(pselect6), SCMP_SYS(read), | ^~~~~~~~ sys_linux.c:506:38: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-libressl_abi32+64-20191109-031622 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.39.0 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Thu, 14 Nov 2019 08:50:00 +0000 emerge -qpvO net-misc/chrony [ebuild N ] net-misc/chrony-3.5-r2 USE="adns cmdmon ipv6 ntp phc readline refclock rtc seccomp -caps -html -libedit -pps (-selinux)"
Created attachment 596112 [details] emerge-info.txt
Created attachment 596114 [details] emerge-history.txt
Created attachment 596116 [details] environment
Created attachment 596118 [details] etc.portage.tbz2
Created attachment 596120 [details] logs.tbz2
Created attachment 596122 [details] net-misc:chrony-3.5-r2:20191114-092321.log
Created attachment 596124 [details] temp.tbz2
Since upstream added _SNR_ppoll back after the 2.4.2 release "accidentally" removed it, it would make sense to temporarily restore that in a libseccomp revision bump and fix this bug and the similar problem reported in bug #700468.
(In reply to Jeroen Roovers from comment #8) > Since upstream added _SNR_ppoll back after the 2.4.2 release "accidentally" > removed it, it would make sense to temporarily restore that in a libseccomp > revision bump and fix this bug and the similar problem reported in bug > #700468. _Especially since Miroslav Lichvar is upstream for both libseccomp and chrony. :-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06dfa1a2fc15f638756134f0bedd61a2e4d0836 commit e06dfa1a2fc15f638756134f0bedd61a2e4d0836 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-11-18 11:51:27 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-11-18 11:51:51 +0000 sys-libs/libseccomp: Revbump to add missing SNR ppoll definitions Bug: https://bugs.gentoo.org/700094 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../libseccomp-2.4.2-missing_SNR_ppoll_defs.patch | 41 ++++++++++++++++++++++ ...omp-2.4.2.ebuild => libseccomp-2.4.2-r1.ebuild} | 6 +++- 2 files changed, 46 insertions(+), 1 deletion(-)
*** Bug 700468 has been marked as a duplicate of this bug. ***
*** Bug 700500 has been marked as a duplicate of this bug. ***
(In reply to Larry the Git Cow from comment #10) > The bug has been referenced in the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=e06dfa1a2fc15f638756134f0bedd61a2e4d0836 > > commit e06dfa1a2fc15f638756134f0bedd61a2e4d0836 > Author: Lars Wendler <polynomial-c@gentoo.org> > AuthorDate: 2019-11-18 11:51:27 +0000 > Commit: Lars Wendler <polynomial-c@gentoo.org> > CommitDate: 2019-11-18 11:51:51 +0000 > > sys-libs/libseccomp: Revbump to add missing SNR ppoll definitions > > Bug: https://bugs.gentoo.org/700094 > Package-Manager: Portage-2.3.79, Repoman-2.3.18 > Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> > > .../libseccomp-2.4.2-missing_SNR_ppoll_defs.patch | 41 > ++++++++++++++++++++++ > ...omp-2.4.2.ebuild => libseccomp-2.4.2-r1.ebuild} | 6 +++- > 2 files changed, 46 insertions(+), 1 deletion(-)