Summary: | mythtv-0.18.1-r2.ebuild incorrectly picks up qt4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dan A. Dickey <dan.dickey> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dan A. Dickey
2005-11-30 10:08:48 UTC
Ok, I don't think I can actually blame this on the ebuild. It looks to be more like problems with mythtv and the way that it calls qmake. I'm thinking that if I linked /usr/bin/qmake to /usr/qt/3/bin/qmake, that it'd probably emerge ok. Then revert /usr/bin/qmake back to normal again. If anyone tries this, please drop a comment here. I gave this a try last night and it worked. I symlinked /usr/bin/qmake to /usr/qt/3/bin/qmake and then did the re-emerge of mythtv and it succeeded. I them moved my saved copy of the real /usr/bin/qmake back and things are more or less back to normal. Not normal because mythbackend still can't connect to the database due to: # mythbackend QSqlDatabase: QMYSQL3 driver not loaded QSqlDatabase: available drivers: 2005-12-01 07:21:41.817 New DB connection, total: 1 2005-12-01 07:21:41.818 Unable to connect to database! 2005-12-01 07:21:41.818 No error type from QSqlError? Strange... 2005-12-01 07:21:41.819 Failed to init MythContext, exiting. Ok, I believe I have my qt/mysql problem figured out now. I upgraded to mysql 5, and rebuilt qt, ran revdep-rebuild, etc etc... However, mythtv was still using qt-3.3.4-r8 (as it should have been doing) - however, the sqlplugin for this version of qt was still referencing the *old* libmysqlclient.so... which no longer existed. Finally it dawned on me that revdep-rebuild wasn't catching the dependency and hadn't rebuilt qt-3.3.4-r8. I did this manually, and now mythbackend can at least connect to the mysql database again. Problem solved. Though - this problem with revdep-rebuild not catching the issue should probably be a separate bug. This bug I'll leave open as I think that the mythtv should either: 1. upstream mythtv should be fixed to properly call qmake 2. the ebuild should patch the mythtv source to properly call qmake It does it wrong on systems that have both qt-3 and qt-4 installed. And of course, mythtv won't compile against qt-4. |