All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x
@ 2026-09-08 19:13 Bernd Kuhls
  2026-09-08 19:13 ` [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines Bernd Kuhls
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Bernd Kuhls @ 2026-09-08 19:13 UTC (permalink / raw)
  To: buildroot; +Cc: Aleksandr Makarov

Renumbered remaining patches.

Fixes:
https://autobuild.buildroot.net/results/149/149aad6f98163faab14232a9d3013c197579cbb4/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commit/bdbdbd0557ae43c5cc6f186ee93a01eb7610c1b5

 ...client.c-include-est-est_ossl_util.h.patch | 27 +++++++++++++++++++
 ...ve-duplicate-invocation-of-AM_INIT_.patch} |  0
 ...h-add-missing-extern-on-e_ctx_ssl_e.patch} |  0
 3 files changed, 27 insertions(+)
 create mode 100644 package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch
 rename package/libest/{0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch => 0004-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch} (100%)
 rename package/libest/{0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch => 0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch} (100%)

diff --git a/package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch b/package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch
new file mode 100644
index 0000000000..d027d8012f
--- /dev/null
+++ b/package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch
@@ -0,0 +1,27 @@
+From b49542dea03c4b895a860c393453ab8497dabfce Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd@kuhls.net>
+Date: Tue, 8 Sep 2026 12:52:02 +0200
+Subject: [PATCH] java/jni/client.c: include est/est_ossl_util.h
+
+Upstream: https://github.com/cisco/libest/pull/132#issuecomment-4749526125
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ java/jni/client.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/java/jni/client.c b/java/jni/client.c
+index c5bc28e..2c4663e 100644
+--- a/java/jni/client.c
++++ b/java/jni/client.c
+@@ -12,6 +12,7 @@
+ #include <stdint.h>
+ #include "jest.h"
+ #include <est/est.h>
++#include "est/est_ossl_util.h"
+ #include <openssl/x509v3.h>
+ #include <openssl/bio.h>
+ #include "safe_mem_lib.h"
+-- 
+2.47.3
+
diff --git a/package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch b/package/libest/0004-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch
similarity index 100%
rename from package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch
rename to package/libest/0004-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch
diff --git a/package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch b/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
similarity index 100%
rename from package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
rename to package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines
  2026-09-08 19:13 [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Bernd Kuhls
@ 2026-09-08 19:13 ` Bernd Kuhls
  2026-09-16 19:49   ` Thomas Petazzoni via buildroot
  2026-09-08 19:13 ` [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6 Bernd Kuhls
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Bernd Kuhls @ 2026-09-08 19:13 UTC (permalink / raw)
  To: buildroot; +Cc: Aleksandr Makarov

Fixes build error:

In file included from client.c:14:
client.c: In function 'JNI_OnLoad':
./../../src/est/est.h:834:10: error: implicit declaration of function 'ERR_load_crypto_strings'; did you mean 'ERR_load_CRYPTO_strings'? [-Wimplicit-function-declaration]
  834 |     do { ERR_load_crypto_strings();      \
      |          ^~~~~~~~~~~~~~~~~~~~~~~
client.c:88:9: note: in expansion of macro 'est_apps_startup'
   88 |         est_apps_startup();
      |         ^~~~~~~~~~~~~~~~
./../../src/est/est.h:836:10: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
  836 |          ENGINE_load_builtin_engines();  \
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:88:9: note: in expansion of macro 'est_apps_startup'
   88 |         est_apps_startup();
      |         ^~~~~~~~~~~~~~~~
client.c: In function 'JNI_OnUnload':
./../../src/est/est.h:860:40: error: implicit declaration of function 'ENGINE_cleanup'; did you mean 'EVP_PBE_cleanup'? [-Wimplicit-function-declaration]
  860 |          OBJ_cleanup(); EVP_cleanup(); ENGINE_cleanup(); \
      |                                        ^~~~~~~~~~~~~~
client.c:101:9: note: in expansion of macro 'est_apps_shutdown'
  101 |         est_apps_shutdown();
      |         ^~~~~~~~~~~~~~~~~
./../../src/est/est.h:862:10: error: implicit declaration of function 'ERR_free_strings'; did you mean 'ERR_load_EC_strings'? [-Wimplicit-function-declaration]
  862 |          ERR_free_strings(); } while (0)
      |          ^~~~~~~~~~~~~~~~
client.c:101:9: note: in expansion of macro 'est_apps_shutdown'
  101 |         est_apps_shutdown();
      |         ^~~~~~~~~~~~~~~~~
client.c: In function 'est_client_raise_exception':
client.c:122:17: error: implicit declaration of function 'ERR_print_errors_fp' [-Wimplicit-function-declaration]
  122 |                 ERR_print_errors_fp(stderr);
      |                 ^~~~~~~~~~~~~~~~~~~

seen with this defconfig

BR2_PACKAGE_OPENJDK=y
BR2_PACKAGE_LIBEST=y

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commit/bdbdbd0557ae43c5cc6f186ee93a01eb7610c1b5

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

diff --git a/package/libest/Config.in b/package/libest/Config.in
index bd5f40afae..3a0328c2f8 100644
--- a/package/libest/Config.in
+++ b/package/libest/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBEST
 	bool "libest"
 	depends on !BR2_STATIC_LIBS # libexecinfo or glibc
 	select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC
+	select BR2_PACKAGE_LIBOPENSSL_ENGINES
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
 	select BR2_PACKAGE_SAFECLIB
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6
  2026-09-08 19:13 [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Bernd Kuhls
  2026-09-08 19:13 ` [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines Bernd Kuhls
@ 2026-09-08 19:13 ` Bernd Kuhls
  2026-09-16 19:50   ` Thomas Petazzoni via buildroot
  2026-09-25 14:44   ` Raphaël Mélotte via buildroot
  2026-09-16 19:49 ` [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Thomas Petazzoni via buildroot
  2026-09-25 14:44 ` Raphaël Mélotte via buildroot
  3 siblings, 2 replies; 8+ messages in thread
From: Bernd Kuhls @ 2026-09-08 19:13 UTC (permalink / raw)
  To: buildroot; +Cc: Aleksandr Makarov

The only commit in this bump
https://github.com/cisco/libest/commits/main/
is patch 0005 which was removed.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commit/bdbdbd0557ae43c5cc6f186ee93a01eb7610c1b5

 ....h-add-missing-extern-on-e_ctx_ssl_e.patch | 42 -------------------
 package/libest/libest.hash                    |  2 +-
 package/libest/libest.mk                      |  2 +-
 3 files changed, 2 insertions(+), 44 deletions(-)
 delete mode 100644 package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch

diff --git a/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch b/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
deleted file mode 100644
index ba0ecb4a86..0000000000
--- a/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 32fe99fa403d2f51931615745a64f8aede1ca46f Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Date: Sat, 8 Jan 2022 13:38:17 +0100
-Subject: [PATCH] src/est/est_locl.h: add missing extern on
- e_ctx_ssl_exdata_index
-
-Without this extern, the variable gets re-declared in each compilation
-unit including est_locl.h, causing gcc >= 10 to complain with:
-
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client.o:(.data+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server.o:(.bss+0xc): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server_http.o:(.bss+0x3b8): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_proxy.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client_http.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_ossl_util.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client_proxy.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_enhcd_cert_auth.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server_coap.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
-collect2: error: ld returned 1 exit status
-
-Upstream: https://github.com/cisco/libest/pull/107
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
----
- src/est/est_locl.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/est/est_locl.h b/src/est/est_locl.h
-index 62dcbea..b16f62d 100644
---- a/src/est/est_locl.h
-+++ b/src/est/est_locl.h
-@@ -590,7 +590,7 @@ typedef struct est_oid_list {
- /*
-  * Index used to link the EST Ctx into the SSL structures
-  */
--int e_ctx_ssl_exdata_index;
-+extern int e_ctx_ssl_exdata_index;
- 
- LIBEST_TEST_API void est_log (EST_LOG_LEVEL lvl, char *format, ...);
- LIBEST_TEST_API void est_log_backtrace (void);
--- 
-2.33.1
-
diff --git a/package/libest/libest.hash b/package/libest/libest.hash
index dc9bc05255..2c2804a76f 100644
--- a/package/libest/libest.hash
+++ b/package/libest/libest.hash
@@ -1,3 +1,3 @@
 # Computed locally
-sha256  83983ac05137fd73586ddcb4874e30689fe694ee9a329797b60b3defc9a87327  libest-f8a6e5b53a5f70e72fe4029981df0693b17cbb32.tar.gz
+sha256  2e5c46610f6a3c12c1916c8a84de77421a88c9722e776e862a716f4a48220f2a  libest-r3.2.0-9-ga464ba8a66717419ba71d289ef82c7b2315b2006.tar.gz
 sha256  fbdb055f98babf8d86095d6f9b9e34d2ff21a8212e442b8f18bdcb403e44366c  LICENSE
diff --git a/package/libest/libest.mk b/package/libest/libest.mk
index 9f3168767d..5f93b2ab32 100644
--- a/package/libest/libest.mk
+++ b/package/libest/libest.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBEST_VERSION = f8a6e5b53a5f70e72fe4029981df0693b17cbb32
+LIBEST_VERSION = r3.2.0-9-ga464ba8a66717419ba71d289ef82c7b2315b2006
 LIBEST_SITE = $(call github,cisco,libest,$(LIBEST_VERSION))
 # We don't build examples, so we're not affected by the OpenSSL
 # license
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x
  2026-09-08 19:13 [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Bernd Kuhls
  2026-09-08 19:13 ` [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines Bernd Kuhls
  2026-09-08 19:13 ` [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6 Bernd Kuhls
@ 2026-09-16 19:49 ` Thomas Petazzoni via buildroot
  2026-09-25 14:44 ` Raphaël Mélotte via buildroot
  3 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-16 19:49 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Aleksandr Makarov

On Tue, Sep 08, 2026 at 09:13:46PM +0200, Bernd Kuhls wrote:
> Renumbered remaining patches.
> 
> Fixes:
> https://autobuild.buildroot.net/results/149/149aad6f98163faab14232a9d3013c197579cbb4/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines
  2026-09-08 19:13 ` [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines Bernd Kuhls
@ 2026-09-16 19:49   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-16 19:49 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Aleksandr Makarov

On Tue, Sep 08, 2026 at 09:13:47PM +0200, Bernd Kuhls wrote:
> Fixes build error:
> 
> In file included from client.c:14:
> client.c: In function 'JNI_OnLoad':
> ./../../src/est/est.h:834:10: error: implicit declaration of function 'ERR_load_crypto_strings'; did you mean 'ERR_load_CRYPTO_strings'? [-Wimplicit-function-declaration]
>   834 |     do { ERR_load_crypto_strings();      \
>       |          ^~~~~~~~~~~~~~~~~~~~~~~
> client.c:88:9: note: in expansion of macro 'est_apps_startup'
>    88 |         est_apps_startup();
>       |         ^~~~~~~~~~~~~~~~
> ./../../src/est/est.h:836:10: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
>   836 |          ENGINE_load_builtin_engines();  \
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> client.c:88:9: note: in expansion of macro 'est_apps_startup'
>    88 |         est_apps_startup();
>       |         ^~~~~~~~~~~~~~~~
> client.c: In function 'JNI_OnUnload':
> ./../../src/est/est.h:860:40: error: implicit declaration of function 'ENGINE_cleanup'; did you mean 'EVP_PBE_cleanup'? [-Wimplicit-function-declaration]
>   860 |          OBJ_cleanup(); EVP_cleanup(); ENGINE_cleanup(); \
>       |                                        ^~~~~~~~~~~~~~
> client.c:101:9: note: in expansion of macro 'est_apps_shutdown'
>   101 |         est_apps_shutdown();
>       |         ^~~~~~~~~~~~~~~~~
> ./../../src/est/est.h:862:10: error: implicit declaration of function 'ERR_free_strings'; did you mean 'ERR_load_EC_strings'? [-Wimplicit-function-declaration]
>   862 |          ERR_free_strings(); } while (0)
>       |          ^~~~~~~~~~~~~~~~
> client.c:101:9: note: in expansion of macro 'est_apps_shutdown'
>   101 |         est_apps_shutdown();
>       |         ^~~~~~~~~~~~~~~~~
> client.c: In function 'est_client_raise_exception':
> client.c:122:17: error: implicit declaration of function 'ERR_print_errors_fp' [-Wimplicit-function-declaration]
>   122 |                 ERR_print_errors_fp(stderr);
>       |                 ^~~~~~~~~~~~~~~~~~~
> 
> seen with this defconfig
> 
> BR2_PACKAGE_OPENJDK=y
> BR2_PACKAGE_LIBEST=y
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

I did not apply this patch because the commit message doesn't explain
since when the problem exists. Could you make sure to indicate which
Buildroot commit introduced the issue?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6
  2026-09-08 19:13 ` [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6 Bernd Kuhls
@ 2026-09-16 19:50   ` Thomas Petazzoni via buildroot
  2026-09-25 14:44   ` Raphaël Mélotte via buildroot
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-16 19:50 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Aleksandr Makarov

On Tue, Sep 08, 2026 at 09:13:48PM +0200, Bernd Kuhls wrote:
> The only commit in this bump
> https://github.com/cisco/libest/commits/main/
> is patch 0005 which was removed.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x
  2026-09-08 19:13 [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Bernd Kuhls
                   ` (2 preceding siblings ...)
  2026-09-16 19:49 ` [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Thomas Petazzoni via buildroot
@ 2026-09-25 14:44 ` Raphaël Mélotte via buildroot
  3 siblings, 0 replies; 8+ messages in thread
From: Raphaël Mélotte via buildroot @ 2026-09-25 14:44 UTC (permalink / raw)
  To: buildroot, Bernd Kuhls; +Cc: Raphaël Mélotte

In reply of:
> Renumbered remaining patches.
> 
> Fixes:
> https://autobuild.buildroot.net/results/149/149aad6f98163faab14232a9d3013c197579cbb4/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x, 2026.08.x. Thanks

> ---
> Series passed Gitlab pipelines:
> https://gitlab.com/bkuhls/buildroot/-/commit/bdbdbd0557ae43c5cc6f186ee93a01eb7610c1b5
> 
>  ...client.c-include-est-est_ossl_util.h.patch | 27 +++++++++++++++++++
>  ...ve-duplicate-invocation-of-AM_INIT_.patch} |  0
>  ...h-add-missing-extern-on-e_ctx_ssl_e.patch} |  0
>  3 files changed, 27 insertions(+)
>  create mode 100644 package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch
>  rename package/libest/{0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch => 0004-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch} (100%)
>  rename package/libest/{0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch => 0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch} (100%)
> 
> diff --git a/package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch b/package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch
> new file mode 100644
> index 0000000000..d027d8012f
> --- /dev/null
> +++ b/package/libest/0003-java-jni-client.c-include-est-est_ossl_util.h.patch
> @@ -0,0 +1,27 @@
> +From b49542dea03c4b895a860c393453ab8497dabfce Mon Sep 17 00:00:00 2001
> +From: Bernd Kuhls <bernd@kuhls.net>
> +Date: Tue, 8 Sep 2026 12:52:02 +0200
> +Subject: [PATCH] java/jni/client.c: include est/est_ossl_util.h
> +
> +Upstream: https://github.com/cisco/libest/pull/132#issuecomment-4749526125
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +---
> + java/jni/client.c | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/java/jni/client.c b/java/jni/client.c
> +index c5bc28e..2c4663e 100644
> +--- a/java/jni/client.c
> ++++ b/java/jni/client.c
> +@@ -12,6 +12,7 @@
> + #include <stdint.h>
> + #include "jest.h"
> + #include <est/est.h>
> ++#include "est/est_ossl_util.h"
> + #include <openssl/x509v3.h>
> + #include <openssl/bio.h>
> + #include "safe_mem_lib.h"
> +-- 
> +2.47.3
> +
> diff --git a/package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch b/package/libest/0004-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch
> similarity index 100%
> rename from package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch
> rename to package/libest/0004-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch
> diff --git a/package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch b/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
> similarity index 100%
> rename from package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
> rename to package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6
  2026-09-08 19:13 ` [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6 Bernd Kuhls
  2026-09-16 19:50   ` Thomas Petazzoni via buildroot
@ 2026-09-25 14:44   ` Raphaël Mélotte via buildroot
  1 sibling, 0 replies; 8+ messages in thread
From: Raphaël Mélotte via buildroot @ 2026-09-25 14:44 UTC (permalink / raw)
  To: buildroot, Bernd Kuhls; +Cc: Raphaël Mélotte

In reply of:
> The only commit in this bump
> https://github.com/cisco/libest/commits/main/
> is patch 0005 which was removed.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x, 2026.08.x. Thanks

> ---
> Series passed Gitlab pipelines:
> https://gitlab.com/bkuhls/buildroot/-/commit/bdbdbd0557ae43c5cc6f186ee93a01eb7610c1b5
> 
>  ....h-add-missing-extern-on-e_ctx_ssl_e.patch | 42 -------------------
>  package/libest/libest.hash                    |  2 +-
>  package/libest/libest.mk                      |  2 +-
>  3 files changed, 2 insertions(+), 44 deletions(-)
>  delete mode 100644 package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
> 
> diff --git a/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch b/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
> deleted file mode 100644
> index ba0ecb4a86..0000000000
> --- a/package/libest/0005-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch
> +++ /dev/null
> @@ -1,42 +0,0 @@
> -From 32fe99fa403d2f51931615745a64f8aede1ca46f Mon Sep 17 00:00:00 2001
> -From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> -Date: Sat, 8 Jan 2022 13:38:17 +0100
> -Subject: [PATCH] src/est/est_locl.h: add missing extern on
> - e_ctx_ssl_exdata_index
> -
> -Without this extern, the variable gets re-declared in each compilation
> -unit including est_locl.h, causing gcc >= 10 to complain with:
> -
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client.o:(.data+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server.o:(.bss+0xc): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server_http.o:(.bss+0x3b8): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_proxy.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client_http.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_ossl_util.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client_proxy.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_enhcd_cert_auth.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server_coap.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here
> -collect2: error: ld returned 1 exit status
> -
> -Upstream: https://github.com/cisco/libest/pull/107
> -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ----
> - src/est/est_locl.h | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/src/est/est_locl.h b/src/est/est_locl.h
> -index 62dcbea..b16f62d 100644
> ---- a/src/est/est_locl.h
> -+++ b/src/est/est_locl.h
> -@@ -590,7 +590,7 @@ typedef struct est_oid_list {
> - /*
> -  * Index used to link the EST Ctx into the SSL structures
> -  */
> --int e_ctx_ssl_exdata_index;
> -+extern int e_ctx_ssl_exdata_index;
> - 
> - LIBEST_TEST_API void est_log (EST_LOG_LEVEL lvl, char *format, ...);
> - LIBEST_TEST_API void est_log_backtrace (void);
> --- 
> -2.33.1
> -
> diff --git a/package/libest/libest.hash b/package/libest/libest.hash
> index dc9bc05255..2c2804a76f 100644
> --- a/package/libest/libest.hash
> +++ b/package/libest/libest.hash
> @@ -1,3 +1,3 @@
>  # Computed locally
> -sha256  83983ac05137fd73586ddcb4874e30689fe694ee9a329797b60b3defc9a87327  libest-f8a6e5b53a5f70e72fe4029981df0693b17cbb32.tar.gz
> +sha256  2e5c46610f6a3c12c1916c8a84de77421a88c9722e776e862a716f4a48220f2a  libest-r3.2.0-9-ga464ba8a66717419ba71d289ef82c7b2315b2006.tar.gz
>  sha256  fbdb055f98babf8d86095d6f9b9e34d2ff21a8212e442b8f18bdcb403e44366c  LICENSE
> diff --git a/package/libest/libest.mk b/package/libest/libest.mk
> index 9f3168767d..5f93b2ab32 100644
> --- a/package/libest/libest.mk
> +++ b/package/libest/libest.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -LIBEST_VERSION = f8a6e5b53a5f70e72fe4029981df0693b17cbb32
> +LIBEST_VERSION = r3.2.0-9-ga464ba8a66717419ba71d289ef82c7b2315b2006
>  LIBEST_SITE = $(call github,cisco,libest,$(LIBEST_VERSION))
>  # We don't build examples, so we're not affected by the OpenSSL
>  # license
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-25 14:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-08 19:13 [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Bernd Kuhls
2026-09-08 19:13 ` [Buildroot] [PATCH 2/3] package/libest: needs OpenSSL engines Bernd Kuhls
2026-09-16 19:49   ` Thomas Petazzoni via buildroot
2026-09-08 19:13 ` [Buildroot] [PATCH 3/3] package/libest: bump version to r3.2.0-9-ga464ba8a6 Bernd Kuhls
2026-09-16 19:50   ` Thomas Petazzoni via buildroot
2026-09-25 14:44   ` Raphaël Mélotte via buildroot
2026-09-16 19:49 ` [Buildroot] [PATCH 1/3] package/libest: fix build with gcc >= 14.x Thomas Petazzoni via buildroot
2026-09-25 14:44 ` Raphaël Mélotte via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.