Skip to contentSkip to conversation

package/fluent-bit: enable engines support in libopenssl

PATCH In review Peter Korsgaard 2 participants 3 messages Jul 8, 2024 – Jul 9, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/fluent-bit: enable engines support in libopenssl

Fixes:
http://autobuild.buildroot.net/results/c08/c08c00f52b8f42fd408a1e84e41606d75558c3ce/

The embedded librdkafka copy unconditionally enables calls the (deprecated) ENGINE_* logic in openssl:

https://github.com/confluentinc/librdkafka/blob/v2.4.0/src/rdkafka_conf.h#L37

Which are now no longer available in !BR2_PACKAGE_LIBOPENSSL_ENGINES builds since commit 623d3bbe43 (package/libopenssl: no-engine), so enable it to fix the build issue.

---
 package/fluent-bit/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/fluent-bit/Config.in +1 -0
index 53284ee17d..697cb1bf15 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUENT_BIT
 	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENGINES # needed by bundled librdkafka
 	select BR2_PACKAGE_LIBYAML
 	help
 	  Fast and Lightweight Logs and Metrics processor.
Signature · 6 lines
2.39.2

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

Hi,

I can confirm that this will fix the issue. I also applied the same patch a few weeks ago, but was not yet able to upstream it since I'm on holiday.

Kr,

Thomas

Op ma 8 jul. 2024 13:52 schreef Peter Korsgaard <[email protected]>:

Quoted 29 lines

Fixes:

http://autobuild.buildroot.net/results/c08/c08c00f52b8f42fd408a1e84e41606d75558c3ce/

The embedded librdkafka copy unconditionally enables calls the (deprecated) ENGINE_* logic in openssl:

https://github.com/confluentinc/librdkafka/blob/v2.4.0/src/rdkafka_conf.h#L37

Which are now no longer available in !BR2_PACKAGE_LIBOPENSSL_ENGINES builds since commit 623d3bbe43 (package/libopenssl: no-engine), so enable it to fix
the build issue.

---
 package/fluent-bit/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/fluent-bit/Config.in +1 -0
index 53284ee17d..697cb1bf15 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_FLUENT_BIT
        select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
+       select BR2_PACKAGE_LIBOPENSSL_ENGINES # needed by bundled
Quoted 9 lines

librdkafka
select BR2_PACKAGE_LIBYAML
help
Fast and Lightweight Logs and Metrics processor.
--
2.39.2

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

#2 lore raw
In reply to Peter Korsgaard
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes:
http://autobuild.buildroot.net/results/c08/c08c00f52b8f42fd408a1e84e41606d75558c3ce/

The embedded librdkafka copy unconditionally enables calls the (deprecated) ENGINE_* logic in openssl:

Quoted 7 lines

https://github.com/confluentinc/librdkafka/blob/v2.4.0/src/rdkafka_conf.h#L37

Which are now no longer available in !BR2_PACKAGE_LIBOPENSSL_ENGINES builds since commit 623d3bbe43 (package/libopenssl: no-engine), so enable it to fix the build issue.

Committed, thanks.

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