Though I create this report for u-boot-rpi, the same problem applies also to u-boot-rpi2 and probably other u-boot variants as well. The u-boot packages do not take into account the following changes between OpenSSL-1.0.x series and OpenSSL-1.1.x series... Additional changes: 1) EVP_MD_CTX_cleanup(), EVP_CIPHER_CTX_cleanup() and HMAC_CTX_cleanup() were removed. HMAC_CTX_reset() and EVP_MD_CTX_reset() should be called instead to reinitialise an already created structure. 2) For consistency with the majority of our object creators and destructors, EVP_MD_CTX_(create|destroy) were renamed to EVP_MD_CTX_(new|free). The old names are retained as macros for deprecated builds. [Richard Levitte] As a result the build creates a load of complaints similar to these... mxsimage.c:(.text+0x17cb): undefined reference to `EVP_CIPHER_CTX_cleanup' mxsimage.c:(.text+0x1841): undefined reference to `EVP_MD_CTX_cleanup' mxsimage.c:(.text+0x18ae): undefined reference to `EVP_CIPHER_CTX_cleanup' tools/mxsimage.o: In function `mxsimage_verify_print_header': mxsimage.c:(.text+0x1c38): undefined reference to `EVP_MD_CTX_cleanup' mxsimage.c:(.text+0x1dfd): undefined reference to `EVP_CIPHER_CTX_cleanup' mxsimage.c:(.text+0x236d): undefined reference to `EVP_CIPHER_CTX_cleanup' mxsimage.c:(.text+0x243c): undefined reference to `EVP_CIPHER_CTX_cleanup' mxsimage.c:(.text+0x2552): undefined reference to `EVP_CIPHER_CTX_cleanup' mxsimage.c:(.text+0x277f): undefined reference to `EVP_CIPHER_CTX_cleanup' mxsimage.c:(.text+0x2a66): undefined reference to `EVP_MD_CTX_cleanup' mxsimage.c:(.text+0x2a7b): undefined reference to `EVP_CIPHER_CTX_cleanup'
Maintainer informed via mail
I guess this is already fixed... root@latitude /usr/ports/sysutils/u-boot-rpi4 # make ........................................................................ ===> Staging for u-boot-rpi4-2020.10 ===> Generating temporary packing list /bin/mkdir -p /usr/obj/usr/ports/sysutils/u-boot-rpi4/work/stage//usr/local/share/u-boot/u-boot-rpi4 install -m 0644 /usr/obj/usr/ports/sysutils/u-boot-rpi4/work/u-boot-2020.10/u-boot.bin /usr/obj/usr/ports/sysutils/u-boot-rpi4/work/stage//usr/local/share/u-boot/u-boot-rpi4 install -m 0644 /usr/obj/usr/ports/sysutils/u-boot-rpi4/work/u-boot-2020.10/metadata /usr/obj/usr/ports/sysutils/u-boot-rpi4/work/stage//usr/local/share/u-boot/u-boot-rpi4 install -m 0644 /usr/ports/sysutils/u-boot-rpi4/pkg-descr /usr/obj/usr/ports/sysutils/u-boot-rpi4/work/stage//usr/local/share/u-boot/u-boot-rpi4/README ====> Compressing man pages (compress-man) root@latitude /usr/ports/sysutils/u-boot-rpi4 # openssl version OpenSSL 1.1.1h-freebsd 22 Sep 2020 root@latitude /usr/ports/sysutils/u-boot-rpi4 # uname -a FreeBSD latitude.local 12.2-STABLE FreeBSD 12.2-STABLE r368477 MINIMAL amd64 root@latitude /usr/ports/sysutils/u-boot-rpi4 #