* [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x
@ 2026-09-12 20:17 Bernd Kuhls
2026-09-20 13:43 ` Thomas Petazzoni via buildroot
2026-09-25 14:44 ` Raphaël Mélotte via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-09-12 20:17 UTC (permalink / raw)
To: buildroot; +Cc: Alex Suykov
Remove -Werror from CFLAGS to prevent build errors due to warnings of
deprecated functions:
futility/cmd_create.c: In function ‘vb1_make_keypair’:
futility/cmd_create.c:96:9: error: ‘PEM_read_RSAPrivateKey’ is deprecated:
Since OpenSSL 3.0 [-Werror=deprecated-declarations]
96 | rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL);
futility/cmd_create.c:155:9: error: ‘RSA_free’ is deprecated:
Since OpenSSL 3.0 [-Werror=deprecated-declarations]
155 | RSA_free(rsa_key);
futility/cmd_create.c:191:17: error: ‘PEM_read_RSA_PUBKEY’ is deprecated:
Since OpenSSL 3.0 [-Werror=deprecated-declarations]
191 | rsa_key = PEM_read_RSA_PUBKEY(fp, NULL, NULL, NULL);
futility/cmd_create.c:199:9: error: ‘RSA_get0_key’ is deprecated:
Since OpenSSL 3.0 [-Werror=deprecated-declarations]
199 | RSA_get0_key(rsa_key, NULL, NULL, &rsa_d);
cc1: all warnings being treated as errors
The oldest build error dates back to 2024 so a backport to LTS branches
should be considered.
Fixes:
https://autobuild.buildroot.net/results/375/37554c5ce784835a36f0068d9a0c1cd931212b44/
https://autobuild.buildroot.net/results/1fa/1fabca11c7839d2d7ed809f30482595719a29c92/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/vboot-utils/vboot-utils.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/vboot-utils/vboot-utils.mk b/package/vboot-utils/vboot-utils.mk
index dc0b1365b7..14def4c708 100644
--- a/package/vboot-utils/vboot-utils.mk
+++ b/package/vboot-utils/vboot-utils.mk
@@ -33,6 +33,7 @@ define HOST_VBOOT_UTILS_BUILD_CMDS
CC="$(HOSTCC)" \
CPPFLAGS="$(HOST_CFLAGS) -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" \
LDFLAGS="$(HOST_LDFLAGS)" \
+ WERROR="" \
ARCH=arm \
futil cgpt
endef
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x
2026-09-12 20:17 [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x Bernd Kuhls
@ 2026-09-20 13:43 ` Thomas Petazzoni via buildroot
2026-09-25 14:44 ` Raphaël Mélotte via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-20 13:43 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Alex Suykov
On Sat, Sep 12, 2026 at 10:17:18PM +0200, Bernd Kuhls wrote:
> Remove -Werror from CFLAGS to prevent build errors due to warnings of
> deprecated functions:
>
> futility/cmd_create.c: In function ‘vb1_make_keypair’:
> futility/cmd_create.c:96:9: error: ‘PEM_read_RSAPrivateKey’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 96 | rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL);
>
> futility/cmd_create.c:155:9: error: ‘RSA_free’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 155 | RSA_free(rsa_key);
>
> futility/cmd_create.c:191:17: error: ‘PEM_read_RSA_PUBKEY’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 191 | rsa_key = PEM_read_RSA_PUBKEY(fp, NULL, NULL, NULL);
>
> futility/cmd_create.c:199:9: error: ‘RSA_get0_key’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 199 | RSA_get0_key(rsa_key, NULL, NULL, &rsa_d);
>
> cc1: all warnings being treated as errors
>
> The oldest build error dates back to 2024 so a backport to LTS branches
> should be considered.
>
> Fixes:
> https://autobuild.buildroot.net/results/375/37554c5ce784835a36f0068d9a0c1cd931212b44/
> https://autobuild.buildroot.net/results/1fa/1fabca11c7839d2d7ed809f30482595719a29c92/
>
> 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] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x
2026-09-12 20:17 [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x Bernd Kuhls
2026-09-20 13:43 ` Thomas Petazzoni via buildroot
@ 2026-09-25 14:44 ` Raphaël Mélotte via buildroot
1 sibling, 0 replies; 3+ 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:
> Remove -Werror from CFLAGS to prevent build errors due to warnings of
> deprecated functions:
>
> futility/cmd_create.c: In function ‘vb1_make_keypair’:
> futility/cmd_create.c:96:9: error: ‘PEM_read_RSAPrivateKey’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 96 | rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL);
>
> futility/cmd_create.c:155:9: error: ‘RSA_free’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 155 | RSA_free(rsa_key);
>
> futility/cmd_create.c:191:17: error: ‘PEM_read_RSA_PUBKEY’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 191 | rsa_key = PEM_read_RSA_PUBKEY(fp, NULL, NULL, NULL);
>
> futility/cmd_create.c:199:9: error: ‘RSA_get0_key’ is deprecated:
> Since OpenSSL 3.0 [-Werror=deprecated-declarations]
> 199 | RSA_get0_key(rsa_key, NULL, NULL, &rsa_d);
>
> cc1: all warnings being treated as errors
>
> The oldest build error dates back to 2024 so a backport to LTS branches
> should be considered.
>
> Fixes:
> https://autobuild.buildroot.net/results/375/37554c5ce784835a36f0068d9a0c1cd931212b44/
> https://autobuild.buildroot.net/results/1fa/1fabca11c7839d2d7ed809f30482595719a29c92/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.02.x, 2026.08.x. Thanks
> ---
> package/vboot-utils/vboot-utils.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/vboot-utils/vboot-utils.mk b/package/vboot-utils/vboot-utils.mk
> index dc0b1365b7..14def4c708 100644
> --- a/package/vboot-utils/vboot-utils.mk
> +++ b/package/vboot-utils/vboot-utils.mk
> @@ -33,6 +33,7 @@ define HOST_VBOOT_UTILS_BUILD_CMDS
> CC="$(HOSTCC)" \
> CPPFLAGS="$(HOST_CFLAGS) -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" \
> LDFLAGS="$(HOST_LDFLAGS)" \
> + WERROR="" \
> ARCH=arm \
> futil cgpt
> endef
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-25 14:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 20:17 [Buildroot] [PATCH 1/1] package/vboot-utils: Fix build with OpenSSL >= 3.x Bernd Kuhls
2026-09-20 13:43 ` Thomas Petazzoni via buildroot
2026-09-25 14:44 ` Raphaël Mélotte via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox