In the current version of enlightenment all Wayland modules are built despite the "wayland" use flag is disabled globally. It would be a good idea to disable those when Wayland is not used systemwide.
Ill make a PR to update E21 into 0.21.11. It should have fixed this issue, at least it "worksforme". This should also work already with 0.22.3. Id appreciate if you could test either version, if only you can. Im kind of planning to "hide" all the wl-* and xwayland modules, and just enable/disable all depending of 'wayland' USE flag in the future. Ill probably try implementing this idea when 0.22.4 hits and see the feedback.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1b578a4e713b27b2911edaff50f9fc9c7ac119 commit 0e1b578a4e713b27b2911edaff50f9fc9c7ac119 Author: Joonas Niilola <juippis@gmail.com> AuthorDate: 2018-05-25 14:30:51 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2018-05-25 18:11:32 +0000 x11-wm/enlightenment: bump E21 to 0.21.11 Bug: https://bugs.gentoo.org/637034 Bug: https://bugs.gentoo.org/615426 Package-Manager: Portage[mgorny]-2.3.36.1 Closes: https://github.com/gentoo/gentoo/pull/8583 x11-wm/enlightenment/Manifest | 1 + x11-wm/enlightenment/enlightenment-0.21.11.ebuild | 139 +++++++++++++++++++++ .../files/enlightenment-0.21.11-quickstart.diff | 13 ++ x11-wm/enlightenment/metadata.xml | 1 + 4 files changed, 154 insertions(+)
This should be resolved in later versions of enlightenment. The reported version has been removed from the tree.