package/openscap: propagate dependencies of libxmlsec1 after bump
PATCH 1/1 package/openscap: propagate dependencies of libxmlsec1 after bump
In commitfef9cad1fe84b4366e705adb03470e12199ffd25 ("package/libxmlsec1: bump version to 1.3.12"), libxmlsec1 was bumped, and alongside some additional "depends on" were added.
However, these new "depends on" were not propagate to reverse dependencies of libxmlsec1, i.e. openscap, causing Kconfig warnings:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_LIBXMLSEC1
Depends on [n]: BR2_TOOLCHAIN_GCC_AT_LEAST_7 [=n] && BR2_TOOLCHAIN_HAS_ATOMIC [=n]
Selected by [y]:
- BR2_PACKAGE_OPENSCAP [=y] && BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_HAS_THREADS_NPTL [=y]
and potentially some build issues, even though we didn't check in the autobuilders for potential failures.
This commit fixes that by properly propagating the new dependencies.
--- package/openscap/Config.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
package/openscap/Config.in +6 -2
@@ -3,6 +3,8 @@ config BR2_PACKAGE_OPENSCAP depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libxmlsec1 + depends on BR2_TOOLCHAIN_HAS_ATOMIC # libxmlsec1 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 +21,8 @@ config BR2_PACKAGE_OPENSCAP https://www.open-scap.org/ https://github.com/OpenSCAP/openscap -comment "openscap needs a toolchain w/ dynamic library, NPTL" +comment "openscap needs a toolchain w/ dynamic library, NPTL, gcc >= 7" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Thomas,
thanks for the fix.
Quoted 6 lines · Thomas Petazzoni
In commit
fef9cad1fe84b4366e705adb03470e12199ffd25("package/libxmlsec1: bump version to 1.3.12"), libxmlsec1 was bumped, and alongside some additional "depends on" were added.However, these new "depends on" were not propagate to reverse
s/propagate/propagated
Quoted 7 lines
dependencies of libxmlsec1, i.e. openscap, causing
Kconfigwarnings:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_LIBXMLSEC1
Depends on [n]:BR2_TOOLCHAIN_GCC_AT_LEAST_7[=n] &&BR2_TOOLCHAIN_HAS_ATOMIC[=n]
Selected by [y]:
-BR2_PACKAGE_OPENSCAP[=y] &&BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS[=y] && !BR2_STATIC_LIBS [=n] &&BR2_TOOLCHAIN_HAS_THREADS_NPTL[=y]
Quoted 8 lines
and potentially some build issues, even though we didn't check in the autobuilders for potential failures.
This commit fixes that by properly propagating the new dependencies.
Cc Alexis Lothoré <[email protected]>Cc Julien Olivain <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>
Thanks,
Alexis
Signature · 8 lines
Alexis Lothoré, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 15 lines · Thomas Petazzoni via buildroot
In commit
fef9cad1fe84b4366e705adb03470e12199ffd25("package/libxmlsec1: bump version to 1.3.12"), libxmlsec1 was bumped, and alongside some additional "depends on" were added.However, these new "depends on" were not propagate to reverse dependencies of libxmlsec1, i.e. openscap, causing
Kconfigwarnings:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_LIBXMLSEC1
Depends on [n]:BR2_TOOLCHAIN_GCC_AT_LEAST_7[=n] &&BR2_TOOLCHAIN_HAS_ATOMIC[=n]
Selected by [y]:
-BR2_PACKAGE_OPENSCAP[=y] &&BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
[=y] && !BR2_STATIC_LIBS [=n] &&BR2_TOOLCHAIN_HAS_THREADS_NPTL[=y]
Quoted 8 lines
and potentially some build issues, even though we didn't check in the autobuilders for potential failures.
This commit fixes that by properly propagating the new dependencies.
Cc Alexis Lothoré <[email protected]>Cc Julien Olivain <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot