Skip to contentSkip to conversation

package/libssh: needs libopenssl for openssl crypto Backend

PATCH In review Bernd Kuhls 2 participants 2 messages Aug 9 – Oct 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libssh: needs libopenssl for openssl crypto Backend

Buildroot commit 62103be918e7a155749b1b3b680a9e4ecba6af87 added

select BR2_PACKAGE_LIBOPENSSL_ENGINES

without enforcing its dependency on BR2_PACKAGE_LIBOPENSSL causing a warning seen with
https://autobuild.buildroot.net/results/117/117b3b38098df075d96167863d9f6b933a97eb64/defconfig

WARNING: unmet direct dependencies detected for BR2_PACKAGE_LIBOPENSSL_ENGINES
Depends on [n]: <choice> && BR2_PACKAGE_LIBOPENSSL [=n] Selected by [y]:
- BR2_PACKAGE_LIBSSH_OPENSSL [=y] && <choice> && BR2_PACKAGE_OPENSSL [=y]

---
 package/libssh/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libssh/Config.in +1 -1
index eaec754414..9aa2bfaf86 100644
@@ -35,7 +35,7 @@ config BR2_PACKAGE_LIBSSH_LIBGCRYPT
 
 config BR2_PACKAGE_LIBSSH_OPENSSL
 	bool "openssl"
-	depends on BR2_PACKAGE_OPENSSL
+	depends on BR2_PACKAGE_LIBOPENSSL
 	select BR2_PACKAGE_LIBOPENSSL_ENGINES
 
 endchoice
Signature · 6 lines
2.47.3

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

package/libssh/Config.in config BR2_PACKAGE_LIBSSH_LIBGCRYPT · line 39

Quoted 11 lines · Bernd Kuhls
package/libssh/Config.in +1 -1
index eaec754414..9aa2bfaf86 100644
@@ -35,7 +35,7 @@ config BR2_PACKAGE_LIBSSH_LIBGCRYPT
 
 config BR2_PACKAGE_LIBSSH_OPENSSL
 	bool "openssl"
-	depends on BR2_PACKAGE_OPENSSL
+	depends on BR2_PACKAGE_LIBOPENSSL
 	select BR2_PACKAGE_LIBOPENSSL_ENGINES

Thanks a lot, but this was not the proper fix. The proper fix was instead:

https://gitlab.com/buildroot.org/buildroot/-/commit/f7fe354adadac3d2425fbe59da0744f1e4103726

so that libressl can still be used.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot