Bug 9316

Summary: U-boot fails to build if libssl-dev is not installed
Product: buildroot Reporter: matt.kraai
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description matt.kraai 2016-09-28 15:44:51 UTC
When I run "make zynq_zed_defconfig && make" on my Ubuntu 16.04.1 LTS system, the build fails with the following error messages:

> >>> uboot xilinx-v2016.2 Building
...
>   HOSTCC  tools/aisimage.o
> In file included from tools/aisimage.c:10:0:
> include/image.h:923:27: fatal error: openssl/evp.h: No such file or directory
> compilation terminated.
> scripts/Makefile.host:108: recipe for target 'tools/aisimage.o' failed
> make[3]: *** [tools/aisimage.o] Error 1
> Makefile:1211: recipe for target 'tools' failed
> make[2]: *** [tools] Error 2
> package/pkg-generic.mk:201: recipe for target '/home/kraai/src/buildroot/output> /build/uboot-xilinx-v2016.2/.stamp_built' failed
> make[1]: *** [/home/kraai/src/buildroot/output/build/uboot-xilinx-v2016.2> /.stamp_built] Error 2
> Makefile:41: recipe for target '_all' failed
> make: *** [_all] Error 2

Installing ssl-dev fixes this problem, but I think U-Boot should depend on host-openssl in this case.