After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772681 - Build fails when wayland disabled
Build fails when wayland disabled
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2016-10-10 09:46 UTC by Maik Freudenberg
Modified: 2021-07-05 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure log (48.64 KB, text/x-log)
2016-10-10 09:46 UTC, Maik Freudenberg
Details

Description Maik Freudenberg 2016-10-10 09:46:51 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
Comment 1 Maik Freudenberg 2016-10-10 12:58:35 UTC
Builds with additional --disable-native-backend
/configure --enable-compile-warnings=minimum --disable-wayland --disable-wayland-egl-server --disable-native-backend
Comment 2 Gilles Dartiguelongue 2016-11-08 08:12:21 UTC
This is because clutter egl support controls were merged with wayland while they are left separate in cogl.
Comment 3 GNOME Infrastructure Team 2021-07-05 13:45:52 UTC
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.