[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279531

            Bug ID: 279531
           Summary: sysutils/u-boot-rpi4: Cannot build, errors with ecdsa
                    and rsa
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: uboot@FreeBSD.org
          Reporter: cyberbotx@cyberbotx.com
             Flags: maintainer-feedback?(uboot@FreeBSD.org)
          Assignee: uboot@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.