[MacPorts] #66735: at-spi2-core @ 2.38.0_0+universal: configure failure on Monterey (Apple M1 Max)

MacPorts noreply at macports.org
Sat Jan 21 16:53:29 UTC 2023


#66735: at-spi2-core @ 2.38.0_0+universal: configure failure on Monterey (Apple M1
Max)
----------------------------+--------------------------
 Reporter:  DaveStrickland  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.8.0
 Keywords:  monterey arm64  |       Port:  at-spi2-core
----------------------------+--------------------------
 When pulled in as a dependency the at-spi2-core +universal port fails to
 configure on a new M1 Max system running Monterey 12.6.2 (This is an
 upgrade from an older Intel system so I'm following the process of
 reinstalling Macports from scratch).

 The install fails at the configure stage, something to do with meson. I do
 not think this is a dupe of #66651 because their log gets well past the
 stage where my attempted install fails.

 I've attached logs generated by the following commands
 {{{
 sudo port clean at-spi2-core
 sudo port -d install at-spi2-core +universal |& tee attempted_install.log
 }}}

 Specifically the last 20 lines of the log shows this error message,
 related to the host flag passed to meson:
 {{{
 :debug:configure MACOSX_DEPLOYMENT_TARGET='12.0'
 :debug:configure OBJC='/usr/bin/clang'
 :debug:configure OBJCFLAGS='-pipe -Os -arch arm64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
 :debug:configure OBJCXX='/usr/bin/clang++'
 :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
 :debug:configure
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /at-spi2-core-2.38.0-arm64" && /opt/local/bin/meson setup
 --prefix=/opt/local -Ddocs=true -Dintrospection=yes -Dx11=yes
 --host=aarch64-apple-darwin21.6.0
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /at-spi2-core-2.38.0-arm64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /build-arm64 --cross-file=arm64-darwin
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /at-spi2-core-2.38.0-arm64" && /opt/local/bin/meson setup
 --prefix=/opt/local -Ddocs=true -Dintrospection=yes -Dx11=yes
 --host=aarch64-apple-darwin21.6.0
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /at-spi2-core-2.38.0-arm64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /build-arm64 --cross-file=arm64-darwin
 :info:configure usage: meson [-h]
 :info:configure
 {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help}
 :info:configure              ...
 :info:configure meson: error: unrecognized arguments: --host=aarch64
 -apple-darwin21.6.0
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /at-spi2-core-2.38.0-arm64" && /opt/local/bin/meson setup
 --prefix=/opt/local -Ddocs=true -Dintrospection=yes -Dx11=yes
 --host=aarch64-apple-darwin21.6.0
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /at-spi2-core-2.38.0-arm64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work
 /build-arm64 --cross-file=arm64-darwin
 :info:configure Exit code: 2
 :error:configure Failed to configure at-spi2-core: configure failure:
 command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_at-spi2-core/at-
 spi2-core/main.log for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66735>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list