[MacPorts] #68178: rav1e: build fails on arm, due to git_allocator missing members; git2 crate [used by rav1e] may need to be updated

MacPorts noreply at macports.org
Sun Sep 17 12:49:31 UTC 2023


#68178: rav1e: build fails on arm, due to git_allocator missing members; git2 crate
[used by rav1e] may need to be updated
---------------------+----------------------
  Reporter:  lukaso  |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:  arm64
      Port:  rav1e   |
---------------------+----------------------

Comment (by rottegift):

 FWIW, I just built successfully with

 port -v install rav1e configure.ldflags="-ld_classic -force_load
 /usr/lib/libiconv.dylib" configure.cflags
 ="-Wl,-ld_classic"

 which is ugly, but works up to not-yet-found problems with differing
 header files

 otool -L /opt/local/bin/rav1e

 /opt/local/bin/rav1e:
         /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current
 version 7.0.0)
         /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
 current version 9.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1336.0.0)

 the -force_load probably is portable to older macOS/xcode.

 I don't think this is the right solution, but if one was, say, in the
 middle of building something with rav1e as a dependency, this might get
 the job done.

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


More information about the macports-tickets mailing list