Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 700468

Summary: net-misc/ntpsec-1.1.7-r1 with sys-libs/libseccomp-2.4.2 - ../../ntpd/ntp_sandbox.c:414:2: error: ‘__SNR_ppoll’ undeclared (first use in this function)
Product: Gentoo Linux Reporter: crabbed halo ablution <crabbedhaloablution>
Component: Current packagesAssignee: Steve Arnold <nerdboy>
Status: RESOLVED DUPLICATE    
Severity: normal CC: base-system, blueness
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description crabbed halo ablution 2019-11-18 10:13:13 UTC
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),
      |  ^~~~~~~~
Comment 1 crabbed halo ablution 2019-11-18 10:17:08 UTC
Created attachment 596624 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-18 11:36:55 UTC
This bug is fixed by applying the patch mentioned in bug #700094 to sys-libs/libseccomp-2.4.2.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-18 11:53:36 UTC

*** This bug has been marked as a duplicate of bug 700094 ***