Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660932 - dev-util/qdevicemonitor-1.0.1 : ui/MainWindow.cpp:166:33: error: invalid use of incomplete type const class QTabBar
Summary: dev-util/qdevicemonitor-1.0.1 : ui/MainWindow.cpp:166:33: error: invalid use ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Lopatin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.11
  Show dependency tree
 
Reported: 2018-07-11 16:48 UTC by Toralf Förster
Modified: 2018-07-14 13:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2018-07-11 16:48 UTC, Toralf Förster
Details
dev-util:qdevicemonitor-1.0.1:20180711-054644.log (dev-util:qdevicemonitor-1.0.1:20180711-054644.log,3.74 KB, text/plain)
2018-07-11 16:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,157.68 KB, text/plain)
2018-07-11 16:48 UTC, Toralf Förster
Details
environment (environment,80.91 KB, text/plain)
2018-07-11 16:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.60 KB, application/x-bzip)
2018-07-11 16:48 UTC, Toralf Förster
Details
qdevicemonitor-1.0.1-qt-5.11.patch (qdevicemonitor-1.0.1-qt-5.11.patch,1.31 KB, patch)
2018-07-13 10:14 UTC, Alexander Lopatin
Details | Diff
qdevicemonitor-1.0.1-r1 (qdevicemonitor-1.0.1-r1.ebuild,985 bytes, text/plain)
2018-07-13 10:16 UTC, Alexander Lopatin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-07-11 16:48:15 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Werror -Wfatal-errors -pedantic-errors -pedantic -Wextra -Wall -O3 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEBUG -DVERSION=\"1.0.1\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o MainWindow.o ui/MainWindow.cpp
ui/MainWindow.cpp: In member function ‘virtual void MainWindow::mouseReleaseEvent(QMouseEvent*)’:
ui/MainWindow.cpp:166:33: error: invalid use of incomplete type ‘const class QTabBar’
         const QPoint mousePos = tabBar.mapFrom(this, event->pos());
                                 ^~~~~~
compilation terminated due to -Wfatal-errors.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_20180706-210011

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-util/qdevicemonitor
[ebuild  N    ] dev-util/qdevicemonitor-1.0.1
Comment 1 Toralf Förster gentoo-dev 2018-07-11 16:48:18 UTC
Created attachment 539182 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-11 16:48:21 UTC
Created attachment 539184 [details]
dev-util:qdevicemonitor-1.0.1:20180711-054644.log
Comment 3 Toralf Förster gentoo-dev 2018-07-11 16:48:24 UTC
Created attachment 539186 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-11 16:48:27 UTC
Created attachment 539188 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-11 16:48:30 UTC
Created attachment 539190 [details]
etc.portage.tbz2
Comment 6 Alexander Lopatin 2018-07-13 10:14:14 UTC
Created attachment 539360 [details, diff]
qdevicemonitor-1.0.1-qt-5.11.patch
Comment 7 Alexander Lopatin 2018-07-13 10:16:27 UTC
Created attachment 539362 [details]
qdevicemonitor-1.0.1-r1

Thanks for reporting this issue! I've attached a patch and updated ebuild.
Comment 8 Andreas Sturmlechner gentoo-dev 2018-07-13 14:13:12 UTC
Did you submit this change upstream already?
Comment 9 Larry the Git Cow gentoo-dev 2018-07-14 13:13:44 UTC
The bug has been closed via the following commit(s):

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

commit e0c9976e13d4c193d2c849f5fc051ec64f35ca39
Author:     Alexander Lopatin <alopatindev@gmail.com>
AuthorDate: 2018-07-14 11:49:25 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-14 13:13:27 +0000

    dev-util/qdevicemonitor: fix Qt 5.11 specific issue and crash
    
    Closes: https://bugs.gentoo.org/660932
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9213

 ...cemonitor-1.0.1-crash-after-fresh-install.patch | 26 +++++++++++
 .../files/qdevicemonitor-1.0.1-qt-5.11.patch       | 24 ++++++++++
 .../qdevicemonitor/qdevicemonitor-1.0.1-r1.ebuild  | 51 ++++++++++++++++++++++
 3 files changed, 101 insertions(+)