[Bug 294452] sysutils/coreutils does not compile with LibreSSL as of Q2 2026

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Apr 2026 19:57:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294452

            Bug ID: 294452
           Summary: sysutils/coreutils does not compile with LibreSSL as
                    of Q2 2026
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dave@jetcafe.org
                CC: jharris@widomaker.com
                CC: jharris@widomaker.com
             Flags: maintainer-feedback?(jharris@widomaker.com)

So on FreeBSD 14.3, I build coreutils only to be met with this:

[00:01:05] cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -Wl,--as-needed -Wl,-rpath,/usr/local/lib -o src/cksum
src/cksum-digest.o  src/blake2/cksum-blake2b-ref.o  src/blake2/cksum-b2sum.o
src/cksum-sum.o  src/cksum-cksum.o src/cksum-crctab.o src/libver.a
lib/libcoreutils.a /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  
lib/libcoreutils.a -lcrypto src/libcksum_avx512.a  src/libcksum_avx2.a
src/libcksum_pclmul.a  
[00:01:05] ld: error: undefined symbol: EVP_MD_CTX_create
[00:01:05] >>> referenced by sha3.c
[00:01:05] >>>               libcoreutils_a-sha3.o:(sha3_224_init_ctx) in
archive lib/libcoreutils.a
[00:01:05] >>> referenced by sha3.c
[00:01:05] >>>               libcoreutils_a-sha3.o:(sha3_256_init_ctx) in
archive lib/libcoreutils.a
[00:01:05] >>> referenced by sha3.c
[00:01:05] >>>               libcoreutils_a-sha3.o:(sha3_384_init_ctx) in
archive lib/libcoreutils.a
[00:01:05] >>> referenced 5 more times
[00:01:05] cc: error: linker command failed with exit code 1 (use -v to see
invocation)
[00:01:05] *** Error code 1

Patch attached. I have to wonder about the _create call in a macro, but I'm not
a developer of coreutils.

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