[MacPorts] #63561: dav1d +universal: meson: error: unrecognized arguments: --host=aarch64-apple-darwin20.6.0

MacPorts noreply at macports.org
Sat Oct 2 22:38:05 UTC 2021


#63561: dav1d +universal: meson: error: unrecognized arguments: --host=aarch64
-apple-darwin20.6.0
-----------------------------+------------------------
  Reporter:  johanmattssonm  |      Owner:  ctreleaven
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.7.1
Resolution:                  |   Keywords:
      Port:  dav1d           |
-----------------------------+------------------------

Comment (by kencu):

 most meson ports have a block  something like this in them to fix this:
 {{{
 if {![info exists universal_possible]} {
     set universal_possible [expr {${os.universal_supported} && [llength
 ${configure.universal_archs}] >= 2}]
 }
 if {${universal_possible} && [variant_isset universal]} {
     foreach my_arch {ppc ppc64 i386 x86_64 arm64} {
         # strip the automatic setting of host, meson does not accept
         set merger_host(${my_arch}) ""
     }
 }
 }}}

 the automatic adding of the {{{host}}} information by the {{{muniversal}}}
 portgroup is not accepted by meson.

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


More information about the macports-tickets mailing list