https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: x11-wm/mutter-46.4 fails to compile. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
CC'ing also the author of the commit (210fbbd66b5d0fc3dfd91ad1b837e5cd449e7539)
Created attachment 899675 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: mtk/mtk/Mtk-14.gir Run-time dependency libdisplay-info found: NO (tried pkgconfig and cmake) Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
(In reply to Agostino Sarubbo from comment #3) > Error(s) that match a know pattern in addition to what has been reported in > the summary: > > > FAILED: mtk/mtk/Mtk-14.gir > Run-time dependency libdisplay-info found: NO (tried pkgconfig and cmake) > Run-time dependency libsystemd found: NO (tried pkgconfig and cmake) After emerging libdisplay-info, both dependencies are satisfied on my system, but I still get that error.
The actual error is: ``` FAILED: mtk/mtk/Mtk-14.gir env PKG_CONFIG_PATH=/var/tmp/portage/x11-wm/mutter-46.4/temp/python3.13/pkgconfig:/usr/share/pkgconfig:/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=x86_64-pc-linux-gnu-gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Mtk --nsversion=14 --warn-all --output mtk/mtk/Mtk-14.gir --quiet -U_GNU_SOURCE '-DMTK_SYSCONFDIR="/etc"' -DMTK_COMPILATION=1 '-DG_LOG_DOMAIN="Mtk"' --c-include=mtk/mtk.h -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/mtk/mtk -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/mtk -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/mtk/. -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/. -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/mtk/mtk -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/mtk -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/. -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/. --filelist=/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/mtk/libmutter-mtk-14.so.0.0.0.p/Mtk_14_gir_filelist --include=GObject-2.0 --include=Graphene-1.0 --pkg-export=mutter-mtk-14 --cflags-begin -D_GNU_SOURCE -DG_ENABLE_DEBUG -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/mtk/. -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/. -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/mtk/mtk -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/mtk -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/. -I/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/pixman-1 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/mtk/mtk --library mutter-mtk-14 --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=graphene-1.0 --extra-library=pixman-1 --extra-library=X11 --extra-library=m --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4/ --sources-top-dirs /var/tmp/portage/x11-wm/mutter-46.4/work/mutter-46.4-build/ Couldn't find include 'GObject-2.0.gir' (search path: '['/usr/share/gir-1.0', '/var/tmp/portage/x11-wm/mutter-46.4/homedir/.local/share/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']') ``` Missing USE=introspection on something?
(In reply to Sam James from comment #5) > The actual error is: > ``` > Couldn't find include 'GObject-2.0.gir' (search path: > '['/usr/share/gir-1.0', > '/var/tmp/portage/x11-wm/mutter-46.4/homedir/.local/share/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']') > ``` > > Missing USE=introspection on something? So we need "GObject-2.0.gir" which isn't present on my system. According to https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/main/gir/meson.build the file should be generated by gobject-introspection, but isn'r or doesn't get installed: gobject_files += files('gobject-2.0.c') gobject_gir = custom_target('gir-gobject', input: gobject_files, output: 'GObject-2.0.gir',
I have, btw. a similar problem with gnome-base/nautilus-46.2: FAILED: libnautilus-extension/Nautilus-4.0.gir ... Couldn't find include 'Gio-2.0.gir' (search path: '['/usr/share/gir-1.0', '/var/tmp/portage/gnome-base/nautilus-46.2/homedir/.local/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/etc/eselect/wine/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']') where "Gio-2.0.gir" also should be created by gobject-introspection: gio_gir = custom_target('gir-gio', input: gio_files, output: 'Gio-2.0.gir',