Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53017 closed defect (fixed)

kerberos5 @1.15: build fails with libressl

Reported by: bK4gYuRo Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc: jerryyhom, l2dy (Zero King), H3ik0, jeremyhu (Jeremy Huddleston Sequoia)
Port: kerberos5

Description (last modified by mf2k (Frank Schima))

kerberos5 @1.15_0 fails to build on Yosemite (10.10.5) with libressl @2.4.3_0.

:info:build Undefined symbols for architecture x86_64:
:info:build   "_HMAC_CTX_new", referenced from:
:info:build       _krb5int_hmac_keyblock in hmac.so
:info:build   "_EVP_MD_CTX_new", referenced from:
:info:build       _hash_evp in hash_evp.so
:info:build       _k5_sha256 in sha256.so
:info:build   "_HMAC_CTX_free", referenced from:
:info:build       _krb5int_hmac_keyblock in hmac.so
:info:build   "_EVP_MD_CTX_free", referenced from:
:info:build       _hash_evp in hash_evp.so
:info:build       _k5_sha256 in sha256.so
:info:build ld: symbol(s) not found for architecture x86_64

I am attaching the full build log

Attachments (1)

main.log (163.5 KB) - added by bK4gYuRo 8 years ago.

Download all attachments as: .zip

Change History (11)

Changed 8 years ago by bK4gYuRo

Attachment: main.log added

comment:1 Changed 8 years ago by jerryyhom

Cc: jerryyhom added

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Status: newassigned

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers kerberos5), if any.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 8 years ago by l2dy (Zero King)

Cc: l2dy added

comment:5 Changed 8 years ago by jerryyhom

Kerberos5 1.15 updated their support for OpenSSL 1.1, which renamed some API's. Hence, building with LibreSSL will fail. The same problem results in a partial build error for ntp 4.2.8p9.

Does LibreSSL have plans to be API compatible with OpenSSL 1.1? Otherwise, the SSL ports are problematic for port dependencies.

comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: H3ik0 jeremyhu added
Summary: kerberos5 fails to build on Yosemite with libresslkerberos5 @1.15: build fails with libressl

Has duplicate #53068.

Does LibreSSL have plans to be API compatible with OpenSSL 1.1? Otherwise, the SSL ports are problematic for port dependencies.

Sounds like a question to ask the developers of libressl.

comment:7 Changed 8 years ago by H3ik0

I got this answer from libressl:

On 2016/12/15 13:16, Heiko wrote:

Hello Dev's, fyi:

according to the MacPorts Ticket

https://trac.macports.org/ticket/53017#comment:6

build kerberos5 1.15 fails with libressl because of missing API compatibilty with OpenSSL 1.1

Regards, Heiko

You'll need to modify OPENSSL_VERSION_NUMBER checks to exclude libressl.

comment:8 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yeah, IMO, we should seriously just consider dropping OpenSSL and focus on Libressl.

comment:9 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

In 3b3928c6/macports-ports:

kerberos5: Fix build with libressl

Fixes #53017

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@…>

comment:10 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

In 22190bd9/macports-ports:

kerberos5: Fix build with libressl

Fixes #53017

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@…>

Note: See TracTickets for help on using tickets.