#68903 closed defect (fixed)

ngtcp2 @1.0.1: error: unknown type name 'OSSL_ENCRYPTION_LEVEL'

Reported by: cntrump Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma arm64 Cc:
Port: ngtcp2

Description (last modified by cntrump)

OS: macOS 14 arm

Xcode 15.1

run command: sudo port install ngtcp2

Attachments (1)

main.log.tar.xz (11.3 KB) - added by cntrump 11 months ago.

Download all attachments as: .zip

Change History (6)

Changed 11 months ago by cntrump

Attachment: main.log.tar.xz added

comment:1 Changed 11 months ago by cntrump

Description: modified (diff)

comment:2 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma arm64 added
Owner: set to barracuda156
Status: newassigned
Summary: Build failed on macOS 14 ARMngtcp2 @1.0.1: error: unknown type name 'OSSL_ENCRYPTION_LEVEL'

Lots of errors in the log, beginning with:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ngtcp2/ngtcp2/work/ngtcp2-1.0.1/crypto/quictls/../../crypto/includes/ngtcp2/ngtcp2_crypto_quictls.h:73:5: error: unknown type name 'OSSL_ENCRYPTION_LEVEL'
:info:build     OSSL_ENCRYPTION_LEVEL ossl_level);
:info:build     ^

comment:3 Changed 11 months ago by barracuda156

Apparently is got broken with OpenSSL 3.2.0, which has QUIC now, but something is not working. Since I have it installed on Sonoma:

svacchanda@43-9 ~ % port -v installed ngtcp2
The following ports are currently installed:
  ngtcp2 @1.0.0_0 requested_variants='' platform='darwin 23' archs='arm64' date='2023-10-20T01:17:11+0800'
  ngtcp2 @1.0.1_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2023-11-03T21:51:38+0800'

But it indeed fails to build now.

comment:4 Changed 11 months ago by barracuda156

Since this is nothing specific to archaic macOS versions or exotic archs, this is an upstream issue. I have opened a ticket for it: https://github.com/ngtcp2/ngtcp2/issues/1034

comment:5 Changed 11 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In a454f6bf12a5c0034ed21a7996a823d2e7b0f4e2/macports-ports (master):

ngtcp2: update to 1.1.0, disable QUIC with OpenSSL until fixed

Closes: #68903

Note: See TracTickets for help on using tickets.