-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libseccomp
is required for compilation
#218
Comments
@Crazykev thanks, will do. |
Merged
egernst
pushed a commit
to egernst/cri-o
that referenced
this issue
Nov 26, 2018
qemu-vanilla: Make spec-template file requirement arch-specific
michalsieron
added a commit
to michalsieron/cri-o
that referenced
this issue
Oct 16, 2024
I think cri-o#3300 regressed cri-o#218 by unconditionally compiling with seccomp enabled. cri-o#6488 fixed this for non-linux and non-cgo build platforms, but the issue still exists when one uses a cgo-enabled Linux build host but still wants to build without seccomp. In such case build ends quickly with pkg-config error: `Package 'libseccomp' not found`. This patch makes internal/config/seccomp respect the seccomp buildtag. Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
michalsieron
added a commit
to michalsieron/cri-o
that referenced
this issue
Oct 16, 2024
I think cri-o#3300 regressed cri-o#218 by unconditionally compiling with seccomp enabled. cri-o#6488 fixed this for non-linux and non-cgo build platforms, but the issue still exists when one uses a cgo-enabled Linux build host but still wants to build without seccomp. In such case build ends quickly with pkg-config error: `Package 'libseccomp' not found`. This patch makes internal/config/seccomp respect the seccomp buildtag. Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
xw19
pushed a commit
to xw19/cri-o
that referenced
this issue
Dec 4, 2024
I think cri-o#3300 regressed cri-o#218 by unconditionally compiling with seccomp enabled. cri-o#6488 fixed this for non-linux and non-cgo build platforms, but the issue still exists when one uses a cgo-enabled Linux build host but still wants to build without seccomp. In such case build ends quickly with pkg-config error: `Package 'libseccomp' not found`. This patch makes internal/config/seccomp respect the seccomp buildtag. Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If don't have
libseccomp
package locally, will have a compile error.Maybe need a update to README to add hint of install
libseccomp
package since we have supported.The text was updated successfully, but these errors were encountered: