Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641964 - x11-misc/qt5ct-0.33 - In file included from qt5ctplatformtheme.cpp:50: /usr/include/qt5/QtThemeSupport/5.9.3/QtThemeSupport/private/qdbusmenutypes_p.h:56:10: fatal error: QDBusArgument: No such file or directory
Summary: x11-misc/qt5ct-0.33 - In file included from qt5ctplatformtheme.cpp:50: /usr/i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Coacher
URL: https://sourceforge.net/p/qt5ct/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-21 19:19 UTC by Karl Lindén
Modified: 2018-03-11 12:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,11.47 KB, text/plain)
2017-12-21 19:20 UTC, Karl Lindén
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Lindén 2017-12-21 19:19:22 UTC
Compilation of =x11-misc/qt5ct fails with:

x86_64-pc-linux-gnu-g++ -c -O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DBUS -DQT5CT_DATADIR=\"/usr/share\" -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I.. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtThemeSupport -isystem /usr/include/qt5/QtThemeSupport/5.9.3 -isystem /usr/include/qt5/QtThemeSupport/5.9.3/QtThemeSupport -isystem /usr/include/qt5/QtGui/5.9.3 -isystem /usr/include/qt5/QtGui/5.9.3/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore/5.9.3 -isystem /usr/include/qt5/QtCore/5.9.3/QtCore -isystem /usr/include/qt5/QtCore -I.build/moc -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o .build/obj/qt5ctplatformtheme.o qt5ctplatformtheme.cpp
In file included from /usr/include/qt5/QtThemeSupport/5.9.3/QtThemeSupport/private/qdbusplatformmenu_p.h:64:0,
                 from /usr/include/qt5/QtThemeSupport/5.9.3/QtThemeSupport/private/qdbusmenubar_p.h:54,
                 from qt5ctplatformtheme.cpp:50:
/usr/include/qt5/QtThemeSupport/5.9.3/QtThemeSupport/private/qdbusmenutypes_p.h:56:10: fatal error: QDBusArgument: No such file or directory
 #include <QDBusArgument>
          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:386: .build/obj/qt5ctplatformtheme.o] Error 1
Comment 1 Karl Lindén 2017-12-21 19:20:25 UTC
Created attachment 511420 [details]
build.log
Comment 2 Karl Lindén 2017-12-21 19:22:34 UTC
# emerge -pv '=x11-misc/qt5ct-0.33'
receiving incremental file list
Packages
      3,617,619 100%  230.00MB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 3,618,585 bytes  7,237,256.00 bytes/sec
total size is 3,617,619  speedup is 1.00

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-misc/qt5ct-0.33::gentoo  USE="-dbus" 0 KiB

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


# emerge --info '=x11-misc/qt5ct-0.33'
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r3, 4.14.6-rt-rt7 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.6-rt-rt7-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.4.1
KiB Mem:     8176732 total,   4799052 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Thu, 21 Dec 2017 07:35:29 +0000
Head commit of repository gentoo: 22788ad64bccec9835648042b2496c33216baa18

Head commit of repository ring-overlay: 2265f968d5f6a0115d06d1be4acaaed418556e6e

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git@github.com:lilrc/gentoo.git
    priority: -1000

kli
    location: /home/kalle/kli-overlay
    masters: gentoo
    priority: 0

ring-overlay
    location: /usr/local/portage/ring-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/ring-overlay.git
    masters: gentoo

proaudio
    location: /home/kalle/proaudio
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @MISC-FREE freedist"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --getbinpkg=y                      --binpkg-changed-deps=y --binpkg-respect-use=y                      --buildpkg-exclude app-admin/lilrc-update                      --buildpkg-exclude app-emulation/virtualbox-modules                      --buildpkg-exclude sys-fs/vhba                      --buildpkg-exclude virtual/*"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo"
INSTALL_MASK="/etc/systemd /usr/lib/systemd"
LANG="sv_SE.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 alsa amd64 aspell bindist cairo cd cdda cddb cdr cracklib crypt cups curl djvu dri drm dssi dvd dvdr dvi exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame lapack libkms libnotify libsamplerate mad matplotlib mp3 mpeg netifrc nls nptl octave ogg opengl openmp openrc orc pam pdf png postscript qt4 qt5 readline sndfile spell ssl startup-notification subversion svg svn system-harfbuzz system-jpeg system-libevent system-libvpx system-sqlite theora threads thunar tiff truetype udev udisks unicode usb v4l vaapi vdpau vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="sv sv-SE" LINGUAS="sv sv_SE" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby24" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nouveau"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Coacher 2017-12-22 22:20:35 UTC
Did you had qtgui built with USE=dbus and now rebuilt it with USE=-dbus?
Comment 4 Karl Lindén 2017-12-23 07:28:55 UTC
(In reply to Coacher from comment #3)
> Did you had qtgui built with USE=dbus and now rebuilt it with USE=-dbus?

I have always built qtgui with USE=-dbus.

$ emerge -pv qtgui                                                                                                                                                                                                     
receiving incremental file list
Packages
      3,617,619 100%  202.94MB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 3,618,585 bytes  7,237,256.00 bytes/sec
total size is 3,617,619  speedup is 1.00

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary   R    ] dev-qt/qtgui-5.9.3-2:5/5.9::gentoo  USE="gif jpeg png udev xcb -accessibility -dbus -debug -egl -eglfs -evdev -gles2 -ibus -libinput {-test} -tslib -tuio -vnc" 0 KiB

Total: 1 package (1 reinstall, 1 binary), Size of downloads: 0 KiB
Comment 5 Coacher 2018-01-21 20:24:14 UTC
Ok. Reproduced. Fix is included in qt5ct-0.34.
Comment 6 Larry the Git Cow gentoo-dev 2018-03-11 12:49:35 UTC
The bug has been closed via the following commit(s):

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

commit 91bee87446cbd124cea14e0b6dca87e5726ea017
Author:     Ilya Tumaykin <itumaykin@gmail.com>
AuthorDate: 2018-03-11 11:57:19 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2018-03-11 12:49:25 +0000

    x11-misc/qt5ct: verbump to 0.35
    
    Closes: https://bugs.gentoo.org/641964
    Closes: https://github.com/gentoo/gentoo/pull/7420
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 x11-misc/qt5ct/Manifest                            |  1 +
 .../files/qt5ct-0.35-fix-qtdbus-automagic.patch    | 39 ++++++++++++++++
 x11-misc/qt5ct/qt5ct-0.35.ebuild                   | 54 ++++++++++++++++++++++
 3 files changed, 94 insertions(+)