[MacPorts] #64377: GLib2 not working on Apple Silicon
MacPorts
noreply at macports.org
Thu Apr 7 00:46:08 UTC 2022
#64377: GLib2 not working on Apple Silicon
---------------------------------+------------------------
Reporter: lb90 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: arm64
Port: glib2, glib2-devel |
---------------------------------+------------------------
Comment (by Akkiesoft):
Hi.
I have updated to glib2 @2.64.6_2+universal+x11.
However, gtk3 @ 3.24.31_1 + x11 seems to be broken now (architechture
issue for my env?).
Log is here:
{{{
:info:build libtool: link: /usr/bin/clang -arch x86_64 -o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk
/tmp-introspect0trr5vm0/.libs/Gdk-3.0 -I/opt/local/include -DX_LOCALE
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
-fstrict-aliasing
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
x86_64 -Wall
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk
/tmp-introspect0trr5vm0/Gdk-3.0.o -Wl,-headerpad_max_install_names
-Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-arch x86_64 -L. ./.libs/libgdk-3.dylib -L/opt/local/lib -lpangocairo-1.0
-lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lfontconfig
-lfreetype -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lXfixes -lcairo -lX11 -lXext -lepoxy -lfribidi -lm -lgio-2.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
:info:build ld: warning: ignoring file /opt/local/lib/libXi.dylib,
building for macOS-x86_64 but attempting to link with file built for
macOS-arm64
:info:build ld: warning: ignoring file /opt/local/lib/libXcomposite.dylib,
building for macOS-x86_64 but attempting to link with file built for
macOS-arm64
:info:build ld: warning: ignoring file /opt/local/lib/libXdamage.dylib,
building for macOS-x86_64 but attempting to link with file built for
macOS-arm64
:info:build ld: warning: ignoring file /opt/local/lib/libXcursor.dylib,
building for macOS-x86_64 but attempting to link with file built for
macOS-arm64
:info:build ld: warning: ignoring file /opt/local/lib/libepoxy.dylib,
building for macOS-x86_64 but attempting to link with file built for
macOS-arm64
:info:build dyld[49368]: symbol not found in flat namespace
'_XCompositeGetOverlayWindow'
:info:build Command
'['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk
/tmp-introspect0trr5vm0/Gdk-3.0', '--introspect-
dump=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk
/tmp-
introspect0trr5vm0/functions.txt,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk
/tmp-introspect0trr5vm0/dump.xml']' died with <Signals.SIGABRT: 6>.
:info:build make[4]: *** [Gdk-3.0.gir] Error 1
:info:build make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31/gdk'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.31"
&& /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"
CC_FOR_BUILD="/usr/bin/clang -arch x86_64" V=1
CPP_FOR_BUILD="/usr/bin/cpp"
:info:build Exit code: 2
:error:build Failed to build gtk3: command execution failed
:debug:build Error code: CHILDSTATUS 43815 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/main.log
for details.
}}}
Thanks.
--
Ticket URL: <https://trac.macports.org/ticket/64377#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list