Problem building gtk4 4.14.0 - Couldn't find include 'GObject-2.0.gir' #8
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ports/contrib#8
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm unable to build the latest version of gtk4 in the contrib repo. I have all the dependencies installed and up to date.
I get the following error:
[1217/1237] Generating gtk/Gdk-4.0.gir with a custom command (wrapped by meson to set env) FAILED: gtk/Gdk-4.0.gir env PKG_CONFIG_PATH=/tmp/pkgmk-gtk4/src/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config 'CC=ccache cc' /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Gdk --nsversion=4.0 --warn-all --output gtk/Gdk-4.0.gir --c-include=gdk/gdk.h -DGTK_COMPILATION --quiet -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gtk -I/tmp/pkgmk-gtk4/src/build/gtk -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/. -I/tmp/pkgmk-gtk4/src/build/. -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gdk/. -I/tmp/pkgmk-gtk4/src/build/gdk/. -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gsk -I/tmp/pkgmk-gtk4/src/build/gsk -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gtk -I/tmp/pkgmk-gtk4/src/build/gtk -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gdk/x11 -I/tmp/pkgmk-gtk4/src/build/gdk/x11 -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gdk/. -I/tmp/pkgmk-gtk4/src/build/gdk/. --filelist=/tmp/pkgmk-gtk4/src/build/gtk/libgtk-4.so.1.1400.0.p/Gdk_4.0_gir_filelist --include=cairo-1.0 --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --include=PangoCairo-1.0 --symbol-prefix=gdk --identifier-prefix=Gdk --pkg-export=gtk4 --cflags-begin -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.14.0"' -D_GNU_SOURCE -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/. -I/tmp/pkgmk-gtk4/src/build/. -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gdk/. -I/tmp/pkgmk-gtk4/src/build/gdk/. -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gsk -I/tmp/pkgmk-gtk4/src/build/gsk -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gtk -I/tmp/pkgmk-gtk4/src/build/gtk -I/tmp/pkgmk-gtk4/src/gtk-4.14.0/gdk/x11 -I/tmp/pkgmk-gtk4/src/build/gdk/x11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/graphene-1.0 -I/usr/lib/graphene-1.0/include -I/usr/include/libdrm -I/usr/include/lzo -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/tmp/pkgmk-gtk4/src/build/gtk --library gtk-4 --extra-library=gmodule-2.0 --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=cairo --extra-library=fribidi --extra-library=cairo-gobject --extra-library=fontconfig --extra-library=freetype --extra-library=gdk_pixbuf-2.0 --extra-library=epoxy --extra-library=m --extra-library=graphene-1.0 --extra-library=Xi --extra-library=X11 --extra-library=pangoft2-1.0 --extra-library=vulkan --extra-library=drm --extra-library=png16 --extra-library=tiff --extra-library=jpeg --extra-library=xkbcommon --extra-library=wayland-client --extra-library=wayland-egl --extra-library=Xrender --extra-library=Xext --extra-library=Xcursor --extra-library=Xdamage --extra-library=Xfixes --extra-library=Xrandr --extra-library=Xinerama --extra-library=cairo-script-interpreter --extra-library=girepository-1.0 --sources-top-dirs /tmp/pkgmk-gtk4/src/gtk-4.14.0/ --sources-top-dirs /tmp/pkgmk-gtk4/src/build/ Couldn't find include 'GObject-2.0.gir' (search path: '['/usr/share/gir-1.0', '/home/pkgmk/.local/share/gir-1.0', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']') [1226/1237] Linking target modules/printbackends/libprintbackend-cups.so ninja: build stopped: subcommand failed.
Please update your ports tree and try again, ports/opt#bc3056bfb9 has been reverted
That fixed the gtk4 build for me, thank you!