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"
Created attachment 498978 [details] emerge-info.txt
Created attachment 498980 [details] dev-python:PythonQt-3.1:20171017-054915.log
Created attachment 498982 [details] emerge-history.txt
Created attachment 498984 [details] environment
Created attachment 498986 [details] etc.portage.tbz2
Created attachment 498988 [details] temp.tbz2
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.
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.
Resolved in https://github.com/gentoo/gentoo/commit/5858b9d7b5d16b36391de6fa768b37ebc828f0da