Background: I am not using Flatpak builds and trying to build GTK port using direct CMake command. So this may be a non issue. Issue: When building for Wayland (ENABLE_WAYLAND_TARGET=ON), currently dependency is on wpebackend_fdo version 1.6.0 (OptionsGTK.cmake). But 1.6.0 [version](https://github.com/Igalia/WPEBackend-fdo/commit/1dda80de5372e56cdc6f818a3fca493f7cc1f9d6) does not export call to version numbers. So linker fails with undefined references to wpe_fdo_get_major_version/wpe_fdo_get_minor_version/wpe_fdo_get_micro_version. It is fixed in wpebackend_fdo version 1.6.1. So I feel wpebackend_fdo version should be updated to 1.6.1 in OptionsGTK.cmake. I like to submit a minimal PR which updates version to wpebackend_fdo 1.6.1 in OptionsGTK.cmake. But that might cause build failures in certain distributions. For e.g Works in Ubuntu 22.04, but fails in Ubuntu 20.04 where the package manager install defaults to version 1.6.0. Hope EWS will catch if so.
Hmm, OK, can you guard the use of these calls with WPE_CHECK_VERSION? That way it won't break Ubuntu 20.04, which is still supported for a little bit longer.
Pull request: https://github.com/WebKit/WebKit/pull/9380
(In reply to Michael Catanzaro from comment #1) > Hmm, OK, can you guard the use of these calls with WPE_CHECK_VERSION? That > way it won't break Ubuntu 20.04, which is still supported for a little bit > longer. ok. I added version checks and raised PR. But I raised this bug assuming wayland builds are currently failing on Ubuntu 20.04. And from your reply I feel like wayland builds are already succeeding on Ubuntu 20.04. I like to know how are they succeeding - Is it because of flatpak builds ?
Guess: our Ubuntu 20.04 bots also build their own wpebackend-fdo?
Committed 259676@main (7f5f2f78dedb): <https://commits.webkit.org/259676@main> Reviewed commits have been landed. Closing PR #9380 and removing active labels.