GTK3 upgrade issue on Mojave

Greg Earle earle at isolar.DynDNS.ORG
Wed Oct 14 14:41:09 UTC 2020


All,

I have this version of GTK3 installed on my Mojave system:

--
mojave:~ root# port installed gtk3
The following ports are currently installed:
   gtk3 @3.24.20_0+universal+x11 (active)
--

Trying to do a "port upgraded outdated" to upgrade it to 
@3.24.23_0+universal+x11 worked fine on my Sierra system, but it runs 
aground on Mojave with this error:

--
[...]
:info:build libtool: link: /usr/bin/clang -arch x86_64 -o 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gtk/tmp-introspecto21ooyrl/.libs/Gtk-3.0 
-I/opt/local/include -DX_LOCALE -pipe -Os -fstrict-aliasing -arch x86_64 
-Wall 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gtk/tmp-introspecto21ooyrl/Gtk-3.0.o 
-Wl,-framework -Wl,CoreFoundation -Wl,-headerpad_max_install_names -arch 
x86_64  -L. ./.libs/libgtk-3.dylib -L/opt/local/lib 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gdk/.libs/libgdk-3.dylib 
-latk-1.0 -latk-bridge-2.0 -lharfbuzz -lpangoft2-1.0 
../gdk/.libs/libgdk-3.dylib -lpangocairo-1.0 -lpango-1.0 
-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 dyld: Library not loaded: @rpath/libatk-bridge-2.0.0.dylib

:info:build   Referenced from: 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gtk/tmp-introspecto21ooyrl/.libs/Gtk-3.0

:info:build   Reason: image not found

:info:build gtkentry.c:2104: Warning: Gtk: multiple comment blocks 
documenting 'GtkEntry:inner-border:' identifier (already seen at 
gtkentry.c:888).

:info:build warning: unknown install library directory! GObject 
Introspection GIR and TYPELIB files might not work!

:info:build Command 
'['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gtk/tmp-introspecto21ooyrl/Gtk-3.0', 
'--introspect-dump=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gtk/tmp-introspecto21ooyrl/functions.txt,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.24.23-x86_64/gtk/tmp-introspecto21ooyrl/dump.xml']' 
died with <Signals.SIGABRT: 6>.

:info:build make[3]: *** [Gtk-3.0.gir] Error 1
--

Port "atk" is installed and was recently updated.

libatk-bridge-2.0.0.dylib is there:

--
mojave:~ root# port installed atk
The following ports are currently installed:
   atk @2.36.0_0+universal (active)

mojave:~ root# ls -l /opt/local/lib/libatk-bridge-2.0.0.dylib
-rwxr-xr-x  1 root  wheel  224344 Oct  9 07:46 
/opt/local/lib/libatk-bridge-2.0.0.dylib
--

so I'm at a loss to understand what '@rpath' is set to at this juncture 
in the build which would cause this

:info:build dyld: Library not loaded: @rpath/libatk-bridge-2.0.0.dylib

error.  I don't see any references to GTK3 issues in my macports-users 
archive nor in Trac, so I'm assuming it's Operator Error on my part, but 
I don't know what I did wrong.  I did a "port clean gtk3" but I still 
get the same error.

		- Greg


More information about the macports-users mailing list