mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Openscap code is calling NPTL functions such as pthread_barrier_wait, which are not provided by pthreads. Make the requirement on NPTL threads explicit by adding the corresponding dependency in openscap Config.in. Fixes: https://autobuild.buildroot.org/results/2d9475b7cd2d413c99d6233ebb213bc932f1e398/ Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
25 lines
912 B
Plaintext
25 lines
912 B
Plaintext
config BR2_PACKAGE_OPENSCAP
|
|
bool "openscap"
|
|
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
select BR2_PACKAGE_LIBCURL
|
|
# In theory should build without crypto, but in practice it
|
|
# doesn't: https://github.com/OpenSCAP/openscap/issues/2310
|
|
select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_LIBNSS
|
|
select BR2_PACKAGE_LIBXML2
|
|
select BR2_PACKAGE_LIBXSLT
|
|
select BR2_PACKAGE_LIBXMLSEC1
|
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_PCRE2
|
|
help
|
|
The purpose of this project is to create security policy
|
|
content for various platforms
|
|
|
|
https://www.open-scap.org/
|
|
https://github.com/OpenSCAP/openscap
|
|
|
|
comment "openscap needs a toolchain w/ dynamic library, NPTL"
|
|
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|