[MacPorts] #68945: at-spi2-core @2.38.0: error building universal libatspi.0.dylib': found architecture 'x86_64', required architecture 'arm64'

MacPorts noreply at macports.org
Wed Dec 20 03:31:36 UTC 2023


#68945: at-spi2-core @2.38.0: error building universal libatspi.0.dylib': found
architecture 'x86_64', required architecture 'arm64'
---------------------------+-----------------------------
  Reporter:  kencu         |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  universal arm64
      Port:  at-spi2-core  |
---------------------------+-----------------------------

Comment (by kencu):

 it seems like this is not working:
 {{{
 # uses g-ir-scanner, which uses $CC from env
 if {${universal_possible} && [variant_isset universal]} {
     foreach arch ${configure.universal_archs} {
         lappend merger_build_env(${arch})  "CC=${configure.cc} -arch
 ${arch}"
         lappend merger_destroot_env(${arch})  "CC=${configure.cc} -arch
 ${arch}"
     }
 } else {
     build.env-append       "CC=${configure.cc} ${configure.cc_archflags}"
     destroot.env-append    "CC=${configure.cc} ${configure.cc_archflags}"
 }
 }}}

 presumably this has been fixed somewhere, otherwise every port that uses g
 -ir-scanner would be broken building universal

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


More information about the macports-tickets mailing list