GNOME Bugzilla – Bug 772681
Build fails when wayland disabled
Last modified: 2021-07-05 13:45:52 UTC
Created attachment 337299 [details] configure log Building mutter 3.22.0 with /configure --enable-compile-warnings=minimum --disable-wayland --disable-wayland-egl-server exits with undefined references. e.g. the evdev is only included when wayland-egl-server in clutter is enabled. libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=core-avx2 -pipe -ggdb -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,-O1 -o .libs/mutter core/mutter.o -Wl,--as-needed ./.libs/libmutter.so -lupower-glib -lgnome-desktop-3 -lXcursor -lxkbfile -lxkbcommon-x11 -lxkbcommon -lXrender -lX11-xcb -lxcb -lxcb-randr -lstartup-notification-1 -lcanberra-gtk3 -lcanberra -lgtk-3 -lgdk-3 -lgirepository-1.0 -lSM -lICE -lXinerama -lsystemd -linput -lgudev-1.0 /var/tmp/portage/x11-wm/mutter-3.22.0/work/mutter-3.22.0/clutter/clutter/.libs/libmutter-clutter-1.0.so -lcairo-gobject -latk-1.0 -ljson-glib-1.0 -lXi -lpangoft2-1.0 -lfontconfig -lfreetype -lgio-2.0 -lgthread-2.0 /var/tmp/portage/x11-wm/mutter-3.22.0/work/mutter-3.22.0/cogl/cogl-pango/.libs/libmutter-cogl-pango.so -lpangocairo-1.0 -lpango-1.0 /var/tmp/portage/x11-wm/mutter-3.22.0/work/mutter-3.22.0/cogl/cogl-path/.libs/libmutter-cogl-path.so /var/tmp/portage/x11-wm/mutter-3.22.0/work/mutter-3.22.0/cogl/cogl/.libs/libmutter-cogl.so -lm -lcairo -lgmodule-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lgbm -ldrm -lEGL -lX11 -lXext -lXdamage -lXfixes -lXcomposite -lXrandr -pthread -Wl,-rpath -Wl,/usr/lib64/mutter ./.libs/libmutter.so: undefined reference to `clutter_egl_freeze_master_clock' ./.libs/libmutter.so: undefined reference to `clutter_egl_thaw_master_clock' ./.libs/libmutter.so: undefined reference to `clutter_evdev_set_keyboard_map' ./.libs/libmutter.so: undefined reference to `clutter_evdev_get_keyboard_map' ./.libs/libmutter.so: undefined reference to `clutter_evdev_release_devices' ./.libs/libmutter.so: undefined reference to `clutter_evdev_event_get_relative_motion' ./.libs/libmutter.so: undefined reference to `clutter_evdev_set_keyboard_numlock' ./.libs/libmutter.so: undefined reference to `clutter_evdev_set_keyboard_repeat' ./.libs/libmutter.so: undefined reference to `clutter_evdev_input_device_get_libinput_device' ./.libs/libmutter.so: undefined reference to `clutter_evdev_warp_pointer' ./.libs/libmutter.so: undefined reference to `clutter_evdev_reclaim_devices' ./.libs/libmutter.so: undefined reference to `clutter_evdev_set_keyboard_layout_index' ./.libs/libmutter.so: undefined reference to `clutter_backend_egl_native_get_type' ./.libs/libmutter.so: undefined reference to `clutter_evdev_set_device_callbacks' ./.libs/libmutter.so: undefined reference to `clutter_evdev_set_pointer_constrain_callback' collect2: error: ld returned 1 exit status
Builds with additional --disable-native-backend /configure --enable-compile-warnings=minimum --disable-wayland --disable-wayland-egl-server --disable-native-backend
This is because clutter egl support controls were merged with wayland while they are left separate in cogl.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/mutter/-/issues/ Thank you for your understanding and your help.