Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 714798

Summary: dev-qt/qtwayland-5.14.1-r2: fails to build with USE="X%* vulkan -debug -test (-libinput%*) (-xcomposite%)"
Product: Gentoo Linux Reporter: Guilherme Amadio <amadio>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Guilherme Amadio gentoo-dev 2020-03-26 07:53:13 UTC
Created attachment 625900 [details]
emerge --info

[ebuild     U  ] dev-qt/qtwayland-5.14.1-r2:5/5.14::gentoo [5.14.1-r1:5/5.14::gentoo] USE="X%* vulkan -debug -test (-libinput%*) (-xcomposite%)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

>>> Emerging (1 of 1) dev-qt/qtwayland-5.14.1-r2::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * qtwayland-everywhere-src-5.14.1.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking qtwayland-everywhere-src-5.14.1.tar.xz to /tmp/portage/dev-qt/qtwayland-5.14.1-r2/work
>>> Source unpacked in /tmp/portage/dev-qt/qtwayland-5.14.1-r2/work
>>> Preparing source in /tmp/portage/dev-qt/qtwayland-5.14.1-r2/work/qtwayland-everywhere-src-5.14.1 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-qt/qtwayland-5.14.1-r2/work/qtwayland-everywhere-src-5.14.1 ...
 * Running qt5_qmake 
Info: creating stash file /tmp/portage/dev-qt/qtwayland-5.14.1-r2/work/qtwayland-everywhere-src-5.14.1/.qmake.stash
Info: creating cache file /tmp/portage/dev-qt/qtwayland-5.14.1-r2/work/qtwayland-everywhere-src-5.14.1/.qmake.cache

Running configuration tests...
Checking for Wayland client library... yes
Checking for Wayland cursor library... yes
Checking for wayland-scanner... yes
Checking for Linux dma-buf Buffer Sharing... yes
Checking for DRM EGL Server... yes
Checking for Wayland EGL library... yes
Checking for libhybris EGL Server... no
Checking for Vulkan Buffer Sharing... yes
Checking for XComposite... yes
Checking for wayland-server... yes
Checking for Linux Client dma-buf Buffer Sharing... yes
Checking for Linux dma-buf Buffer Sharing... yes
Checking for Vulkan Buffer Sharing... yes
Done running configuration tests.

Configure summary:

Qt Wayland Drivers:
  EGL .................................... yes
  Raspberry Pi ........................... no
  XComposite EGL ......................... yes
  XComposite GLX ......................... no
  DRM EGL ................................ yes
  libhybris EGL .......................... no
  Linux dma-buf server buffer integration . yes
  Vulkan-based server buffer integration . yes
  Shm emulation server buffer integration . yes
Qt Wayland Client Shell Integrations:
  xdg-shell .............................. yes
  xdg-shell unstable v5 (deprecated) ..... yes
  xdg-shell unstable v6 .................. yes
  ivi-shell .............................. yes
  wl-shell (deprecated) .................. yes
Qt Wayland Client ........................ yes
Qt Wayland Compositor .................... yes
Qt Wayland Compositor Layer Plugins:
  VSP2 hardware layer integration ........ no

ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-client && features.opengl && !features.opengles2 && features.xlib && libs.xcomposite && libs.glx' failed.

ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-server && features.opengl && !features.opengles2 && libs.xcomposite && libs.glx' failed.
Comment 1 Guilherme Amadio gentoo-dev 2020-03-26 07:57:21 UTC
Note that I have -r1 installed. When I tried just emerge -puv qtwayland, I see that I need to disable gles2 in qtgui. I will let you know if that's enough to fix, but before there was not complaint from portage if I remember correctly.

Calculating dependencies... done!
[ebuild   R    ] dev-qt/qtgui-5.14.1-r3:5/5.14.1::gentoo  USE="X dbus egl gif jpeg libinput png udev vulkan wayland -accessibility -debug -eglfs -evdev -gles2* -ibus -test -tslib -tuio -vnc" 0 KiB
[ebuild     U  ] dev-qt/qtwayland-5.14.1-r2:5/5.14::gentoo [5.14.1-r1:5/5.14::gentoo] USE="X%* vulkan -debug -test (-libinput%*) (-xcomposite%)" 0 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-qt/qtwayland-5.14.1-r2::gentoo[X]
# required by qtwayland (argument)
>=dev-qt/qtgui-5.14.1-r3 -gles2
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-26 12:44:22 UTC
Since when do we omit build.log?

*** This bug has been marked as a duplicate of bug 713362 ***
Comment 3 Guilherme Amadio gentoo-dev 2020-03-26 13:17:01 UTC
It fails at configure time, and the first comment contains the whole output of the configuration stage.