package/openscap: add dependency on NPTL threads
PATCH v2 1/1 package/openscap: add dependency on NPTL threads
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.
Signed-off-by Alexis Lothoré <[email protected]>
---
Changes in v2:
- drop bogus patch 1/2, as original Config.in was fine
- reformat missing dependency comment
- Link to v1: https://lore.kernel.org/r/[email protected]
--- package/openscap/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/openscap/Config.in +3 -2
@@ -2,6 +2,7 @@ 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
@@ -19,6 +20,6 @@ config BR2_PACKAGE_OPENSCAP https://www.open-scap.org/ https://github.com/OpenSCAP/openscap -comment "openscap needs a toolchain w/ dynamic library" +comment "openscap needs a toolchain w/ dynamic library, NPTL" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
---
base-commit: 346d6667febdbec9a3c57e47009ab21e121b5b1d
change-id: 20260304-openscap_nptl_threads-43fa4be43566
Best regards,
Signature · 6 lines
Alexis Lothoré <[email protected]> _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot