mutter-devel is missing a "runtime" dependency / Requires on mesa-libEGL-devel. For example, the header file "/usr/include/mutter-9/cogl/cogl/cogl-egl-defines.h" includes "#include <EGL/eglmesaext.h>", which is part of the mesa-libEGL-devel package, but it's not pulled in as a dependency of mutter-devel. This hard dependency is missing in all versions of the mutter package in all branches of Fedora. This has the effect that even though this library is only a transitive dependency through mutter, I need to BuildRequire mesa-libEGL-devel directly in three of my packages (gala, elementary-greeter, wingpanel).
The reason this happens is because even though mutter-devel requires "pkgconfig(egl)", that is now provided by libglvnd-devel. Since the header in question is exclusively from Mesa, we need "Requires: mesa-libEGL-devel" added to the package.
Thanks! I went ahead and fixed this in https://src.fedoraproject.org/rpms/mutter/c/1b483df16584fab7fc4d7074dce72e2617973e59?branch=rawhide I also cherry-picked the fix to F35, but I'll hold off submitting the F35 build as an update to avoid messing with the pending gnome-shell/mutter update that's already in Bodhi.
FEDORA-2021-511edcde29 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-511edcde29
FEDORA-2021-511edcde29 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-511edcde29` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-511edcde29 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-511edcde29 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.