package/python-tpm2-pytss: add missing 'depends on'
PATCH 1/1 package/python-tpm2-pytss: add missing 'depends on'
In commitc72c6f26ed706474f6607f97be2925834c8baa03 ("package/python-tpm2-pytss:
new package"), when the package was introduced, a dependency of a package being selected was not properly propagated:BR2_PACKAGE_PYTHON_CRYPTOGRAPHY depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS, so we should replicate this dependency.
Fixes:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] Selected by [y]:
- BR2_PACKAGE_PYTHON_TPM2_PYTSS [=y] && BR2_PACKAGE_PYTHON3 [=y] && !BR2_STATIC_LIBS [=n]
--- package/python-tpm2-pytss/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/python-tpm2-pytss/Config.in +2 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_TPM2_PYTSS bool "python-tpm2-pytss" depends on !BR2_STATIC_LIBS # tpm2-tss + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
@@ -11,4 +12,5 @@ config BR2_PACKAGE_PYTHON_TPM2_PYTSS https://github.com/tpm2-software/tpm2-pytss comment "python-tpm2-pytss needs a toolchain w/ dynamic library" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_STATIC_LIBS
Signature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedThomas, All,
On 2024-08-15 22:23 +0200, Thomas Petazzoni via buildroot spake thusly:
Quoted 8 lines
In commit
c72c6f26ed706474f6607f97be2925834c8baa03("package/python-tpm2-pytss:
new package"), when the package was introduced, a dependency of a package being selected was not properly propagated:BR2_PACKAGE_PYTHON_CRYPTOGRAPHYdepends onBR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS, so we should replicate this dependency.
Quoted 8 lines
Fixes:
WARNING: unmet direct dependencies detected for
BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
Depends on [n]:BR2_PACKAGE_PYTHON3[=y] &&BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS[=n] Selected by [y]:
-BR2_PACKAGE_PYTHON_TPM2_PYTSS[=y] &&BR2_PACKAGE_PYTHON3[=y] && !BR2_STATIC_LIBS [=n]Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 29 lines
--- package/python-tpm2-pytss/Config.in | 2 ++ 1 file changed, 2 insertions(+)package/python-tpm2-pytss/Config.in +2
-0@@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_TPM2_PYTSS bool "python-tpm2-pytss" depends on !BR2_STATIC_LIBS # tpm2-tss + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime@@ -11,4 +12,5 @@ config BR2_PACKAGE_PYTHON_TPM2_PYTSS https://github.com/tpm2-software/tpm2-pytss comment "python-tpm2-pytss needs a toolchain w/ dynamic library" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_STATIC_LIBSSignature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot