Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl
@ 2024-07-22  9:37 Vincent Stehlé
  2024-07-22 12:08 ` Thomas Petazzoni via buildroot
  2024-08-30 14:02 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Stehlé @ 2024-07-22  9:37 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Vincent Stehlé

The kernel build needs host-openssl; add it to the configuration.

In practice the documented build recipe works fine and the build failures
can only be seen with highly parallel builds using per-package directories.

This fixes the following compilation error:

  certs/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory

Fixes: 7115ab39189a6c660745267d8bf0bf41cf8b3db7
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Romain Naour <romain.naour@gmail.com>
---
 configs/qemu_arm_ebbr_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/qemu_arm_ebbr_defconfig b/configs/qemu_arm_ebbr_defconfig
index 7c436449d7..bdcd41bbde 100644
--- a/configs/qemu_arm_ebbr_defconfig
+++ b/configs/qemu_arm_ebbr_defconfig
@@ -19,6 +19,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.32"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-ebbr/linux.fragment"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 
 # Packages
 BR2_PACKAGE_OPTEE_CLIENT=y
-- 
2.43.0

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

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

* Re: [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl
  2024-07-22  9:37 [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl Vincent Stehlé
@ 2024-07-22 12:08 ` Thomas Petazzoni via buildroot
  2024-08-30 14:02 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-22 12:08 UTC (permalink / raw)
  To: Vincent Stehlé; +Cc: Romain Naour, buildroot

On Mon, 22 Jul 2024 11:37:10 +0200
Vincent Stehlé <vincent.stehle@arm.com> wrote:

> The kernel build needs host-openssl; add it to the configuration.
> 
> In practice the documented build recipe works fine and the build failures
> can only be seen with highly parallel builds using per-package directories.
> 
> This fixes the following compilation error:
> 
>   certs/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
> 
> Fixes: 7115ab39189a6c660745267d8bf0bf41cf8b3db7
> Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
> Cc: Romain Naour <romain.naour@gmail.com>
> ---
>  configs/qemu_arm_ebbr_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

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

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

* Re: [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl
  2024-07-22  9:37 [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl Vincent Stehlé
  2024-07-22 12:08 ` Thomas Petazzoni via buildroot
@ 2024-08-30 14:02 ` Peter Korsgaard
  2024-09-02 16:08   ` Vincent Stehlé
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2024-08-30 14:02 UTC (permalink / raw)
  To: Vincent Stehlé; +Cc: Romain Naour, buildroot

>>>>> "Vincent" == Vincent Stehlé <vincent.stehle@arm.com> writes:

 > The kernel build needs host-openssl; add it to the configuration.
 > In practice the documented build recipe works fine and the build failures
 > can only be seen with highly parallel builds using per-package directories.

 > This fixes the following compilation error:

 >   certs/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory

 > Fixes: 7115ab39189a6c660745267d8bf0bf41cf8b3db7

Are you sure? Isn't it from the bump to 6.6.32 in commit d037d9c2d63e9c
(configs/qemu: Update defconfigs to Linux 6.6.32)?

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl
  2024-08-30 14:02 ` Peter Korsgaard
@ 2024-09-02 16:08   ` Vincent Stehlé
  0 siblings, 0 replies; 4+ messages in thread
From: Vincent Stehlé @ 2024-09-02 16:08 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: Romain Naour, buildroot

On Fri, Aug 30, 2024 at 04:02:49PM +0200, Peter Korsgaard wrote:
> >>>>> "Vincent" == Vincent Stehlé <vincent.stehle@arm.com> writes:
> 
>  > The kernel build needs host-openssl; add it to the configuration.
>  > In practice the documented build recipe works fine and the build failures
>  > can only be seen with highly parallel builds using per-package directories.
> 
>  > This fixes the following compilation error:
> 
>  >   certs/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
> 
>  > Fixes: 7115ab39189a6c660745267d8bf0bf41cf8b3db7
> 
> Are you sure? Isn't it from the bump to 6.6.32 in commit d037d9c2d63e9c
> (configs/qemu: Update defconfigs to Linux 6.6.32)?

Hi Peter,

Yes; I did some more tests to confirm and I am pretty sure now:

        Commit  Result  Comments
  ------------  ------  --------
  7115ab39189a  Broken  (I needed to configure with gcc 12 to build.)
  44a6b7866c95  Broken
  d037d9c2d63e  Broken

With BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y added, all three commits build fine.

I tested with:

  $ make qemu_arm_ebbr_defconfig
  $ make linux

...on a host with no openssl (I use a chroot for that purpose).

Best regards,
Vincent.

> 
> -- 
> Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-09-02 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-22  9:37 [Buildroot] [PATCH] configs/qemu_arm_ebbr: linux needs host-openssl Vincent Stehlé
2024-07-22 12:08 ` Thomas Petazzoni via buildroot
2024-08-30 14:02 ` Peter Korsgaard
2024-09-02 16:08   ` Vincent Stehlé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox