Summary: | dev-python/PyQt5-5.5 fails to build: PyQt-gpl-5.5-python3_4/QtWebKitWidgets/sipQtWebKitWidgetsQWebHitTestResult.cpp:553:42: error: ‘const class QWebHitTestResult’ has no member named ‘linkTitleString’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Scott Alfter <scott> |
Component: | [OLD] Development | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex, gnu_andrew, paul |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=564560 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 569924 | ||
Attachments: |
emerge --info
emerge -pqv build log output of: emerge --info '=dev-python/PyQt5-5.5::gentoo' emerge -pqv Build log |
Description
Scott Alfter
2015-10-23 18:01:09 UTC
Created attachment 415288 [details]
emerge --info
Created attachment 415290 [details]
emerge -pqv
Created attachment 415292 [details]
build log
This doesn't make any sense... the method is there... no #ifdef's, nothing... Try without ccache please. I have also come across this problem. Also, it is re-installing PyQt5-5.5 having previously successfully compiled it. I am not using ccache. I'll post the relevant attachments shortly. Created attachment 415382 [details]
output of: emerge --info '=dev-python/PyQt5-5.5::gentoo'
Created attachment 415384 [details]
emerge -pqv
Tried "sudo FEATURES= emerge -1 PyQt5" just now...still failed. Trying again with FEATURES commented out of /etc/portage/make.conf. The weird thing is that this is a recompile. PyQt5 is currently installed (which means it was able to compile in the past), but something (recompile of a dependency?) triggered a rebuild of PyQt5, and now it doesn't want to rebuild. On another box, it recompiled yesterday without issue. I tried rebuilding it on this box with the same set of USE flags yesterday, and it still failed. Commented out the FEATURES line in /etc/portage/make.conf to disable ccache...still failed to compile. Created attachment 415386 [details]
Build log
Could be related to the qt upgrade. Did you recently upgrade from 5.4.2 to 5.5.1? Check your emerge.log please. Upgrade to qt 5.5.1 was carried out on 19/10: Fri Jun 5 22:39:59 2015 >>> dev-qt/qtcore-5.4.1 Sat Jun 20 08:50:48 2015 >>> dev-qt/qtcore-5.4.2 Mon Oct 19 07:27:30 2015 >>> dev-qt/qtcore-5.5.1 PyQt5.5 was previously installed on 28th August: Sun Feb 22 14:29:46 2015 >>> dev-python/PyQt5-5.4 Fri Aug 28 21:45:59 2015 >>> dev-python/PyQt5-5.5 So successful installation had previously occurred under version of qt. Does sip-4.17 change anything? (I expect not) (In reply to Paul Jewell from comment #12) > Upgrade to qt 5.5.1 was carried out on 19/10: > > Fri Jun 5 22:39:59 2015 >>> dev-qt/qtcore-5.4.1 > Sat Jun 20 08:50:48 2015 >>> dev-qt/qtcore-5.4.2 > Mon Oct 19 07:27:30 2015 >>> dev-qt/qtcore-5.5.1 > wait, this is qtcore... what about qtwebkit? I suspect you still have 5.4.2 You're right - qtwebkit is still at 5.4.2. I am currently upgrading sip to 4.17, and if that doesn't change anything, I'll give upgrade qtwebkit to 5.5.1 and try again. Then I'm sure the reason is the misalignment between qtcore and qtwebkit versions. QWebHitTestResult::linkTitleString was added in 5.5. There is a conditional in the .sip file, but I guess it looks at the version of qtcore, assuming that all qt modules are at the same version. Good morning David. I can confirm that with qtwebkit at 5.5.1, the package emerges successfully. Thanks for identifying the issue - I am going to review how Qt5 here if keyworded to avoid other potential issues of this nature. Something recently prompted an upgrade of Qt 5 from stable to testing, so the following were added to /etc/portage/package.accept_keywords after something similar to "emerge -auND --backtrack=50 world" dev-qt/qtxml:5 ~* dev-qt/qtcore:5 ~* dev-qt/qtgui:5 ~* dev-qt/qtsql:5 ~* dev-qt/qtdbus:5 ~* dev-qt/qtconcurrent:5 ~* dev-qt/qtnetwork:5 ~* dev-qt/qtwidgets:5 ~* dev-qt/qtopengl:5 ~* dev-qt/qttest:5 ~* dev-qt/qtprintsupport:5 ~* qtwebkit wasn't included among them. I'm adding it now, upgrading, and then rebuilding PyQt5. If this ends up fixing it (and it sounds like it might), that would suggest that there's a missing or outdated dependency somewhere. qtwebkit built OK, but PyQt5 still won't. Output from "equery list qt\* | grep 5.4" shows the following: dev-qt/qtdeclarative-5.4.2-r1 dev-qt/qtmultimedia-5.4.2-r1 dev-qt/qtquick1-5.4.2 dev-qt/qtquickcontrols-5.4.2 dev-qt/qtscript-5.4.2 dev-qt/qtsvg-5.4.2 dev-qt/qtxmlpatterns-5.4.2 Probably need to add those to /etc/portage/package.accept_keywords and try again... After the last few changes, PyQt5 has finally rebuilt without error. If qtcore:5 is set ~KEYWORD, all qt*:5 packages need to be set the same way. In my case, I ended up with the following...YMMV, depending on what other packages you have installed: dev-qt/qtxml:5 ~* dev-qt/qtcore:5 ~* dev-qt/qtgui:5 ~* dev-qt/qtsql:5 ~* dev-qt/qtdbus:5 ~* dev-qt/qtconcurrent:5 ~* dev-qt/qtnetwork:5 ~* dev-qt/qtwidgets:5 ~* dev-qt/qtopengl:5 ~* dev-qt/qttest:5 ~* dev-qt/qtprintsupport:5 ~* dev-qt/qtwebkit:5 ~* dev-qt/qtdeclarative:5 ~* dev-qt/qtmultimedia:5 ~* dev-qt/qtquick1:5 ~* dev-qt/qtquickcontrols:5 ~* dev-qt/qtscript:5 ~* dev-qt/qtsvg:5 ~* dev-qt/qtxmlpatterns:5 ~* Most packages are revbumped now to prevent this from happening in the future. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf3cf2b99bb97b0ac13850a3537c72d0cc389f12 *** Bug 581564 has been marked as a duplicate of this bug. *** |