Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703594 - dev-qt/qtwayland-5.14.0 : Project ERROR: Unknown module(s) in QT: vulkan_support-private
Summary: dev-qt/qtwayland-5.14.0 : Project ERROR: Unknown module(s) in QT: vulkan_supp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 699328
  Show dependency tree
 
Reported: 2019-12-23 09:12 UTC by Toralf Förster
Modified: 2020-03-07 17:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.12 KB, text/plain)
2019-12-23 09:12 UTC, Toralf Förster
Details
dev-qt:qtwayland-5.14.0:20191222-225034.log.bz2 (dev-qt:qtwayland-5.14.0:20191222-225034.log.bz2,17.19 KB, application/x-bzip)
2019-12-23 09:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.20 KB, text/plain)
2019-12-23 09:12 UTC, Toralf Förster
Details
environment (environment,91.10 KB, text/plain)
2019-12-23 09:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.47 KB, application/x-bzip)
2019-12-23 09:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.13 KB, application/x-bzip)
2019-12-23 09:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,39.41 KB, application/x-bzip)
2019-12-23 09:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-12-23 09:12:20 UTC
cd vulkan-server/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtwayland-5.14.0/work/qtwayland-everywhere-src-5.14.0/src/plugins/hardwareintegration/compositor/vulkan-server/vulkan-server.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-O2 -pipe -march=native' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=native' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
Project ERROR: Unknown module(s) in QT: vulkan_support-private
make[4]: *** [Makefile:231: sub-vulkan-server-make_first] Error 3
make[4]: Leaving directory '/var/tmp/portage/dev-qt/qtwayland-5.14.0/work/qtwayland-everywhere-src-5.14.0/src/plugins/hardwareintegration/compositor'
make[3]: *** [Makefile:73: sub-compositor-make_first] Error 2

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl_test-20191218-224550

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 22 Dec 2019 22:05:52 +0000

emerge -qpvO dev-qt/qtwayland
[ebuild  N    ] dev-qt/qtwayland-5.14.0  USE="libinput xcomposite -debug -test"
Comment 1 Toralf Förster gentoo-dev 2019-12-23 09:12:23 UTC
Created attachment 600470 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-23 09:12:26 UTC
Created attachment 600472 [details]
dev-qt:qtwayland-5.14.0:20191222-225034.log.bz2
Comment 3 Toralf Förster gentoo-dev 2019-12-23 09:12:29 UTC
Created attachment 600474 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-23 09:12:32 UTC
Created attachment 600476 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-23 09:12:35 UTC
Created attachment 600478 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-23 09:12:38 UTC
Created attachment 600480 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-12-23 09:12:41 UTC
Created attachment 600482 [details]
temp.tbz2
Comment 8 George Diamantopoulos 2019-12-29 20:06:36 UTC
Same here. Any known workarounds?
Comment 9 Chiitoo gentoo-dev 2019-12-30 15:07:55 UTC
I haven't been able to reproduce this yet, so no ideas for a workaround at this time either.
Comment 10 George Diamantopoulos 2020-01-01 17:04:58 UTC
I think I might have found the culprit. Enabling +llvm in USE seems to prevent this from manifesting
Comment 11 George Diamantopoulos 2020-01-01 17:08:55 UTC
Nope, building must have been successful because I uninstalled vulkan-headers and vulkan-loader, still investigating
Comment 12 George Diamantopoulos 2020-01-02 10:32:26 UTC
I can now confirm that after several emerge -e world, enabling llvm and vulkan-overlay in USE globally, unmerging and remerging vulkan-headers and vulkan-loader, this no longer manifests.

I'm still not sure what the cause was though.
Comment 13 Chiitoo gentoo-dev 2020-01-05 21:04:39 UTC
Thanks for digging into it!

For comparison, I've had 'dev-util/vulkan-headers' and 'media-libs/vulkan-loader' installed for a long time, but I also have USE="-llvm -vulkan-overlay" on 'media-libs/mesa' (and haven't seen this happening still).
Comment 14 Edward Kigwana 2020-02-18 22:29:09 UTC
I hit this issue as well and I simply uninstalled all vulkan* emerged qtwayland and then put the vulkan stuff back.

Note: dev-qt/qtwayland-5.14.0 -xcomposite to dev-qt/qtwayland-5.14.1 +xcomposite

emerge -C vulkan-headers vulkan-layers vulkan-loader vulkan-tools
emerge qtwayland
emerge vulkan-headers vulkan-layers vulkan-loader vulkan-tools
emerge dev-qt/qtwayland

