[MacPorts] #65063: bootstrapping Macports for curl now requires gcc7 and cmake (!) due to sneaked dependencies on brotli and nghttp2

MacPorts noreply at macports.org
Mon Apr 25 07:36:50 UTC 2022


#65063: bootstrapping Macports for curl now requires gcc7 and cmake (!) due to
sneaked dependencies on brotli and nghttp2
---------------------------+-----------------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  leopard, tiger, snowleopard
      Port:  curl          |
---------------------------+-----------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > The brotli port doesn't appear to have any special requirements so
 adding that dependency probably didn't cause this.
 >
 > nghttp2 requires C++14 which will bring in new compiler requirements on
 older systems. Moving http/2 support back to a variant would essentially
 undo #65056 in which it had been requested to make http/2 support on by
 default. We can certainly discuss whether reverting that part of the
 change is the right thing to do.

 `brotli` requires `cmake`, `cmake` requires `gcc` version that is absent
 on darwin8–darwin10.
 {{{
 macmini:~ svacchanda$ port deps brotli
 Full Name: brotli @1.0.9_2
 Build Dependencies:   cmake
 }}}

 Would you consider making `brotli` and `nghttp2` default dependencies for
 >10.6 case? This solution would not undo anything that has been requested
 for current systems, but at the same time would fix the problem for 10.6
 and earlier.

 Whether it is done via moving `brotli` and `nghttp2` back to variants, but
 making these variants default for darwin > 10, or via `config.args-
 replace` for the same, is perhaps irrelevant.

 P. S. To give a context, we all know that system `curl` is defunct in =<
 10.6, and `mpstats` does not work, unless Macports is built against its
 own `curl`, which requires a bootstrap of Macports in alternative prefix.
 It is already a time-consuming and painful process on older machines, and
 requirung to build `gcc7` and `cmake` twice just to make `mpstats` work is
 insane. Already very few people bother to take these steps to provide
 Macports with statistics, and current change to `curl` port makes it
 prohibitively costly.

-- 
Ticket URL: <https://trac.macports.org/ticket/65063#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list