Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#47745 closed update (fixed)

nghttp2 @0.7.14_0: update to version 1.0.0

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch maintainer Cc: ryandesign (Ryan Carsten Schmidt)
Port: nghttp2

Description

nghttp2 has been updated to version 1.0.0:

Implements RFC 7540 HTTP/2 (https://tools.ietf.org/html/rfc7540)
implements RFC 7541 HPACK (https://tools.ietf.org/html/rfc7541)
v1.0.0 introduced backward incompatible changes from 0.7 series. 
    Read https://nghttp2.org/documentation/package_README.html#migration-from-v0-7-15-or-earlier 
    to migrate from older version to this latest version.

Attachments (2)

Portfile-nghttp2.diff (832 bytes) - added by Schamschula (Marius Schamschula) 9 years ago.
main.log (248.3 KB) - added by mike-savory 9 years ago.

Download all attachments as: .zip

Change History (11)

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-nghttp2.diff added

comment:1 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Committed in r136458, thanks.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

This changes the library name / version number, so all ports declaring library dependencies on nghttp2 need to have their revisions increased, to prevent e.g.:

dyld: Library not loaded: /opt/local/lib/libnghttp2.5.dylib
  Referenced from: /opt/local/lib/libcurl.4.dylib
  Reason: image not found

Fortunately, curl is the only such port. Fixed in r136467.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Actually, not fixed. curl does not build with nghttp2 1.0.0 because the API was changed in a backward-incompatible way. I will report it to the developer of curl.

comment:4 in reply to:  3 Changed 9 years ago by Schamschula (Marius Schamschula)

Replying to ryandesign@…:

Actually, not fixed. curl does not build with nghttp2 1.0.0 because the API was changed in a backward-incompatible way. I will report it to the developer of curl.

Shall I update nghttp2 to 0.7.15 until curl is fixed? Or should we just revert back to 0.7.14?

comment:5 Changed 9 years ago by mike-savory

Resolution: fixed
Status: closedreopened

Any update on this? Curl still fails to build against the latest nghttp2 (will attach build log) nghttp2 @1.0.2_0 (active) curl @7.42.1_2+ssl (active)

Changed 9 years ago by mike-savory

Attachment: main.log added

comment:6 Changed 9 years ago by mike-savory

I see it will be fixed with the next release of CURL https://github.com/bagder/curl/issues/273

comment:7 Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: reopenedclosed

This ticket was about updating nghttp2 to 1.0.0, which was done. Please don’t reopen it.

comment:8 Changed 9 years ago by Schamschula (Marius Schamschula)

Never mind that the current version is @1.0.2, see #48038

comment:9 Changed 9 years ago by Schamschula (Marius Schamschula)

This should no longer be an issue as curl has been updated to version 7.43.0 r137678

Note: See TracTickets for help on using tickets.