Skip to contentSkip to conversation

package/qt5: fix build failure due to libressl use

PATCH Superseded Giulio Benetti 4 participants 10 messages Sep 28, 2022 – Feb 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt5: fix build failure due to libressl use

Qt5 only supports openssl, check [0] and [1]. So in qt5base.mk let's check if BR2_PACKAGE_LIBOPENSSL is enabled instead of BR2_PACKAGE_OPENSSL(that could be openssl or libressl) and for qt5enginio and qt5webkit let's select specifically BR2_PACKAGE_LIBOPENSSL instead of only BR2_PACKAGE_OPENSSL. This way we make sure that only openssl is selected and not libressl or other future openssl-like implementations.

Fixes:
http://autobuild.buildroot.net/results/a956b48b782dbaa055d7146360465e2493a809d9/

[0]: https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
[1]: https://bugreports.qt.io/browse/QTBUG-68374

---
 package/qt5/qt5base/qt5base.mk   | 4 ++--
 package/qt5/qt5enginio/Config.in | 1 +
 package/qt5/qt5webkit/Config.in  | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
package/qt5/qt5base/qt5base.mk +2 -2
index a81892422c..efa0e16e9a 100644
@@ -229,8 +229,8 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-eglfs
 endif
 
-QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
-QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_OPENSSL),openssl)
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBOPENSSL),-openssl,-no-openssl)
+QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBOPENSSL),openssl)
 
 QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig)
 QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig)
package/qt5/qt5enginio/Config.in +1 -0
index b738f0db7c..d421972392 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_QT5ENGINIO
 	bool "qt5enginio"
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL # Only openssl is supported by qt5
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_NETWORK
 	help
package/qt5/qt5webkit/Config.in +1 -0
index 26c3897d1d..035e8b19b8 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5WEBKIT
 	select BR2_PACKAGE_LEVELDB
 	select BR2_PACKAGE_LIBPNG
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL # Only openssl is supported by qt5
 	select BR2_PACKAGE_QT5BASE_ICU
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_WIDGETS
Signature · 6 lines
2.34.1

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

Giulio, All,

On 2022-09-28 22:24 +0200, Giulio Benetti spake thusly:

Quoted 40 lines

Qt5 only supports openssl, check [0] and [1]. So in qt5base.mk let's check if BR2_PACKAGE_LIBOPENSSL is enabled instead of BR2_PACKAGE_OPENSSL(that could be openssl or libressl) and for qt5enginio and qt5webkit let's select specifically BR2_PACKAGE_LIBOPENSSL instead of only BR2_PACKAGE_OPENSSL. This way we make sure that only openssl is selected and not libressl or other future openssl-like implementations.

Fixes:
http://autobuild.buildroot.net/results/a956b48b782dbaa055d7146360465e2493a809d9/

[0]: https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
[1]: https://bugreports.qt.io/browse/QTBUG-68374

---
 package/qt5/qt5base/qt5base.mk   | 4 ++--
 package/qt5/qt5enginio/Config.in | 1 +
 package/qt5/qt5webkit/Config.in  | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
package/qt5/qt5base/qt5base.mk +2 -2
index a81892422c..efa0e16e9a 100644
@@ -229,8 +229,8 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-eglfs
 endif
 
-QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
-QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_OPENSSL),openssl)
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBOPENSSL),-openssl,-no-openssl)
+QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBOPENSSL),openssl)
 
 QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig)
 QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig)
package/qt5/qt5enginio/Config.in +0 -0
index b738f0db7c..d421972392 100644

package/qt5/qt5enginio/Config.in line 4

Quoted 4 lines
package/qt5/qt5enginio/Config.in +1 -0
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_QT5ENGINIO
 	bool "qt5enginio"
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL # Only openssl is supported by qt5

BR2_PACKAGE_LIBOPENSSL is part of a choice, so you can't select it.

However, you can achieve the same with:
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL

By the way, we have a single package, gitlab-runner, that selects BR2_PACKAGE_LIBOPENSSL, so this should be fixed.

Regards,
Yann E. MORIN.

Quoted 22 lines
package/qt5/qt5enginio/Config.in +0 -0
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_NETWORK
 	help
