diff mbox series

[1/1] package/mender: force libopenssl

Message ID 20230223125242.411118-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/mender: force libopenssl | expand

Commit Message

Fabrice Fontaine Feb. 23, 2023, 12:52 p.m. UTC
mender raises the following build failure with libressl since at least
version 3.1.0 (and probably since the addition of the package):

vendor/github.com/mendersoftware/openssl/conn.go:103:61: could not determine kind of name for C.X509_V_ERR_DANE_NO_MATCH

Fixes:
 - http://autobuild.buildroot.org/results/2b032d2a4e7cfbb20444c13821003120a4d00abd
 - http://autobuild.buildroot.org/results/621c057c0b8b627c8140456a2b0af4f95d239dcc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/mender/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Peter Korsgaard March 8, 2023, 9:27 p.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > mender raises the following build failure with libressl since at least
 > version 3.1.0 (and probably since the addition of the package):

 > vendor/github.com/mendersoftware/openssl/conn.go:103:61: could not
 > determine kind of name for C.X509_V_ERR_DANE_NO_MATCH

 > Fixes:
 >  - http://autobuild.buildroot.org/results/2b032d2a4e7cfbb20444c13821003120a4d00abd
 >  - http://autobuild.buildroot.org/results/621c057c0b8b627c8140456a2b0af4f95d239dcc

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.
Peter Korsgaard March 15, 2023, 3:04 p.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > mender raises the following build failure with libressl since at least
 > version 3.1.0 (and probably since the addition of the package):

 > vendor/github.com/mendersoftware/openssl/conn.go:103:61: could not
 > determine kind of name for C.X509_V_ERR_DANE_NO_MATCH

 > Fixes:
 >  - http://autobuild.buildroot.org/results/2b032d2a4e7cfbb20444c13821003120a4d00abd
 >  - http://autobuild.buildroot.org/results/621c057c0b8b627c8140456a2b0af4f95d239dcc

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x and 2022.02.x, thanks.
diff mbox series

Patch

diff --git a/package/mender/Config.in b/package/mender/Config.in
index cccb46361b..7d768cebec 100644
--- a/package/mender/Config.in
+++ b/package/mender/Config.in
@@ -4,8 +4,9 @@  config BR2_PACKAGE_MENDER
 	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_OPENSSL
-	select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
-	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160
 	help
 	  Mender is an open source over-the-air (OTA) software updater
 	  for embedded Linux devices. Mender comprises a client