Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283271 - dev-python/pywebkitgtk-1.1.6: webkit.so installed into directory not referenced by any .pth file. Missing linking against libgthread-2.0.so.
Summary: dev-python/pywebkitgtk-1.1.6: webkit.so installed into directory not referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High major
Assignee: Python Gentoo Team
URL: http://code.google.com/p/pywebkitgtk/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-30 18:13 UTC by Jürgen Geuter
Modified: 2009-08-30 22:32 UTC (History)
1 user (show)

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


Attachments
updated ebuild to fix the lack of webkit.pth file (pywebkitgtk-1.1.6-r1.ebuild,1.05 KB, text/plain)
2009-08-30 18:15 UTC, Jürgen Geuter
Details
My ebuild (pywebkitgtk-1.1.6-r1.ebuild,1.18 KB, text/plain)
2009-08-30 21:55 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Geuter 2009-08-30 18:13:52 UTC
If you install the pywebkitgtk-1.1.6 version you get a directory named "webkit-1.0" in the site-packages dir. That cannot be imported with the "import webkit" statement and breaks gwibber and other software relying on pywebkitgtk (if there is any ;)).
You can fix that by creating a site-packages/webkit.pth file containing the string "webkit-1.0" which makes imports work again.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jürgen Geuter 2009-08-30 18:15:10 UTC
Created attachment 202735 [details]
updated ebuild to fix the lack of webkit.pth file

This ebuild (which is also in my overlay [layman -a tante]) fixes the issue in a kinda hackish way. But it works till upstream fixed it.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-30 21:55:22 UTC
Created attachment 202745 [details]
My ebuild

Slightly more hacked ebuild here: it fixes a missing link against gthread-2.0 that would result in an undefined symbol when loading the extension. It also uses dodir and quotes the path but that's minor either way.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-30 21:59:24 UTC
My problem is reported as http://code.google.com/p/pywebkitgtk/issues/detail?id=39
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-30 22:15:37 UTC
1.1.5 and other versions also don't install any .pth file. 1.1.5 was installing webkit.so into site-packages/gtk-2.0 directory, so it was accidentally working due to existence of site-packages/pygtk.pth-2.0 file (which belongs to dev-python/pygobject).
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-30 22:29:40 UTC
(In reply to comment #1 and comment #2)

${PYVER} cannot be used for actions which should be executed for all enabled Python versions.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-30 22:32:26 UTC
Fixed in dev-python/pywebkitgtk-1.1.6-r1.