Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323687 - dev-python/PyQt4 doesn't build QtWebKit module when asked to
Summary: dev-python/PyQt4 doesn't build QtWebKit module when asked to
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 15:52 UTC by Andrej Kacian
Modified: 2010-06-13 10:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
PyQt4-4.7.3 build log (dev-python:PyQt4-4.7.3:20100612-151454.log,511.13 KB, text/plain)
2010-06-12 15:52 UTC, Andrej Kacian
Details
pyqt4 build log with --verbose (dev-python:PyQt4-4.7.3:20100612-180950.log,515.19 KB, text/plain)
2010-06-12 18:21 UTC, Andrej Kacian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian 2010-06-12 15:52:29 UTC
As seen in attached build log, PyQt4 (I tried versions 4.7.3, 4.7 and 4.6.2) doesn't build a QtWebKit module, even with webkit USE flag enabled, and qt-webkit package installed. I have no idea why. The configure.py script seems to be testing for a working C header file from qt-webkit package, but that file is installed over here.
Comment 1 Andrej Kacian 2010-06-12 15:52:54 UTC
Created attachment 235083 [details]
PyQt4-4.7.3 build log
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2010-06-12 16:38:55 UTC
Have you tried re-emerging qt-webkit?
Comment 3 Andrej Kacian 2010-06-12 16:41:02 UTC
I did. There was no change in list of installed files.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2010-06-12 17:27:42 UTC
Add --verbose inside the myconf variable somewhere near line 88 of PyQt4-4.7.3.ebuild. This way we should understand why the test for QtWebKit fails.
Comment 5 Andrej Kacian 2010-06-12 18:21:16 UTC
Created attachment 235109 [details]
pyqt4 build log with --verbose

Build log attached, but looks like this is causing it:

/usr/lib/qt4/libphonon.so: undefined reference to `QDataStream::QDataStream(QByteArray*, int)'

I can not remerge x11-libs/qt-phonon, because it wants qt-gui with qt3support USE flag, which I disabled so that I could install app-text/calibre (which fails to emerge, due to missing QtWebKit module from PyQt4).
I hope the above sentence make sense.
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2010-06-12 19:10:46 UTC
(In reply to comment #5)
> Created an attachment (id=235109) [details]
> pyqt4 build log with --verbose
> 
> Build log attached, but looks like this is causing it:
> 
> /usr/lib/qt4/libphonon.so: undefined reference to
> `QDataStream::QDataStream(QByteArray*, int)'
> 

Yep, this is the cause.

> I can not remerge x11-libs/qt-phonon, because it wants qt-gui with qt3support
> USE flag, which I disabled so that I could install app-text/calibre (which
> fails to emerge, due to missing QtWebKit module from PyQt4).
> I hope the above sentence make sense.
> 

No, it doesn't. Why do you need x11-libs/qt-gui _without_ qt3support?
Comment 7 Andrej Kacian 2010-06-12 19:40:26 UTC
Hm, now I'm not completely sure why. I remember some package requesting specifically that I disable qt3support flag for qt-opengl, so I thought it will be better to have it disabled for whole qt core (qt-core, qt-gui).

Anyway, I remerged qt-gui and qt-core with qt3support, remerged qt-phonon, PyQt4, and now calibre installed fine. This could probably be marked INVALID, unless there is something to improve in the dependencies to prevent this in the future.

Thanks for your time.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2010-06-13 10:16:47 UTC
PyQt4 dependencies are fine.
Closing as invalid since you were trying to build PyQt4 against a broken libphonon.