package/qt5/qt5webkit/Config.in +1 -0
index 26c3897d1d..035e8b19b8 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5WEBKIT
 	select BR2_PACKAGE_LEVELDB
 	select BR2_PACKAGE_LIBPNG
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL # Only openssl is supported by qt5
 	select BR2_PACKAGE_QT5BASE_ICU
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_WIDGETS
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
#2 lore raw

Hi Yann,

Quoted 52 lines

Il giorno 28 set 2022, alle ore 22:55, Yann E. MORIN <[email protected]> ha scritto:

Giulio, All,

On 2022-09-28 22:24 +0200, Giulio Benetti spake thusly:

Quoted 40 lines

Qt5 only supports openssl, check [0] and [1]. So in qt5base.mk let's check if BR2_PACKAGE_LIBOPENSSL is enabled instead of BR2_PACKAGE_OPENSSL(that could be openssl or libressl) and for qt5enginio and qt5webkit let's select specifically BR2_PACKAGE_LIBOPENSSL instead of only BR2_PACKAGE_OPENSSL. This way we make sure that only openssl is selected and not libressl or other future openssl-like implementations.

Fixes:
http://autobuild.buildroot.net/results/a956b48b782dbaa055d7146360465e2493a809d9/

[0]: https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
[1]: https://bugreports.qt.io/browse/QTBUG-68374

---

package/qt5/qt5base/qt5base.mk   | 4 ++--
package/qt5/qt5enginio/Config.in | 1 +
package/qt5/qt5webkit/Config.in  | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
package/qt5/qt5base/qt5base.mk +0 -0
index a81892422c..efa0e16e9a 100644
@@ -229,8 +229,8 @@ else

QT5BASE_CONFIGURE_OPTS += -no-eglfs
endif

package/qt5/qt5base/qt5base.mk +2 -2
-QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
-QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_OPENSSL),openssl)
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBOPENSSL),-openssl,-no-openssl)
+QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBOPENSSL),openssl)

QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig)
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig)

package/qt5/qt5enginio/Config.in +0 -0
index b738f0db7c..d421972392 100644
@@ -1,6 +1,7 @@
Quoted 4 lines

config BR2_PACKAGE_QT5ENGINIO
bool "qt5enginio"
select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_LIBOPENSSL # Only openssl is supported by qt5

BR2_PACKAGE_LIBOPENSSL is part of a choice, so you can't select it.

Quoted 3 lines

However, you can achieve the same with:
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL

Thanks for pointing, I was not 100% sure of my approach.

Quoted 3 lines

By the way, we have a single package, gitlab-runner, that selects BR2_PACKAGE_LIBOPENSSL, so this should be fixed.

Ok, I’ll create a patch for it too tomorrow then.

Best regards
Giulio

Quoted 22 lines

Regards,
Yann E. MORIN.

Quoted 18 lines

select BR2_PACKAGE_QT5BASE_GUI
select BR2_PACKAGE_QT5BASE_NETWORK
help

package/qt5/qt5webkit/Config.in +1 -0
index 26c3897d1d..035e8b19b8 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5WEBKIT
   select BR2_PACKAGE_LEVELDB
   select BR2_PACKAGE_LIBPNG
   select BR2_PACKAGE_OPENSSL
+    select BR2_PACKAGE_LIBOPENSSL # Only openssl is supported by qt5
   select BR2_PACKAGE_QT5BASE_ICU
   select BR2_PACKAGE_QT5BASE_GUI
   select BR2_PACKAGE_QT5BASE_WIDGETS
Signature · 1 line
2.34.1
Quoted 12 lines
Quoted 4 lines

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

Signature · 6 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

#3 lore raw

PATCH v2 1/1 package/qt5: fix build failure due to libressl use

In reply to Yann E. MORIN

Qt5 only supports openssl, check [0] and [1]. So in qt5base.mk let's check if BR2_PACKAGE_LIBOPENSSL is enabled instead of BR2_PACKAGE_OPENSSL(that could be openssl or libressl) and for qt5enginio and qt5webkit let's select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL instead of only BR2_PACKAGE_OPENSSL. This way we make sure that only openssl is selected and not libressl or other future openssl-like implementations.

Fixes:
http://autobuild.buildroot.net/results/a956b48b782dbaa055d7146360465e2493a809d9/

[0]: https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
[1]: https://bugreports.qt.io/browse/QTBUG-68374

---
V1->V2:
* select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL instead of BR2_PACKAGE_LIBOPENSSL

