Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711476 - dev-qt/qtwayland-5.14.1-r1: qwaylanddisplay_p.h:69:10: fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file or directory
Summary: dev-qt/qtwayland-5.14.1-r1: qwaylanddisplay_p.h:69:10: fatal error: QtXkbComm...
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: PullRequest
Depends on:
Blocks: 699328
  Show dependency tree
 
Reported: 2020-03-04 05:38 UTC by Duncan
Modified: 2020-03-18 21:55 UTC (History)
1 user (show)

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


Attachments
failing build log (dev-qt:qtwayland-5.14.1-r1:20200304-043952.log,611.50 KB, text/plain)
2020-03-04 05:38 UTC, Duncan
Details
emerge --verbose --info qtwayland (emerge.info,8.33 KB, text/plain)
2020-03-04 05:44 UTC, Duncan
Details
qtwayland-5.14.1-r1.tar.gz (qtwayland-5.14.1-r1.tar.gz,38.06 KB, application/octet-stream)
2020-03-04 08:34 UTC, Frank Krömmelbein
Details
qtwayland-retest.tar.gz (qtwayland-retest.tar.gz,31.36 KB, application/octet-stream)
2020-03-10 09:08 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2020-03-04 05:38:07 UTC
Created attachment 617018 [details]
failing build log

As I have qtwayland-5.14.1 merged currently, this bug is almost certainly a followup to bug #703594, which fix commits introduced USE=vulkan to qtgui, qtdeclarative and qtwayland.  I have USE=vulkan set globally so of course the update tries to build with USE=vulkan.

qtgui and qtdeclarative merged fine, but qtwayland fails.

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

The log is attached.  emerge --info to be attached.  Here's the error:

x86_64-pc-linux-gnu-g++ -c -march=native -O2 -fgcse-sm -fgcse-las -fgcse-after-reload -ftree-vectorize -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_WAYLANDCLIENT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB -DQT_LINUXACCESSIBILITY_SUPPORT_LIB -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../shared -Ihardwareintegration -Ishellintegration -Iinputdeviceintegration -Iglobal -I../../include -I../../include/QtWaylandClient -I../../include/QtWaylandClient/5.14.1 -I../../include/QtWaylandClient/5.14.1/QtWaylandClient -I/include/qt5/QtGui/5.14.1 -I/include/qt5/QtGui/5.14.1/QtGui -I/include/qt5 -I/include/qt5/QtGui -I/include/qt5/QtCore/5.14.1 -I/include/qt5/QtCore/5.14.1/QtCore-I/include/qt5/QtCore -I/include/qt5/QtFontDatabaseSupport -I/include/qt5/QtFontDatabaseSupport/5.14.1 -I/include/qt5/QtFontDatabaseSupport/5.14.1/QtFontDatabaseSupport -I/include/qt5/QtEventDispatcherSupport -I/include/qt5/QtEventDispatcherSupport/5.14.1 -I/include/qt5/QtEventDispatcherSupport/5.14.1/QtEventDispatcherSupport -I/include/qt5/QtThemeSupport -I/include/qt5/QtThemeSupport/5.14.1 -I/include/qt5/QtThemeSupport/5.14.1/QtThemeSupport -I/include/qt5/QtLinuxAccessibilitySupport -I/include/qt5/QtLinuxAccessibilitySupport/5.14.1 -I/include/qt5/QtLinuxAccessibilitySupport/5.14.1/QtLinuxAccessibilitySupport -I/include/qt5/QtAccessibilitySupport -I/include/qt5/QtAccessibilitySupport/5.14.1 -I/include/qt5/QtAccessibilitySupport/5.14.1/QtAccessibilitySupport -I/include/qt5/QtServiceSupport -I/include/qt5/QtServiceSupport/5.14.1 -I/include/qt5/QtServiceSupport/5.14.1/QtServiceSupport -I/include/qt5/QtDBus -I.moc -isystem /usr/include/libdrm -isystem /usr/include/at-spi-2.0 -I/usr/lib64/libffi/include -isystem /usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -isystem /usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/lib64/qt5/mkspecs/linux-g++ -o .obj/qwaylandsubsurface.o qwaylandsubsurface.cpp
In file included from qwaylandscreen.cpp:42:
qwaylanddisplay_p.h:69:10: fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file or directory
69 | #include <QtXkbCommonSupport/private/qxkbcommon_p.h>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:4314: .obj/qwaylandscreen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from qwaylandextendedsurface.cpp:44:
qwaylanddisplay_p.h:69:10: fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file or directory
69 | #include <QtXkbCommonSupport/private/qxkbcommon_p.h>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:4744: .obj/qwaylandextendedsurface.o] Error 1
In file included from qwaylandwindow.cpp:43:
qwaylanddisplay_p.h:69:10: fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file or directory
69 | #include <QtXkbCommonSupport/private/qxkbcommon_p.h>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:4130: .obj/qwaylandwindow.o] Error 1
Comment 1 Duncan 2020-03-04 05:44:53 UTC
Created attachment 617020 [details]
emerge --verbose --info qtwayland
Comment 2 Duncan 2020-03-04 05:52:56 UTC
Unfortunately it won't let me try USE=-vulkan without remerging qtgui with USE=-vulkan as well.  That's too much to try ATM as I'm building chromium, which already puts me gigs into swap. =:^(
Comment 3 Frank Krömmelbein 2020-03-04 08:31:13 UTC
I can confirm this 
USE='-libinput vulkan -xcomposite' failed for =dev-qt/qtwayland-5.14.1-r1
USE='-libinput vulkan xcomposite' failed for =dev-qt/qtwayland-5.14.1-r1

