I just tried to install weston-6.0.0. Emerge fails almost immediately: [ebuild U ~] dev-libs/weston-6.0.0::gentoo [5.0.0::gentoo] USE="X desktop%* drm examples gles2 jpeg launch lcms resize-optimization suid systemd wayland-compositor xwayland -colord -editor -fbdev -fullscreen% -headless -ivi -rdp -remoting% -screen-sharing -static-libs -test -webp (-dbus%*)" 0 KiB * weston-6.0.0.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking weston-6.0.0.tar.xz to /var/tmp/portage/dev-libs/weston-6.0.0/work >>> Source unpacked in /var/tmp/portage/dev-libs/weston-6.0.0/work >>> Preparing source in /var/tmp/portage/dev-libs/weston-6.0.0/work/weston-6.0.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/weston-6.0.0/work/weston-6.0.0 ... meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Dbackend-drm=true -Dbackend-drm-screencast-vaapi=false -Dbackend-headless=false -Dbackend-rdp=false -Dscreenshare=false -Dbackend-wayland=true -Dbackend-x11=true -Dbackend-fbdev=false -Drenderer-gl=true -Dweston-launch=true -Dxwayland=true -Dsystemd=true -Dremoting=false -Dshell-desktop=true -Dshell-fullscreen=false -Dshell-ivi=false -Dcolor-management-lcms=true -Dcolor-management-colord=false -Dlauncher-logind=true -Dimage-jpeg=true -Dimage-webp=false -Dtools=debug,info,terminal -Dsimple-dmabuf-drm=auto -Ddemo-clients=true -Dsimple-clients=damage,img,egl,shm,touch -Dresize-pool=true -Dtest-junit-xml=false /var/tmp/portage/dev-libs/weston-6.0.0/work/weston-6.0.0 /var/tmp/portage/dev-libs/weston-6.0.0/work/weston-6.0.0-build The Meson build system Version: 0.49.2 Source dir: /var/tmp/portage/dev-libs/weston-6.0.0/work/weston-6.0.0 Build dir: /var/tmp/portage/dev-libs/weston-6.0.0/work/weston-6.0.0-build Build type: native build meson.build:1:0: ERROR: Options "img" are not in allowed choices: "all, damage, im, egl, shm, touch, dmabuf-v4l, dmabuf-egl" Reproducible: Always
The problem seems to be line 117 of the ebuild: $(usex examples -Dsimple-clients=damage,img,egl,shm,touch "") It should probably be 'im' instead of 'img'.
i have the same error
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2950f4c45b2c2515556a4971348d5df608c6125 commit e2950f4c45b2c2515556a4971348d5df608c6125 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2019-04-14 21:46:26 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2019-04-14 21:47:48 +0000 dev-libs/weston: Fix selection of example clients im was misspelled as img. Ideally "all" would be smart enough to exclude dmabuf-egl and egl when the GL backend is disabled. Closes: https://bugs.gentoo.org/683326 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org> dev-libs/weston/weston-6.0.0.ebuild | 2 +- dev-libs/weston/weston-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)