---
 package/qt5/qt5base/qt5base.mk   | 4 ++--
 package/qt5/qt5enginio/Config.in | 1 +
 package/qt5/qt5webkit/Config.in  | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
package/qt5/qt5base/qt5base.mk +2 -2
index a81892422c..efa0e16e9a 100644
@@ -229,8 +229,8 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-eglfs
 endif
 
-QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
-QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_OPENSSL),openssl)
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBOPENSSL),-openssl,-no-openssl)
+QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBOPENSSL),openssl)
 
 QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig)
 QT5BASE_DEPENDENCIES   += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig)
package/qt5/qt5enginio/Config.in +1 -0
index b738f0db7c..f758548eb5 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_QT5ENGINIO
 	bool "qt5enginio"
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # Only openssl is supported by qt5
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_NETWORK
 	help
package/qt5/qt5webkit/Config.in +1 -0
index 26c3897d1d..e52374550c 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5WEBKIT
 	select BR2_PACKAGE_LEVELDB
 	select BR2_PACKAGE_LIBPNG
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # Only openssl is supported by qt5
 	select BR2_PACKAGE_QT5BASE_ICU
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_WIDGETS
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
Quoted 14 lines · On Thu, 29 Sep 2022 12:46:48 +0200 Giulio Benetti…

Qt5 only supports openssl, check [0] and [1]. So in qt5base.mk let's check if BR2_PACKAGE_LIBOPENSSL is enabled instead of BR2_PACKAGE_OPENSSL(that could be openssl or libressl) and for qt5enginio and qt5webkit let's select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL instead of only BR2_PACKAGE_OPENSSL. This way we make sure that only openssl is selected and not libressl or other future openssl-like implementations.

Fixes:
http://autobuild.buildroot.net/results/a956b48b782dbaa055d7146360465e2493a809d9/

[0]: https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
[1]: https://bugreports.qt.io/browse/QTBUG-68374

Quoted 8 lines

---
V1->V2:
* select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL instead of BR2_PACKAGE_LIBOPENSSL

---
 package/qt5/qt5base/qt5base.mk   | 4 ++--
 package/qt5/qt5enginio/Config.in | 1 +
 package/qt5/qt5webkit/Config.in  | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Quoted 7 lines · On Thu, 29 Sep 2022 12:46:48 +0200 Giulio Benetti…

Qt5 only supports openssl, check [0] and [1]. So in qt5base.mk let's check if BR2_PACKAGE_LIBOPENSSL is enabled instead of BR2_PACKAGE_OPENSSL(that could be openssl or libressl) and for qt5enginio and qt5webkit let's select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL instead of only BR2_PACKAGE_OPENSSL. This way we make sure that only openssl is selected and not libressl or other future openssl-like implementations.

Quoted 8 lines
Quoted 8 lines

Fixes:
http://autobuild.buildroot.net/results/a956b48b782dbaa055d7146360465e2493a809d9/

[0]: https://doc.qt.io/qt-5/ssl.html#enabling-and-disabling-ssl-support
[1]: https://bugreports.qt.io/browse/QTBUG-68374

---

V1-> V2:

Quoted 8 lines
Quoted 6 lines

* select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL instead of BR2_PACKAGE_LIBOPENSSL
---

package/qt5/qt5base/qt5base.mk   | 4 ++--
package/qt5/qt5enginio/Config.in | 1 +
package/qt5/qt5webkit/Config.in  | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Committed to 2022.11.x and 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

PATCH 1/1 package/gitlab-runner: fix forcing openssl

In reply to Yann E. MORIN

BR2_PACKAGE_LIBOPENSSL doesn't force selecting libopenssl, to achieve this we need to use BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL. So let's modify accordingly and improve a bit the comment.

---
 package/gitlab-runner/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gitlab-runner/Config.in +1 -1
index 72c2742562..bfa79ac80e 100644
@@ -13,7 +13,7 @@ config BR2_PACKAGE_GITLAB_RUNNER
 	select BR2_PACKAGE_LIBCURL_CURL # runtime
 	select BR2_PACKAGE_LIBCURL_OPENSSL # runtime, for ca-certificates.
 	select BR2_PACKAGE_OPENSSL # runtime
-	select BR2_PACKAGE_LIBOPENSSL # runtime
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # runtime, force using libopenssl
 	select BR2_PACKAGE_LIBOPENSSL_BIN # runtime
 	select BR2_PACKAGE_TAR # runtime
 	help
