> On Sep 27, 2021, at 12:29 PM, Pascal <p....@orange.fr> wrote: > >> >> Le 26 sept. 2021 à 18:32, john <jra...@ceridwen.us> a écrit : >> >>> On Sep 26, 2021, at 1:41 AM, Pascal <p....@orange.fr> wrote: >>> >>> Hello, >>> >>> I have got a ninja error when updating gtk3: >>> >>> % jhbuild build meta-gtk-osx-gtk3 >>> ... >>> *** Checking out gtk+-3.0 *** [28/33] >>> curl --continue-at - -L >>> http://ftp.gnome.org/pub/GNOME/sources/gtk+/3.24/gtk+-3.24.30.tar.xz -o >>> /usr/local/src-2021/pkgs/gtk+-3.24.30.tar.xz >>> % Total % Received % Xferd Average Speed Time Time Time >>> Current >>> Dload Upload Total Spent Left Speed >>> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 >>> 100 272 100 272 0 0 334 0 --:--:-- --:--:-- --:--:-- >>> 2385 >>> 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 >>> 100 21.3M 100 21.3M 0 0 2050k 0 0:00:10 0:00:10 --:--:-- >>> 2451k >>> xzcat -d "/usr/local/src-2021/pkgs/gtk+-3.24.30.tar.xz" | tar xf - >>> *** Applying patch Quartz-version-detection-for-macOS-12.patch *** [28/33] >>> patch -p1 < >>> "/usr/local/src-2021/cache/jhbuild/Quartz-version-detection-for-macOS-12.patch" >>> patching file gdk/quartz/gdkglobals-quartz.c >>> patching file gdk/quartz/gdkquartz.h >>> *** Configuring gtk+-3.0 *** [28/33] >>> ... >>> *** Building gtk+-3.0 *** [28/33] >>> ninja >>> [0/1288] Generating gdkenumtypes.h with a custom command (wrapped by meson >>> to ca >>> ... >>> [1075/1288] Compiling C object testsuite/gtk/gtkmenu.p/gtkmenu.c.o >>> ninja: build stopped: subcommand failed. >>> *** Error during phase build of gtk+-3.0: ########## Error running ninja >>> *** [28/33] >>> >>> There isn't any straight forward explanation found in logs. >>> Any idea? >>> What could help to go further? >>> >> >> The real error is in there somewhere, but it might be easier to find by >> dropping to the shell and running >> ninja -j 1 >> so that you don't have to look through all of the build threads to find the >> one that errored out. > > Thanks, it helps: > > [JH] % ninja -j 1 > [2/385] Generating Gtk-3.0.gir with a custom command > FAILED: gtk/Gtk-3.0.gir > /usr/local/xnadalib-2021/bin/g-ir-scanner --no-libtool --namespace=Gtk > --nsversion=3.0 --warn-all --output gtk/Gtk-3.0.gir --c- > ... > dyld: Symbol not found: _gtk_file_chooser_widget_accessible_get_type > Referenced from: > /usr/local/src-2021/cache/jhbuild/build/gtk+-3.24.30/tmp-introspectpilk3d9b/Gtk-3.0 > Expected in: /usr/local/xnadalib-2021/lib/libgtk-3.0.dylib > in > /usr/local/src-2021/cache/jhbuild/build/gtk+-3.24.30/tmp-introspectpilk3d9b/Gtk-3.0 > > It seems that it is looking for the already installed file libgtk-3.0.dylib?! > > Thus, I uninstall GTK and go on with success: > % jhbuild uninstall gtk+-3.0 > % jhbuild build meta-gtk-osx-gtk3 >
Yup. And you found the right solution. Regards, John Ralls _______________________________________________ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list