FS#27665 - [pyqt] missing QtHelp module

Attached to Project: Arch Linux
Opened by Werner Llácer (wllacer) - Thursday, 22 December 2011, 12:46 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 23 December 2011, 14:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

The last package for pyqt (both python2 and python3) lacks at least QtHelp module. It is present upstream
I did set priority in high because it crashes at least one other package (eric4 in my case)

Additional info:
* package version(s)
4.8.6-2
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 23 December 2011, 14:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  pyqt 4.9-2
Comment by Werner Llácer (wllacer) - Thursday, 22 December 2011, 13:03 GMT
I tried to generate PyQt from upstream. QtHelp is not generated (the check phase seems to decide not to do it). But for eric4 my machine is end user oriented
This are the qt packages i've installed
pacman -Q|grep qt
pyqt 4.8.6-2
python2-pyqt 4.8.6-2
qt 4.8.0-2
qtwebkit 2.2.0-3
What is missing ?
Comment by prash (prash) - Thursday, 22 December 2011, 18:43 GMT
eric5 also does not run with pyqt 4.8.6-2. The issue is likely in the original Riverbank package: QtHelp files were not generated when I tried installing directly off Riverbank's release.
Comment by OvsInc (OvsInc) - Friday, 23 December 2011, 06:36 GMT
Сonfirm. Error log:
Error information:
--------------------------------------------------------------------------------
2011-12-23, 10:35:50
--------------------------------------------------------------------------------
<class 'ImportError'>:
No module named QtHelp
--------------------------------------------------------------------------------
File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 264, in <module>
main()
File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 241, in main
from UI.UserInterface import UserInterface
File "/usr/lib/python3.2/site-packages/eric5/UI/UserInterface.py", line 37, in <module>
from Helpviewer.HelpWindow import HelpWindow
File "/usr/lib/python3.2/site-packages/eric5/Helpviewer/HelpWindow.py", line 15, in <module>
from PyQt4.QtHelp import QHelpEngine, QHelpEngineCore, QHelpSearchQuery

--------------------------------------------------------------------------------
Version Numbers:
Python 3.2.2
Qt 4.8.0
PyQt4 4.8.6
sip 4.13
QScintilla 2.6
WebKit 534.34
eric5 5.1.7 (rev b4f1f7ece569)

Platform: linux2
3.2.2 (default, Nov 21 2011, 16:51:01)
[GCC 4.6.2]
--------------------------------------------------------------------------------
Distribution Info:
/etc/arch-release

/etc/os-release
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="1;36"
Comment by Andrea Scarpino (BaSh) - Friday, 23 December 2011, 10:28 GMT
@Werner
you're not missing anything. The QtHelp module isn't built in our pyqt because their check fails for some reason. I'm on it.
Comment by Andrea Scarpino (BaSh) - Friday, 23 December 2011, 13:35 GMT
this is the output of pyqt build:

Checking to see if the QtHelp module should be built...
g++ -DQT_NO_DEBUG -I. -I/usr/mkspecs/linux-g++ -I/usr/include/QtHelp -I/usr/include -m64 -pipe -O2 -w -D_REENTRANT cfgtest_QtHelp.cpp -o cfgtest_QtHelp -L/usr/lib -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,-O1 -lQtHelp -lpthread
/usr/bin/ld: /tmp/ccgQLxOv.o: undefined reference to symbol 'QString::fromAscii_helper(char const*, int)'
/usr/bin/ld: note: 'QString::fromAscii_helper(char const*, int)' is defined in DSO /usr/lib/libQtCore.so.4 so try adding it to the linker command line
/usr/lib/libQtCore.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Comment by Andrea Scarpino (BaSh) - Friday, 23 December 2011, 13:55 GMT
This patch will fix the QtHelp build. I'll push it ASAP.
Comment by OvsInc (OvsInc) - Friday, 23 December 2011, 13:59 GMT
OK. But eric5 not run without PyQt.QtHelp
Comment by Andrea Scarpino (BaSh) - Friday, 23 December 2011, 14:03 GMT
If you rebuild pyqt with that patch you will get the QtHelp module.
Comment by OvsInc (OvsInc) - Friday, 23 December 2011, 14:18 GMT
Thanks.
But I have a problem.
At http://riverbankcomputing.co.uk/static/Downloads/PyQt4/ is missing PyQt-x11-gpl-4.8.6.tar.gz, there are PyQt-x11-gpl-4.9.tar.gz only.

Need update PyQt up to 4.9
Comment by Andrea Scarpino (BaSh) - Friday, 23 December 2011, 14:28 GMT
wait for pyqt-4.9-2 then. I'm already building it.

Loading...