Signature · 6 lines
2.34.1

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

Re: [Buildroot] [PATCH] package/gitlab-runner: fix forcing openssl

Forgotten,

Quoted 5 lines · Giulio Benetti

BR2_PACKAGE_LIBOPENSSL doesn't force selecting libopenssl, to achieve this we need to use BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL. So let's modify accordingly and improve a bit the comment.

Signature · 2 lines
Giulio Benetti
CEO/CTO@Benetti Engineering sas
Quoted 9 lines
---
  package/gitlab-runner/Config.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
package/gitlab-runner/Config.in +0 -0
index 72c2742562..bfa79ac80e 100644

package/gitlab-runner/Config.in config BR2_PACKAGE_GITLAB_RUNNER · line 19

Quoted 8 lines
package/gitlab-runner/Config.in +1 -1
@@ -13,7 +13,7 @@ config BR2_PACKAGE_GITLAB_RUNNER
  	select BR2_PACKAGE_LIBCURL_CURL # runtime
  	select BR2_PACKAGE_LIBCURL_OPENSSL # runtime, for ca-certificates.
  	select BR2_PACKAGE_OPENSSL # runtime
-	select BR2_PACKAGE_LIBOPENSSL # runtime
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # runtime, force using libopenssl
  	select BR2_PACKAGE_LIBOPENSSL_BIN # runtime
  	select BR2_PACKAGE_TAR # runtime
  	help

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

#8 lore raw

Re: [Buildroot] [PATCH] package/gitlab-runner: fix forcing openssl

Giulio, All,

On 2022-09-29 13:20 +0200, Giulio Benetti spake thusly:

Quoted 10 lines

Forgotten,

Quoted 5 lines · Giulio Benetti

BR2_PACKAGE_LIBOPENSSL doesn't force selecting libopenssl, to achieve this we need to use BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL. So let's modify accordingly and improve a bit the comment.

Thanks, I added that, but as a Reported-by tag, because that's a bug that I reported.

Regards,
Yann E. MORIN.

Quoted 26 lines
Signature · 2 lines
Giulio Benetti
CEO/CTO@Benetti Engineering sas
Quoted 9 lines
---
 package/gitlab-runner/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gitlab-runner/Config.in +0 -0
index 72c2742562..bfa79ac80e 100644

package/gitlab-runner/Config.in config BR2_PACKAGE_GITLAB_RUNNER · line 19

Quoted 8 lines
package/gitlab-runner/Config.in +1 -1
@@ -13,7 +13,7 @@ config BR2_PACKAGE_GITLAB_RUNNER
 	select BR2_PACKAGE_LIBCURL_CURL # runtime
 	select BR2_PACKAGE_LIBCURL_OPENSSL # runtime, for ca-certificates.
 	select BR2_PACKAGE_OPENSSL # runtime
-	select BR2_PACKAGE_LIBOPENSSL # runtime
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # runtime, force using libopenssl
 	select BR2_PACKAGE_LIBOPENSSL_BIN # runtime
 	select BR2_PACKAGE_TAR # runtime
 	help

_______________________________________________
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
#9 lore raw

Re: [Buildroot] [PATCH] package/gitlab-runner: fix forcing openssl

In reply to Giulio Benetti

Giulio, All,

On 2022-09-29 13:18 +0200, Giulio Benetti spake thusly:

Quoted 3 lines

BR2_PACKAGE_LIBOPENSSL doesn't force selecting libopenssl, to achieve this we need to use BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL. So let's modify accordingly and improve a bit the comment.

I've reworded the commit log, and drop the comment change: the symbol name is explicit enough as to what it does.

Quoted 1 line

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/gitlab-runner/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gitlab-runner/Config.in +1 -1
index 72c2742562..bfa79ac80e 100644
@@ -13,7 +13,7 @@ config BR2_PACKAGE_GITLAB_RUNNER
 	select BR2_PACKAGE_LIBCURL_CURL # runtime
 	select BR2_PACKAGE_LIBCURL_OPENSSL # runtime, for ca-certificates.
 	select BR2_PACKAGE_OPENSSL # runtime
-	select BR2_PACKAGE_LIBOPENSSL # runtime
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # runtime, force using libopenssl
 	select BR2_PACKAGE_LIBOPENSSL_BIN # runtime
 	select BR2_PACKAGE_TAR # runtime
 	help
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