Skip to contentSkip to conversation

package/python-pysftp: fix dependencies

PATCH Applied Fabrice Fontaine 2 participants 2 messages Jan 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-pysftp: fix dependencies

Fix the following build failure raised since bump of python-cryptography to version 36.0.1 in commit 01764876e3d4e7ab95c8365f1c83e6c12d49757c:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] && BR2_PACKAGE_PYTHON3 [=y] Selected by [y]:
- BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] && BR2_PACKAGE_PYTHON3 [=y] Selected by [y]:
- BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=y]

Fixes:
- No autobuilder failures (yet)

---
 package/python-pysftp/Config.in | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
package/python-pysftp/Config.in +1 -5
index 5d5b731f33..c65369b667 100644
@@ -1,13 +1,9 @@
 config BR2_PACKAGE_PYTHON_PYSFTP
 	bool "python-pysftp"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-paramiko -> python-cryptography
 	depends on BR2_PACKAGE_PYTHON3 # python-paramiko -> python-bcrypt
-	depends on BR2_INSTALL_LIBSTDCPP # python-paramiko
 	select BR2_PACKAGE_PYTHON_PARAMIKO # runtime
 	help
 	  A friendly face on SFTP.
 
 	  https://bitbucket.org/dundeemt/pysftp
-
-comment "python-pysftp needs a toolchain w/ C++"
-	depends on BR2_PACKAGE_PYTHON3
-	depends on !BR2_INSTALL_LIBSTDCPP
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Fabrice, All,

On 2022-01-15 11:47 +0100, Fabrice Fontaine spake thusly:

Quoted 13 lines

Fix the following build failure raised since bump of python-cryptography to version 36.0.1 in commit 01764876e3d4e7ab95c8365f1c83e6c12d49757c:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] && BR2_PACKAGE_PYTHON3 [=y] Selected by [y]:
- BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] && BR2_PACKAGE_PYTHON3 [=y] Selected by [y]:
- BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=y]

Quoted 4 lines

Fixes:
- No autobuilder failures (yet)

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 30 lines
---
 package/python-pysftp/Config.in | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
package/python-pysftp/Config.in +1 -5
index 5d5b731f33..c65369b667 100644
@@ -1,13 +1,9 @@
 config BR2_PACKAGE_PYTHON_PYSFTP
 	bool "python-pysftp"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-paramiko -> python-cryptography
 	depends on BR2_PACKAGE_PYTHON3 # python-paramiko -> python-bcrypt
-	depends on BR2_INSTALL_LIBSTDCPP # python-paramiko
 	select BR2_PACKAGE_PYTHON_PARAMIKO # runtime
 	help
 	  A friendly face on SFTP.
 
 	  https://bitbucket.org/dundeemt/pysftp
-
-comment "python-pysftp needs a toolchain w/ C++"
-	depends on BR2_PACKAGE_PYTHON3
-	depends on !BR2_INSTALL_LIBSTDCPP
Signature · 6 lines
2.34.1

_______________________________________________
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