maintainer-feedback requested: [Bug 279531] sysutils/u-boot-rpi4: Cannot build, errors with ecdsa and rsa

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Jun 2024 00:19:41 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-uboot (Nobody)
<uboot@FreeBSD.org> for maintainer-feedback:
Bug 279531: sysutils/u-boot-rpi4: Cannot build, errors with ecdsa and rsa
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279531



--- Description ---
I don't know what is causing this, but when I try to build
sysutils/u-boot-rpi4, I get errors about EVP_PKEY_id and EVP_PKEY_size being
undefined. Assuming it matters, I am using OpenSSL 3.2 from ports when
compiling.

Specifically the messages are:

[00:00:28] ld: error: undefined symbol: EVP_PKEY_id
[00:00:28] >>> referenced by ecdsa-libcrypto.c
[00:00:28] >>>		    
tools/generated/lib/ecdsa/ecdsa-libcrypto.o:(prepare_ctx)

[00:00:28] ld: error: undefined symbol: EVP_PKEY_size
[00:00:28] >>> referenced by rsa-sign.c
[00:00:28] >>>		     tools/generated/lib/rsa/rsa-sign.o:(rsa_sign)

A full build log can be found here:
https://poudriere.cyberbotx.com:8768/data/13amd64-default/2024-06-03_12h27m51s/
logs/errors/u-boot-rpi4-2024.04.log