Qt Wayland Drivers:
  EGL .................................... yes
  Raspberry Pi ........................... no
  XComposite EGL ......................... yes
  XComposite GLX ......................... yes
  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

This then breaks. So it only builds without vulkan support. I don't have this problem on another machine
Comment 15 Mike Krutov 2020-02-20 15:02:09 UTC
I've had same issue this morning.

My system had global USE=-wayland, and nevertheless, qtwayland was pulled in. So I tried enabling USE=wayland, it recompiled qtgui with wayland support and qtwayland compiled just fine without removing vulkan.
Comment 16 Larry the Git Cow gentoo-dev 2020-02-26 22:02:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c95aab1a62e2d11ec6a728204bd3d819bc9a4b2

commit 1c95aab1a62e2d11ec6a728204bd3d819bc9a4b2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 20:37:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-26 21:56:43 +0000

    dev-qt/qtwayland: Add USE vulkan
    
    Closes: https://bugs.gentoo.org/703594
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwayland/metadata.xml               | 1 +
 dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e33ecce45082b463edb683ef33ddc729c1d690

commit 52e33ecce45082b463edb683ef33ddc729c1d690
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 21:43:03 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-26 21:56:44 +0000

    dev-qt/qtdeclarative: Add USE vulkan
    
    Bug: https://bugs.gentoo.org/703594
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtdeclarative/metadata.xml                  |  1 +
 .../qtdeclarative/qtdeclarative-5.14.1-r1.ebuild   | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b0cd43bc0f20d4c87d8f68c71a681fa1ba0db3

commit 67b0cd43bc0f20d4c87d8f68c71a681fa1ba0db3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 21:30:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-26 21:56:43 +0000

    dev-qt/qtgui: Add USE vulkan
    
    Bug: https://bugs.gentoo.org/703594
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/metadata.xml           |   1 +
 dev-qt/qtgui/qtgui-5.14.1-r3.ebuild | 191 ++++++++++++++++++++++++++++++++++++
 2 files changed, 192 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc1e4014446f2cd300868371937332f7842b765

commit 2bc1e4014446f2cd300868371937332f7842b765
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 20:38:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-26 21:56:42 +0000

    profiles: Mask dev-qt/qt{declarative,gui,wayland}[vulkan] except amd64/x86
    
    Bug: https://bugs.gentoo.org/703594
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/arch/amd64/package.use.mask | 6 ++++++
 profiles/arch/base/package.use.mask  | 7 +++++++
 profiles/arch/x86/package.use.mask   | 6 ++++++
 3 files changed, 19 insertions(+)
Comment 17 Larry the Git Cow gentoo-dev 2020-02-28 10:15:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=14ee15e92aa9df567c0e7245b4e83190fc7ebab7

commit 14ee15e92aa9df567c0e7245b4e83190fc7ebab7
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 20:37:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-28 10:07:43 +0000

    dev-qt/qtwayland: Add USE vulkan
    
    Closes: https://bugs.gentoo.org/703594
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwayland/metadata.xml               | 1 +
 dev-qt/qtwayland/qtwayland-5.14.9999.ebuild | 9 +++++++--
 dev-qt/qtwayland/qtwayland-5.15.9999.ebuild | 9 +++++++--
 3 files changed, 15 insertions(+), 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=820e61a0d802ecd9aa19c087971cc8fb7dccd1d6

commit 820e61a0d802ecd9aa19c087971cc8fb7dccd1d6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 21:43:03 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-28 10:11:33 +0000

    dev-qt/qtdeclarative: Add USE vulkan
    
    Bug: https://bugs.gentoo.org/703594
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtdeclarative/metadata.xml                   | 1 +
 dev-qt/qtdeclarative/qtdeclarative-5.14.9999.ebuild | 4 ++--
 dev-qt/qtdeclarative/qtdeclarative-5.15.9999.ebuild | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/proj/qt.git/commit/?id=d6e9b991107ae70de433ff9adab8db652575674a

commit d6e9b991107ae70de433ff9adab8db652575674a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-26 21:30:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-28 10:03:44 +0000

    dev-qt/qtgui: Add USE vulkan
    
    Bug: https://bugs.gentoo.org/703594
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/metadata.xml           | 1 +
 dev-qt/qtgui/qtgui-5.14.9999.ebuild | 7 +++++--
 dev-qt/qtgui/qtgui-5.15.9999.ebuild | 7 +++++--
 3 files changed, 11 insertions(+), 4 deletions(-)