[Buildroot] [PATCH v2 0/2] package/openscap: fix and test build failure related to crypto

Alexis Lothoré alexis.lothore at bootlin.com
Mon Sep 7 13:47:35 UTC 2026


Hello,
this is v2 of a small series aiming to fix an openscap build failure
occuring when no crypto backend is selected (this can currently happen
on master if openscap AND static libs are selected). The initial
revision is a few months old; the upstream openscap project has fixed
the root issue since then (being able to build openscap without any
crypto backend), so the new patch is quite different from the original.
The series now also exposes some small tests to exercize the different
ways of building openscap.

Signed-off-by: Alexis Lothoré <alexis.lothore at bootlin.com>
---
Changes in v2:
- go further and allow openscap to build without any crypto backend
- add tests for openscap with different crypto backends
- Link to v1: https://patch.msgid.link/20260616-fix_openscap-v1-1-e02d43887309@bootlin.com

To: buildroot at buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Cc: Alexis Lothoré <alexis.lothore at bootlin.com>

---
Alexis Lothoré (2):
      package: openscap: fix build failure when crypto backend is not gcrypt
      support/testing: add tests for openscap

 .../0001-Fix-build-without-crypto-support.patch    | 57 ++++++++++++++++++++
 ...gcrypt-cmake-variables-if-gcrypt-is-not-f.patch | 50 +++++++++++++++++
 package/openscap/Config.in                         |  5 --
 package/openscap/openscap.mk                       |  9 ++--
 support/testing/tests/package/test_openscap.py     | 63 ++++++++++++++++++++++
 .../rootfs-overlay/root/benchmark.xml              |  5 ++
 6 files changed, 178 insertions(+), 11 deletions(-)
---
base-commit: 87e95b9877ffd29ce9a02399b8a008266a1f5971
change-id: 20260616-fix_openscap-410e397f7257

Best regards,
--  
Alexis Lothoré <alexis.lothore at bootlin.com>



More information about the buildroot mailing list