But IUSE from ebuild forces +libinput:
IUSE="+libinput vulkan xcomposite"

And with +libinput and +vulkan, this passed in my test run:
USE='libinput vulkan -xcomposite' succeeded for =dev-qt/qtwayland-5.14.1-r1
USE='libinput vulkan xcomposite' succeeded for =dev-qt/qtwayland-5.14.1-r1
Comment 4 Frank Krömmelbein 2020-03-04 08:34:44 UTC
Created attachment 617026 [details]
qtwayland-5.14.1-r1.tar.gz

Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.29-r7, 4.19.97-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.97-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.6
KiB Mem:    16295512 total,  15418276 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: b1f71d164dc87dcbe64f0bda01334081c4096da5

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /mnt/sda6/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

mylocal
    location: /usr/local/portage
    masters: gentoo
    priority: 0

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/mnt/sda3/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi activities alsa amd64 berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cdr cec chipcard chm cli corefonts crypt cryptsetup css cups cxx dav1d dbus declarative device-mapper djvu dmraid dri dts dvb dvd dvdr ebook elogind emboss encode epub exif f2fs fat ffmpeg flac fortran fuse gdbm gif google gpg gphoto2 gpm gtk iconv icu idn infinality ipv6 jfs jpeg kde kipi kwallet lcms ldap libnotify libtirpc linguas_de lirc lm-sensors logrotate lvm lz4 lzma lzo mad mdadm mjpeg mng mobi mp3 mp4 mpeg mtp multilib multimedia ncurses networkmanager nfs nls nptl ntfs ogg opencl openexr opengl openmp pam pango pcre pdf phonon pim plasma plymouth pm-utils png policykit postscript ppds qml qt5 rar raw readline reiser4 reiserfs rtmp samba scanner sdl seccomp semantic-desktop sftp smartcard speech spell spice split-usr ssl startup-notification svg taglib tcpd thumbnail tiff touchpad truetype udev udf udisks unicode upower usb v4l vaapi vcd vdpau vnc vorbis vulkan wayland webp widgets wifi wmf wxwidgets x264 x265 xattr xcb xcomposite xfs xml xpm xv xvid xvmc yubikey zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 emu pc qemu" INPUT_DEVICES="evdev keyboard joystick mouse synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa nouveau nvidia i965 radeon radeonsi amdgpu r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-qt/qtwayland-5.14.1-r1::gentoo was built with the following:
USE="libinput vulkan xcomposite -debug -test" ABI_X86="(64)"
FEATURES="sandbox userfetch binpkg-docompress ebuild-locks pid-sandbox usersync protect-owned preserve-libs sfperms config-protect-if-modified collision-protect fixlafiles binpkg-dostrip multilib-strict merge-sync qa-unresolved-soname-deps parallel-fetch network-sandbox unknown-features-warn strict unmerge-orphans assume-digests ipc-sandbox news usersandbox distlocks binpkg-logs unmerge-logs xattr userpriv"
Comment 5 Duncan 2020-03-04 12:39:09 UTC
(In reply to Frank Krömmelbein from comment #3)
> But IUSE from ebuild forces +libinput:
> IUSE="+libinput vulkan xcomposite"

Thanks for pointing out IUSE=+libinput.  I wasn't aware of the plus defaulting it to on (due to USE=-*...) and had it off.

> And with +libinput and +vulkan, this passed in my test run:
> USE='libinput vulkan -xcomposite' succeeded for =dev-qt/qtwayland-5.14.1-r1
> USE='libinput vulkan xcomposite' succeeded for =dev-qt/qtwayland-5.14.1-r1

Confirmed the latter (now that chromium finally finished building so I could, of course rebuilding qtgui with USE=libinput first).

So the bug seems to show up with USE="vulkan -libinput", but not with USE="vulkan libinput".

Given the qt_use_disable_config libinput xkbcommon (list of files) in the ebuild, and the xkbcommon-related error with USE=-libinput, I'm guessing that list of files needs expanded a bit.  I do have vulkan installed, but for some reason wasn't triggering bug #703594, so presumably wasn't trying to build for vulkan, which is where the additional files are that need added to the list, so this bug wasn't triggering either... until the USE=vulkan forced trying to build them too.
Comment 6 Larry the Git Cow gentoo-dev 2020-03-08 12:05:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5562972f61c1c6484a516c33515c1333b1f3cf

commit 9d5562972f61c1c6484a516c33515c1333b1f3cf
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-03-08 10:54:43 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-08 12:04:41 +0000

    dev-qt/qtwayland: Try to fix build with USE -libinput
    
    Bug: https://bugs.gentoo.org/711476
    Package-Manager: Portage-2.3.92, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 7 Andreas Sturmlechner gentoo-dev 2020-03-08 12:09:56 UTC
Please try again after syncing.
Comment 8 Frank Krömmelbein 2020-03-10 09:08:19 UTC
Created attachment 617884 [details]
qtwayland-retest.tar.gz

Still fails for me. New traces added.
Comment 9 Chiitoo gentoo-dev 2020-03-17 21:39:11 UTC
It looks like this might be caused by 'dev-qt/qtgui[X]' even with USE="-libinput", which means it'll install 'xkbcommon' libs and 'dev-qt/qtwayland' then picks it up from there.

Building qtgui with USE="eglfs -libinput -X" first allows for qtwayland to build with USE="-libinput" as it is at the time of writing.

Not yet sure if there is a clean way out of this, while also keeping all the USE-flags.
Comment 10 Larry the Git Cow gentoo-dev 2020-03-18 21:51:00 UTC
The bug has been closed via the following commit(s):

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

commit 085ca84d81440d0d31296a0f99e8b72920099ac4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-03-17 22:36:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-18 11:06:55 +0000

    dev-qt/qtwayland: Drop USE libinput
    
    USE -libinput is broken with dev-qt/qtgui[-libinput,X], would also need -X.
    
    Closes: https://bugs.gentoo.org/711476
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwayland/qtwayland-5.14.9999.ebuild | 14 ++------------
 dev-qt/qtwayland/qtwayland-5.15.9999.ebuild | 14 ++------------
 2 files changed, 4 insertions(+), 24 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2020-03-18 21:55:24 UTC
The bug has been closed via the following commit(s):

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

commit cea8b36a07cc686cf8f3af9c4312fdfaacd0a5fb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-03-18 21:53:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-18 21:54:09 +0000

    dev-qt/qtwayland: Drop USE libinput
    
    USE -libinput is broken with dev-qt/qtgui[-libinput,X], would also need -X.
    
    Closes: https://bugs.gentoo.org/711476
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwayland/qtwayland-5.14.1-r2.ebuild | 44 +++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)