Bug 15796 - freescale_imx8dxlevk_defconfig: Missing dependency on OpenSSL
Summary: freescale_imx8dxlevk_defconfig: Missing dependency on OpenSSL
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 22:39 UTC by Jan-Benedict Glaw
Modified: 2024-06-15 15:12 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Benedict Glaw 2023-09-23 22:39:18 UTC
Seems the new freescale_imx8dxlevk_defconfig (as of ab4f3fafaa839593b3efd9ea12c8ee5d9340cdeb) is missing a (host) OpenSSL dependency:


[build 2023-09-23 17:35:35]   /usr/bin/gcc -O2 -isystem /var/lib/laminar/run/buildroot-freescale_imx8dxlevk_defconfig/1/buildroot/output/host/include -Wp,-MD,tools/.aisimage.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer   -std=gnu11   -DCONFIG_FIT_SIGNATURE -DCONFIG_FIT_SIGNATURE_MAX_SIZE=0xffffffff -DCONFIG_FIT_CIPHER -include ./include/compiler.h -idirafterinclude -idirafter./arch/arm/include -I./scripts/dtc/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/aisimage.o tools/aisimage.c
[build 2023-09-23 17:35:35] In file included from tools/imagetool.h:24,
[build 2023-09-23 17:35:35]                  from tools/aisimage.c:7:
[build 2023-09-23 17:35:35] include/image.h:1394:12: fatal error: openssl/evp.h: No such file or directory
[build 2023-09-23 17:35:35]  1394 | #  include <openssl/evp.h>
[build 2023-09-23 17:35:35]       |            ^~~~~~~~~~~~~~~
[build 2023-09-23 17:35:35] compilation terminated.
[build 2023-09-23 17:35:35] make[2]: *** [scripts/Makefile.host:112: tools/aisimage.o] Error 1
[build 2023-09-23 17:35:35] make[1]: *** [Makefile:1848: tools] Error 2
[build 2023-09-23 17:35:35] make[1]: Leaving directory '/var/lib/laminar/run/buildroot-freescale_imx8dxlevk_defconfig/1/buildroot/output/build/uboot-custom'
[build 2023-09-23 17:35:35] make: *** [package/pkg-generic.mk:293: /var/lib/laminar/run/buildroot-freescale_imx8dxlevk_defconfig/1/buildroot/output/build/uboot-custom/.stamp_built] Error 2


(Build log at http://toolchain.lug-owl.de/laminar/jobs/buildroot-freescale_imx8dxlevk_defconfig/1)
Comment 1 Yann E. MORIN 2023-09-24 08:11:50 UTC
Jan-Benedict, All,

Can you please send a patch that adds BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to
the defconfig, please?

Regards,
Yann E. MORIN.
Comment 2 Yann E. MORIN 2024-06-15 15:12:41 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!