Build fails with USE="seccomp", succeeds without. Reproducible: Always 11:07:22 runner ['x86_64-pc-linux-gnu-gcc', '-DUNITY_EXCLUDE_FLOAT_PRINT', '-fstack-protector-all', '-Wshadow', '-Wpacked', '-Wcast-qual', '-Wmissing-declarations', '-Wdisabled-optimization', '-Wimplicit-function-declaration', '-Winvalid-pch', '-Wpointer-arith', '-Wwrite-strings', '-Winit-self', '-Wfloat-equal', '-Wformat', '-Wformat-signedness', '-Wformat-security', '-Wsuggest-attribute=noreturn', '-fPIC', '-O1', '-Wall', '-Wextra', '-Wmissing-prototypes', '-Wstrict-prototypes', '-Wundef', '-Wunused', '-std=c99', '-D_GNU_SOURCE', '-march=native', '-mtune=native', '-ggdb', '-O2', '-pipe', '-I..', '-Iinclude', '-I../../include', '-I../host/ntpd', '-Intpd', '-I../../ntpd', '-DPYTHONDIR="/usr/lib64/python3.6/site-packages"', '-DPYTHONARCHDIR="/usr/lib64/python3.6/site-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '../../ntpd/ntp_sandbox.c', '-c', '-o/var/tmp/portage/net-misc/ntpsec-1.1.7-r1/work/ntpsec-1.1.7-python3_6/build/main/ntpd/ntp_sandbox.c.9.o'] In file included from ../../ntpd/ntp_sandbox.c:38: ../../ntpd/ntp_sandbox.c: In function ‘sandbox’: ../../ntpd/ntp_sandbox.c:414:2: error: ‘__SNR_ppoll’ undeclared (first use in this function) 414 | SCMP_SYS(ppoll), | ^~~~~~~~
Created attachment 596624 [details] build.log
This bug is fixed by applying the patch mentioned in bug #700094 to sys-libs/libseccomp-2.4.2.
*** This bug has been marked as a duplicate of bug 700094 ***