Skip to contentSkip to conversation

configs/qemu_arm_ebbr: linux needs host-openssl

PATCH Applied Vincent Stehlé 3 participants 4 messages Jul 22, 2024 – Sep 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/qemu_arm_ebbr: linux needs host-openssl

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
Cc Romain Naour <[email protected]>
---
 configs/qemu_arm_ebbr_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/qemu_arm_ebbr_defconfig +1 -0
index 7c436449d7..bdcd41bbde 100644
@@ -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
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · On Mon, 22 Jul 2024 11:37:10 +0200 Vincent Stehlé <[email protected]>…

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:

Quoted 8 lines

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

Fixes 7115ab39189a6c660745267d8bf0bf41cf8b3db7
Cc Romain Naour <[email protected]>
---
 configs/qemu_arm_ebbr_defconfig | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Vincent Stehlé
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vincent" == Vincent Stehlé <[email protected]> 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)?

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
Quoted 6 lines · Peter Korsgaard
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vincent" == Vincent Stehlé <[email protected]> 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.

Quoted 8 lines
Quoted 5 lines

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.

Quoted 3 lines
Signature · 2 lines
-- 
Bye, Peter Korsgaard

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