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

Bug 634544

Summary: dev-python/PythonQt-3.1 : ../.../com_trolltech_qt_core_builtin0.h:1288:120: error: WindowOkButtonHint is not a member of Qt
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Vladimir Pavljuchenkov (SpiderX) <spiderx>
Status: RESOLVED FIXED    
Severity: normal CC: jarausch, jbowler, proxy-maint
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:PythonQt-3.1:20171017-054915.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-10-17 16:23:15 UTC
In file included from ../generated_cpp_56/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:1:0:
../generated_cpp_56/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:1288:120: error: ‘WindowOkButtonHint’ is not a member of ‘Qt’
 Q_DECLARE_FLAGS(MouseEventFlags, MouseEventFlag)

                                                                                                                        ^ 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_abi32+64_20171014-180732

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

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

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

emerge -qpv dev-python/PythonQt
[ebuild  N    ] dev-python/PythonQt-3.1  USE="extensions -doc -webkit" PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_5" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2017-10-17 16:23:18 UTC
Created attachment 498978 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-17 16:23:21 UTC
Created attachment 498980 [details]
dev-python:PythonQt-3.1:20171017-054915.log
Comment 3 Toralf Förster gentoo-dev 2017-10-17 16:23:24 UTC
Created attachment 498982 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-17 16:23:27 UTC
Created attachment 498984 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-17 16:23:30 UTC
Created attachment 498986 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-17 16:23:33 UTC
Created attachment 498988 [details]
temp.tbz2
Comment 7 Helmut Jarausch 2017-12-03 16:17:43 UTC
Please upgrade this package to version 3.2
The patch PythonQt-3.1-commit-433-441.patch
doesn't apply any more but it's not necessary anymore.
Comment 8 John Bowler 2017-12-03 17:52:55 UTC
The problem is caused by the recent upgrade to Qt 5.9 (or maybe just 5.9.3); certain Windows CE specific hints were removed from the Qt namespace about a year ago (Window{Ok,Cancel}ButtonHint:

https://git.qt.io/consulting-usa/qtbase-xcb-rendering/commit/ [2be25273]

That commit suggests that the particular hints were only supported on WindowsCE and were "duplicating other enumeration values", but I suspect the problem only arises because PythonQt machine generates the mappings and therefore automatically generates references to everything.
Comment 9 Vladimir Pavljuchenkov (SpiderX) 2017-12-24 17:40:36 UTC
Resolved in https://github.com/gentoo/gentoo/commit/5858b9d7b5d16b36391de6fa768b37ebc828f0da