Describe the bug
On master, chrony does not build after #74453. I confirmed that a revert fixes the chrony build.
gcc -O2 -g -D_FORTIFY_SOURCE=2 -fPIE -fstack-protector-strong --param=ssp-buffer-size=4 -Wmissing-prototypes -Wall -pthread -I/nix/store/qrq5sz7p3yjz50b7lr7139wc80ymfk9n-nss-3.47.1-dev/include/nss -I/nix/store/m5ra1lf1x8cqabjnkh2sxr2hm080ikgx-nspr-4.23-dev/include -c sys_linux.c
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)
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
make: *** [Makefile:108: sys_linux.o] Error 1
builder for '/nix/store/9drp1fbgr817lb5r5rp8xjp2h3cvxdp8-chrony-3.5.drv' failed with exit code 2
error: build of '/nix/store/9drp1fbgr817lb5r5rp8xjp2h3cvxdp8-chrony-3.5.drv' failed
cc maintainers @fpletz @thoughtpolice
reporter @Izorkin https://github.com/NixOS/nixpkgs/pull/74453#issuecomment-562221046
Fixed in 5d8bd748f305b1e53882be68072d2031b0c0b587.
Most helpful comment
Fixed in 5d8bd748f305b1e53882be68072d2031b0c0b587.