[MacPorts] #72120: libavif @1.2.0: Parse error. Expected a newline, got identifier with text "ninstall".

MacPorts noreply at macports.org
Fri Feb 28 14:43:50 UTC 2025


#72120: libavif @1.2.0: Parse error.  Expected a newline, got identifier with text
"ninstall".
-------------------------+-------------------------------------------------
  Reporter:  JohnFHall   |      Owner:  mascguy
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:              |   Keywords:  leopard snowleopard lion
                         |  mountainlion mavericks yosemite elcapitan
      Port:  libavif     |  sierra highsierra mojave catalina
-------------------------+-------------------------------------------------

Comment (by mascguy):

 Replying to [comment:2 ryandesign]:
 > Your log shows this is happening while libavif is trying to configure a
 copy of libargparse that it has downloaded. While this step works for me
 on macOS 12, we don't want ports downloading things themselves. We have
 libargparse in MacPorts as a separate port; the libavif port should be
 fixed to use that instead of downloading and building its own copy, which
 will solve the problem you're having building it.

 Yes, I added port `libargparse` 2 days ago, specifically for `libavif`.
 However I haven't had a chance to fix the latter yet.

 > I reported the problem to the developers of libavif:
 ​https://github.com/AOMediaCodec/libavif/issues/2653

 Thank you, it looks like upstream provided a potential patch. Hopefully
 that will provide a quick fix, with the longer-term solution - building
 with port `libargparse` - forthcoming over the next few days.

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


More information about the macports-tickets mailing list