Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] configs/sipeed_*_sdcard: Add dependency on host-openssl
@ 2022-10-13  7:56 Damien Le Moal via buildroot
  2022-10-15 15:42 ` Peter Korsgaard
  2022-10-19  8:03 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Damien Le Moal via buildroot @ 2022-10-13  7:56 UTC (permalink / raw)
  To: buildroot, Thomas Petazzoni; +Cc: Niklas Cassel, Yann E . MORIN

Gitlab CI reported build failures for the sipeed RISC-V nommu boards
with the u-boot/sdcard enabled default configuration. The compilation
errors are related to the openssl/evp.h header file missing, e.g.:

In file included from tools/imagetool.h:24,
                 from tools/fit_common.c:20:
include/image.h:1166:12: fatal error: openssl/evp.h: No such file or
directory
 1166 | #  include <openssl/evp.h>
      |            ^~~~~~~~~~~~~~~

Fix this issue by adding BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the config
files so that host-openssl gets built as a dependency of U-Boot.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229992
https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229994
https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229996
https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229998

Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
---
 configs/sipeed_maix_bit_sdcard_defconfig  | 1 +
 configs/sipeed_maix_dock_sdcard_defconfig | 1 +
 configs/sipeed_maix_go_sdcard_defconfig   | 1 +
 configs/sipeed_maixduino_sdcard_defconfig | 1 +
 4 files changed, 4 insertions(+)

diff --git a/configs/sipeed_maix_bit_sdcard_defconfig b/configs/sipeed_maix_bit_sdcard_defconfig
index 8a19996090..34769eeca8 100644
--- a/configs/sipeed_maix_bit_sdcard_defconfig
+++ b/configs/sipeed_maix_bit_sdcard_defconfig
@@ -50,6 +50,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
 BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm"
 BR2_TARGET_UBOOT_FORMAT_BIN=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
diff --git a/configs/sipeed_maix_dock_sdcard_defconfig b/configs/sipeed_maix_dock_sdcard_defconfig
index d3d0f405e1..62f6a0e0b8 100644
--- a/configs/sipeed_maix_dock_sdcard_defconfig
+++ b/configs/sipeed_maix_dock_sdcard_defconfig
@@ -50,6 +50,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
 BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm"
 BR2_TARGET_UBOOT_FORMAT_BIN=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig
index 75300997b8..6c61e3aaaf 100644
--- a/configs/sipeed_maix_go_sdcard_defconfig
+++ b/configs/sipeed_maix_go_sdcard_defconfig
@@ -50,6 +50,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
 BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm"
 BR2_TARGET_UBOOT_FORMAT_BIN=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
diff --git a/configs/sipeed_maixduino_sdcard_defconfig b/configs/sipeed_maixduino_sdcard_defconfig
index add9369747..da8cbe45f9 100644
--- a/configs/sipeed_maixduino_sdcard_defconfig
+++ b/configs/sipeed_maixduino_sdcard_defconfig
@@ -50,6 +50,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
 BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm"
 BR2_TARGET_UBOOT_FORMAT_BIN=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
-- 
2.37.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 v2] configs/sipeed_*_sdcard: Add dependency on host-openssl
  2022-10-13  7:56 [Buildroot] [PATCH v2] configs/sipeed_*_sdcard: Add dependency on host-openssl Damien Le Moal via buildroot
@ 2022-10-15 15:42 ` Peter Korsgaard
  2022-10-19  8:03 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-10-15 15:42 UTC (permalink / raw)
  To: Damien Le Moal via buildroot
  Cc: Niklas Cassel, Damien Le Moal, Yann E . MORIN, Thomas Petazzoni

>>>>> "Damien" == Damien Le Moal via buildroot <buildroot@buildroot.org> writes:

 > Gitlab CI reported build failures for the sipeed RISC-V nommu boards
 > with the u-boot/sdcard enabled default configuration. The compilation
 > errors are related to the openssl/evp.h header file missing, e.g.:

 > In file included from tools/imagetool.h:24,
 >                  from tools/fit_common.c:20:
 > include/image.h:1166:12: fatal error: openssl/evp.h: No such file or
 > directory
 >  1166 | #  include <openssl/evp.h>
 >       |            ^~~~~~~~~~~~~~~

 > Fix this issue by adding BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the config
 > files so that host-openssl gets built as a dependency of U-Boot.

 > Fixes:
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229992
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229994
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229996
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229998

 > Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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 v2] configs/sipeed_*_sdcard: Add dependency on host-openssl
  2022-10-13  7:56 [Buildroot] [PATCH v2] configs/sipeed_*_sdcard: Add dependency on host-openssl Damien Le Moal via buildroot
  2022-10-15 15:42 ` Peter Korsgaard
@ 2022-10-19  8:03 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-10-19  8:03 UTC (permalink / raw)
  To: Damien Le Moal via buildroot
  Cc: Niklas Cassel, Damien Le Moal, Yann E . MORIN, Thomas Petazzoni

>>>>> "Damien" == Damien Le Moal via buildroot <buildroot@buildroot.org> writes:

 > Gitlab CI reported build failures for the sipeed RISC-V nommu boards
 > with the u-boot/sdcard enabled default configuration. The compilation
 > errors are related to the openssl/evp.h header file missing, e.g.:

 > In file included from tools/imagetool.h:24,
 >                  from tools/fit_common.c:20:
 > include/image.h:1166:12: fatal error: openssl/evp.h: No such file or
 > directory
 >  1166 | #  include <openssl/evp.h>
 >       |            ^~~~~~~~~~~~~~~

 > Fix this issue by adding BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the config
 > files so that host-openssl gets built as a dependency of U-Boot.

 > Fixes:
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229992
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229994
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229996
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229998

 > Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

Committed to 2022.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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:[~2022-10-19  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-13  7:56 [Buildroot] [PATCH v2] configs/sipeed_*_sdcard: Add dependency on host-openssl Damien Le Moal via buildroot
2022-10-15 15:42 ` Peter Korsgaard
2022-10-19  8:03 ` Peter Korsgaard

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