Skip to contentSkip to conversation

package/libssh: select BR2_PACKAGE_LIBOPENSSL_ENGINES

PATCH In review Heiko Thiery 3 participants 8 messages Jul 9, 2024 – Jul 16, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libssh: select BR2_PACKAGE_LIBOPENSSL_ENGINES

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

---
 package/libssh/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/libssh/Config.in +1 -0
index 1f271a692e..eaec754414 100644
@@ -36,6 +36,7 @@ config BR2_PACKAGE_LIBSSH_LIBGCRYPT
 config BR2_PACKAGE_LIBSSH_OPENSSL
 	bool "openssl"
 	depends on BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENGINES
 
 endchoice
 
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · On Tue, 9 Jul 2024 22:24:39 +0200 Heiko Thiery <[email protected]> wrote:

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

Is this
fixing http://autobuild.buildroot.net/results/5bb/5bb845be7f861dc3540a8dc618ccd1a0a759f2d5/build-end.log
and similar build issues ?

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
#2 lore raw

Hi,

Am Mi., 10. Juli 2024 um 16:51 Uhr schrieb Thomas Petazzoni <[email protected]>:

Quoted 4 lines

On Tue, 9 Jul 2024 22:24:39 +0200
Heiko Thiery <[email protected]> wrote:

Quoted 8 lines
Quoted 4 lines

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

Is this
fixing http://autobuild.buildroot.net/results/5bb/5bb845be7f861dc3540a8dc618ccd1a0a759f2d5/build-end.log
and similar build issues ?

Yes this looks like the issue I had.

Signature · 1 line
Heiko
Quoted 8 lines

Thanks!

Thomas
--
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

Tested-by
#3 lore raw
In reply to Thomas Petazzoni via buildroot
Quoted 11 lines · Thomas Petazzoni via buildroot
Quoted 4 lines · On Tue,  9 Jul 2024 22:24:39 +0200 Heiko Thiery <[email protected]> wrote:

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

Is this fixing
http://autobuild.buildroot.net/results/5bb/5bb845be7f861dc3540a8dc618ccd1a0a759f2d5/build-end.log
and similar build issues ?

Indeed it is. Same issue also on 2024.02.x (ping Peter)

It seems to have accidentally worked after the upgrade from OpenSSL 1.x to 3.x, but broke either in 8fed480 or 1899589 (also on 2024.02.x)

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

#4 lore raw
In reply to Heiko Thiery
Quoted 7 lines · On Tue, 9 Jul 2024 22:24:39 +0200 Heiko Thiery <[email protected]> wrote:

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

---
 package/libssh/Config.in | 1 +
 1 file changed, 1 insertion(+)

Applied to master, after adding a reference to the autobuilder build failure. 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

Hi,

just a friendly reminder. Maybe my initial reply got lost in all the noise and summer vacation.

Quoted 5 lines · Thomas Petazzoni
Quoted 2 lines · Heiko Thiery

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

Applied to master, after adding a reference to the autobuilder build failure. Thanks!

We have the same issue also on 2024.02.x, as of 2024.02.4 builds with libssh break unless you update your defconfig. So it would be great if 62103be918e7a155749b1b3b680a9e4ecba6af87 could be cherry picked for the next LTS patch release.

Best regards
/Joachim

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

#6 lore raw

Hi Joachim,

Quoted 11 lines · Joachim Wiberg
Quoted 5 lines · Thomas Petazzoni
Quoted 2 lines · Heiko Thiery

This fixes link time errors, undefined references to various ENGINE_* functions in case libopenssl backend is used.

Applied to master, after adding a reference to the autobuilder build failure. Thanks!

We have the same issue also on 2024.02.x, as of 2024.02.4 builds with libssh break unless you update your defconfig. So it would be great if 62103be918e7a155749b1b3b680a9e4ecba6af87 could be cherry picked for the next LTS patch release.

Commit fed58dac5dea (Revert "package/libopenssl: no-engine") should have fixed that in 2024.02.4. Are you sure libssh build is still broken?

baruch

Signature · 7 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

Hi Baruch,

Quoted 11 lines · Baruch Siach

Hi Joachim,

Quoted 5 lines · Joachim Wiberg
Quoted 2 lines · Thomas Petazzoni

Applied to master, after adding a reference to the autobuilder build failure. Thanks!

We have the same issue also on 2024.02.x, as of 2024.02.4 builds with libssh break unless you update your defconfig.

Commit fed58dac5dea (Revert "package/libopenssl: no-engine") should have fixed that in 2024.02.4. Are you sure libssh build is still broken?

Just retested, and you are 100% correct, the libssh build on 2024.02.x is *not broken*.

So sorry having wasted everyone's time!

All the best
/Joachim

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