[MacPorts] #68178: rav1e: build fails due to git_allocator missing members

MacPorts noreply at macports.org
Wed Sep 20 23:51:04 UTC 2023


#68178: rav1e: build fails due to git_allocator missing members
---------------------+----------------------
  Reporter:  lukaso  |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:
      Port:  rav1e   |
---------------------+----------------------

Comment (by mascguy):

 Relative to eliminating `rav1e` from the dependency equation: Most of
 that's in-place already.

 The ports that depend on it, are the following:

 {{{
 $ gfind . -type f -name "Portfile" -print0 | gxargs -0 -r ggrep -E
 --regexp=":rav1e"
 ./multimedia/av1an/Portfile:                    port:rav1e \
 ./multimedia/ffmpeg/Portfile:                    port:rav1e
 ./multimedia/ffmpeg-devel/Portfile:                    port:rav1e
 ./multimedia/ffmpeg6/Portfile:                    port:rav1e
 ./multimedia/libavif/Portfile:                        port:rav1e \
 ./multimedia/libheif/Portfile:                            port:rav1e \
 }}}

 You can ignore `ffmpeg-devel` and `ffmpeg6` though, as you'll be using
 `ffmpeg`.

 Regardless, all but two of those support variants that can eliminate
 `rav1e` from the equation:
 * For `ffmpeg`, enable variant `+slim`.
 * For `av1an` - assuming that's being pulled in for GIMP? - install with
 `-av1`.

 As for `libavif` and `libheif`, I maintain both of those. And I'm happy to
 provide something similar there, if needed. Though it's trivial to overlay
 your own versions of those two, dropping `rav1e` from the deps:

 * For `libavif`, remove the dep, and update `-DAVIF_CODEC_RAV1E:BOOL=ON`
 to `-DAVIF_CODEC_RAV1E:BOOL=OFF`.
 * Likewise, for `libheif`, remove the dep, and add configure argument
 `-DWITH_RAV1E:BOOL=OFF`.

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


More information about the macports-tickets mailing list