package/libest: needs OpenSSL engines
PATCH v2 1/1 package/libest: needs OpenSSL engines
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
The failing code was added upstream on Jul, 6th, 2020:
https://github.com/cisco/libest/commit/ab998c0918d1d46e1d8664a89b249cac08606e53
and included in version 3.2.0.
Buildroot commit 5bbb1834a412f2fb2d9692cdc40c99097fb8a46d bumped the package to a tree including the aforementioned upstream commit on Jul 24th, 2022 so a backport to LTS branches should be considered.
---
v2: added history of the build error (Thomas)
package/libest/Config.in | 1 + 1 file changed, 1 insertion(+)
package/libest/Config.in +1 -0
@@ -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
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 43 lines · Bernd Kuhls
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=yThe failing code was added upstream on Jul, 6th, 2020:
https://github.com/cisco/libest/commit/ab998c0918d1d46e1d8664a89b249cac08606e53
and included in version 3.2.0.
Quoted 5 lines
Buildroot commit
5bbb1834a412f2fb2d9692cdc40c99097fb8a46dbumped the package to a tree including the aforementioned upstream commit on Jul 24th, 2022 so a backport to LTS branches should be considered.Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
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
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 43 lines
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=yThe failing code was added upstream on Jul, 6th, 2020:
https://github.com/cisco/libest/commit/ab998c0918d1d46e1d8664a89b249cac08606e53
and included in version 3.2.0.
Quoted 5 lines
Buildroot commit
5bbb1834a412f2fb2d9692cdc40c99097fb8a46dbumped the package to a tree including the aforementioned upstream commit on Jul 24th, 2022 so a backport to LTS branches should be considered.Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x, 2026.08.x. Thanks
Quoted 11 lines
---
v2: added history of the build error (Thomas)package/libest/Config.in | 1 + 1 file changed, 1 insertion(+)package/libest/Config.in +0
-0
package/libest/Config.in config BR2_PACKAGE_LIBEST · line 11
Quoted 7 lines
package/libest/Config.in +1
-0@@ -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
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot