Bug 15661 - mx53loco_defconfig: Dependency on OpenSSL missing
Summary: mx53loco_defconfig: Dependency on OpenSSL missing
Status: RESOLVED FIXED
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-06-22 16:38 UTC by Jan-Benedict Glaw
Modified: 2023-06-25 12:14 UTC (History)
1 user (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-06-22 16:38:44 UTC
Hi!

As of c765ac9c02dbddd53cf6813cf59c8f265b043caf, I see this build error:

[build 2023-06-20 19:29:26]   /usr/bin/gcc -O2 -isystem /var/lib/laminar/run/buildroot-mx53loco_defconfig/5/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-06-20 19:29:27] In file included from tools/imagetool.h:24,
[build 2023-06-20 19:29:27]                  from tools/aisimage.c:7:
[build 2023-06-20 19:29:27] include/image.h:1383:12: fatal error: openssl/evp.h: No such file or directory
[build 2023-06-20 19:29:27]  1383 | #  include <openssl/evp.h>
[build 2023-06-20 19:29:27]       |            ^~~~~~~~~~~~~~~
[build 2023-06-20 19:29:27] compilation terminated.
[build 2023-06-20 19:29:27] make[2]: *** [scripts/Makefile.host:112: tools/aisimage.o] Error 1
[build 2023-06-20 19:29:27] make[1]: *** [Makefile:1871: tools] Error 2
[build 2023-06-20 19:29:27] make[1]: Leaving directory '/var/lib/laminar/run/buildroot-mx53loco_defconfig/5/buildroot/output/build/uboot-2023.01'
[build 2023-06-20 19:29:27] make: *** [package/pkg-generic.mk:293: /var/lib/laminar/run/buildroot-mx53loco_defconfig/5/buildroot/output/build/uboot-2023.01/.stamp_built] Error 2


(Full build log at http://toolchain.lug-owl.de/laminar/jobs/buildroot-mx53loco_defconfig/5)

I guess it's just a dependency missing here.
Comment 1 Jan-Benedict Glaw 2023-06-22 18:51:11 UTC
I fetched the patch (from email) and queued a new build: http://toolchain.lug-owl.de/laminar/jobs/buildroot-mx53loco_defconfig/6

Will report tomorrow if that was successful as expected.
Comment 2 Jan-Benedict Glaw 2023-06-23 07:06:16 UTC
That patch fixes the build problem. (I'll keep the ticket open until it shows up in the GIT repo.)
Comment 3 Jan-Benedict Glaw 2023-06-25 12:14:26 UTC
Confirmed in build http://toolchain.lug-owl.de/laminar/jobs/buildroot-mx53loco_defconfig/7 .