Created attachment 522430 [details, diff] PyQt5 5.10 patch to require Qt 5.10 Currently PyQ5.10 has a building failure because needs a function called chopped which isn't available until Qt5.10, as can be seen here: https://forums.gentoo.org/viewtopic-p-8179402.html?sid=d4db447840eb780742cdc36268d6c384 I suggest to add dependency of Qt 5.10 for PyQt 5.10, or just mask it. Adding a patch modifying the minimal qt version. Not tested.
I do have the same compile error. Please reenable dev-python/PyQt5-5.10.0 because that earlier ebuild just works.
On the other hand it looks like an error of upstream, because it is just a Point.Point release and should therefore depend on longterm qt-4.9 further on ?
*** Bug 649644 has been marked as a duplicate of this bug. ***
stupid side question: the 5.10 version is in the qt overlay, and requires that I set QT5_BUILD_TYPE as a keyword before I can emerge the dependencies (specifically, emerge tells me that qtcore-5.9999 is masked by a missing keyword). Where do I set that to enable the 5.10 (or, apparently, even the 5.11) version?
Please see bug 646580. AFAICT, the ebuild should not depend on Qt 5.10 because PyQt is backwards compatible. The aforementioned bug was fixed, but the issue was reintroduced with the version bump.
(In reply to Nikos Chantziaras from comment #5) > Please see bug 646580. AFAICT, the ebuild should not depend on Qt 5.10 > because PyQt is backwards compatible. The aforementioned bug was fixed, but > the issue was reintroduced with the version bump. I think the ebuild needs a similar patch than the now removed 5.10 had. The Timeline in sip/QtCore/QtCoremod.sip now has what appears to be a guard value: > %Timeline {Qt_5_0_0 ... Qt_5_9_2 Qt_5_9_3 Qt_5_9_99 Qt_5_10_0 Qt_5_10_1} but reading the sip documentation leads me to believe that that doesn't work. Those are just tag names, so the conditional processing doesn't know that they have semantic ordering and that Qt_5_9_4 would belong between 3 and 99. Adding it there does remove the chopped-function from the generated sources. This is with dev-python/sip-4.19.7 but I don't see any changes in 4.19.8 that would change the functionality.
Created attachment 522466 [details, diff] qt594.patch I created this patch, which works for me. It is basically the same as the patch for the previous version referenced in comment 5 with the addition of Qt_5_10_1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce044e2ae59af9d177e5c469e4be6ca6222616b9 commit ce044e2ae59af9d177e5c469e4be6ca6222616b9 Author: Davide Pesavento <pesa@gentoo.org> AuthorDate: 2018-03-06 04:52:37 +0000 Commit: Davide Pesavento <pesa@gentoo.org> CommitDate: 2018-03-06 04:52:37 +0000 dev-python/PyQt5: fix build against Qt 5.9.4 Closes: https://bugs.gentoo.org/649600 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/PyQt5/PyQt5-5.10.1.ebuild | 1 + dev-python/PyQt5/files/PyQt5-5.10.1-timeline.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+)