Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380367 - [qting-edge] x11-libs/qt-webkit uses bundled copy of sqlite
Summary: [qting-edge] x11-libs/qt-webkit uses bundled copy of sqlite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-08-23 12:58 UTC by Georg Rudoy
Modified: 2011-08-26 15:48 UTC (History)
2 users (show)

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


Attachments
Patch for qt-webkit-4.8.0_beta1 (webkit-system-sqlite.patch,553 bytes, text/plain)
2011-08-23 12:58 UTC, Georg Rudoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Rudoy 2011-08-23 12:58:49 UTC
Created attachment 284351 [details]
Patch for qt-webkit-4.8.0_beta1

qt-webkit is built without the -system-sqlite option, and due to Qt modularization in Gentoo its build scripts seem to be unable to derive the correct configure options themselves.

As the result, qt-webkit ends up being built with its own copy of SQLite, and that messes things a lot when webkit is used in parallel with QtSql module and the QSQLITE driver (which uses system SQLite of another version): at best, the latter misbehaves and fails to work, at worst, the whole application segfaults. This is reproducible for me with at least Qt 4.8 beta1.

As a possible solution, I've added the -system-sqlite option to the list of options for qt-webkit, and that seems to fix the issue: everything builds and works correctly, both Qt Webkit and the QtSql module with the QSQLITE driver.

It's worth noting that other qt-webkit ebuilds also don't contain the -system-sqlite flag, so maybe it's worth adding it there as well.

+++ This bug was initially created as a clone of Bug #344609 +++
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-08-23 21:49:09 UTC
Right, I forgot to backport this patch from portage. I will take care of it
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-08-26 15:48:05 UTC
This is now fixed in all qt-webkit ebuilds