Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700468 - 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)
Summary: net-misc/ntpsec-1.1.7-r1 with sys-libs/libseccomp-2.4.2 - ../../ntpd/ntp_sand...
Status: RESOLVED DUPLICATE of bug 700094
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-18 10:13 UTC by crabbed halo ablution
Modified: 2019-11-18 11:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,351.00 KB, text/plain)
2019-11-18 10:17 UTC, crabbed halo ablution
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***