[MacPorts] #37537: qt4-mac and qt4-mac-sqlite3-plugin create trouble
MacPorts
noreply at macports.org
Sat Jan 5 06:45:17 PST 2013
#37537: qt4-mac and qt4-mac-sqlite3-plugin create trouble
-----------------------------------------------+-------------------------
Reporter: mk@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: qt4-mac , qt4-mac-sqlite3-plugin |
-----------------------------------------------+-------------------------
Description changed by mk@…:
Old description:
> There are two intertwined scenarios when I ran into trouble with qt4-mac
> and qt4-mac-sqlite3-plugin:
>
> ----
>
> 1) Developing the update of skrooge to version 1.4.0:
>
> At first I hadn't qt4-mac-sqlite3-plugin installed during upgrading port
> skrooge from 1.3.3 to 1.4.0 and here is what I got when I tried to start
> the app:
> {{{
> QSqlDatabase: QSQLITE driver not loaded
> QSqlDatabase: available drivers: QSQLITE3 QMYSQL3 QMYSQL
> QSqlQuery::exec: database not open
> ##WARNING: PRAGMA table_info( doctransaction );
> ## returns :Driver not loaded Driver not loaded
> }}}
> Please notice that QSQLITE3 is already listed as available driver!!! BUT,
> as you can see above it cannot be used. Weird, isn't it? (1)
>
> This problem disappeared when I installed port qt4-mac-sqlite3-plugin -
> which I then added as a necessary dependency for skrooge!
>
> '''Nice, but strange, since it caused my 2nd problem...
>
> ----
>
> 2) Running tests of kmymoney4-devel with qt4-mac-sqlite3-plugin installed
> {{{
> $ git clone git://anongit.kde.org/kmymoney
> $
> $ cd kmymoney; mkdir build; cd build; cmake .. # this of course only
> succeeds if kmymoney-devel and all its deps are installed in MacPorts
> already
> $
> $ ccmake .. # enable test by setting KDE4_BUILD_TESTS to ON
> $
> $ make
> $
> $ /opt/macports-test/bin/ctest --force-new-ctest-process -R
> databasemgrtest -V
> UpdateCTestConfiguration from :/Users/marko/WC/GIT/kmymoney.homeview-
> additional_columns/build/DartConfiguration.tcl
> UpdateCTestConfiguration from :/Users/marko/WC/GIT/kmymoney.homeview-
> additional_columns/build/DartConfiguration.tcl
> Test project /Users/marko/WC/GIT/kmymoney.homeview-
> additional_columns/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 20
> Start 20: kmymoney-mymoneydatabasemgrtest
>
> 20: Test command: /Users/marko/WC/GIT/kmymoney.homeview-
> additional_columns/build/kmymoney/mymoney/storage/mymoneydatabasemgrtest.app/Contents/MacOS/mymoneydatabasemgrtest
> 20: Test timeout computed to be: 9.99988e+06
> 20: ********* Start testing of MyMoneyDatabaseMgrTest *********
> 20: Config: Using QTest library 4.8.4, Qt 4.8.4
> 20: PASS : MyMoneyDatabaseMgrTest::initTestCase()
> .
> .
> .
> 20: PASS : MyMoneyDatabaseMgrTest::testReparentAccount()
> 20: QFATAL : MyMoneyDatabaseMgrTest::testAddTransactions() Received
> signal 11
> 20: FAIL! : MyMoneyDatabaseMgrTest::testAddTransactions() Received a
> fatal error.
> 20: Loc: [Unknown file(0)]
> 20: Totals: 16 passed, 1 failed, 0 skipped
> 20: ********* Finished testing of MyMoneyDatabaseMgrTest *********
> 1/1 Test #20: kmymoney-mymoneydatabasemgrtest ...***Exception: Other
> 1.64 sec
>
> 0% tests passed, 1 tests failed out of 1
>
> Total Test time (real) = 1.66 sec
>
> The following tests FAILED:
> 20 - kmymoney-mymoneydatabasemgrtest (OTHER_FAULT)
> Errors while running CTest
> }}}
>
> I haven't tried to check in detail what caused the errors in
> testAddTransactions() up to now...
>
> '''However, if I now deactivate qt4-mac-sqlite3-plugin the test is
> running fine!
> ----
>
> This is what I have installed:
> {{{
> $ port installed qt4-mac*
> The following ports are currently installed:
> qt4-mac @4.8.4_2+debug+quartz (active)
> qt4-mac-mysql5-plugin @4.8.4_0+debug (active)
> qt4-mac-mysql55-plugin @4.8.4_0 (active)
> qt4-mac-sqlite3-plugin @4.8.4_0
> }}}
> What am I missing?
>
> '''What can be done about this seemingly complex situation?
> ----
> (1) [https://bugs.kde.org/show_bug.cgi?id=312668]
New description:
There are two intertwined scenarios when I ran into trouble with qt4-mac
and qt4-mac-sqlite3-plugin:
----
1) Developing the update of skrooge to version 1.4.0:
At first I hadn't qt4-mac-sqlite3-plugin installed during upgrading port
skrooge from 1.3.3 to 1.4.0 and here is what I got when I tried to start
the app:
{{{
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QSQLITE3 QMYSQL3 QMYSQL
QSqlQuery::exec: database not open
##WARNING: PRAGMA table_info( doctransaction );
## returns :Driver not loaded Driver not loaded
}}}
Please notice that QSQLITE3 is already listed as available driver!!! BUT,
as you can see above it cannot be used. Weird, isn't it?
[[BR]]
[https://bugs.kde.org/show_bug.cgi?id=312668]
This problem disappeared when I installed port qt4-mac-sqlite3-plugin -
which I then added as a necessary dependency for skrooge!
'''Nice, but strange, since it caused my 2nd problem...
----
2) Running tests of kmymoney4-devel with qt4-mac-sqlite3-plugin installed
{{{
$ git clone git://anongit.kde.org/kmymoney
$
$ cd kmymoney; mkdir build; cd build; cmake .. # this of course only
succeeds if kmymoney-devel and all its deps are installed in MacPorts
already
$
$ ccmake .. # enable test by setting KDE4_BUILD_TESTS to ON
$
$ make
$
$ /opt/macports-test/bin/ctest --force-new-ctest-process -R
databasemgrtest -V
UpdateCTestConfiguration from :/Users/marko/WC/GIT/kmymoney.homeview-
additional_columns/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/Users/marko/WC/GIT/kmymoney.homeview-
additional_columns/build/DartConfiguration.tcl
Test project /Users/marko/WC/GIT/kmymoney.homeview-
additional_columns/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 20
Start 20: kmymoney-mymoneydatabasemgrtest
20: Test command: /Users/marko/WC/GIT/kmymoney.homeview-
additional_columns/build/kmymoney/mymoney/storage/mymoneydatabasemgrtest.app/Contents/MacOS/mymoneydatabasemgrtest
20: Test timeout computed to be: 9.99988e+06
20: ********* Start testing of MyMoneyDatabaseMgrTest *********
20: Config: Using QTest library 4.8.4, Qt 4.8.4
20: PASS : MyMoneyDatabaseMgrTest::initTestCase()
.
.
.
20: PASS : MyMoneyDatabaseMgrTest::testReparentAccount()
20: QFATAL : MyMoneyDatabaseMgrTest::testAddTransactions() Received signal
11
20: FAIL! : MyMoneyDatabaseMgrTest::testAddTransactions() Received a
fatal error.
20: Loc: [Unknown file(0)]
20: Totals: 16 passed, 1 failed, 0 skipped
20: ********* Finished testing of MyMoneyDatabaseMgrTest *********
1/1 Test #20: kmymoney-mymoneydatabasemgrtest ...***Exception: Other 1.64
sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 1.66 sec
The following tests FAILED:
20 - kmymoney-mymoneydatabasemgrtest (OTHER_FAULT)
Errors while running CTest
}}}
I haven't tried to check in detail what caused the errors in
testAddTransactions() up to now...
'''However, if I now deactivate qt4-mac-sqlite3-plugin the test is running
fine!
----
This is what I have installed:
{{{
$ port installed qt4-mac*
The following ports are currently installed:
qt4-mac @4.8.4_2+debug+quartz (active)
qt4-mac-mysql5-plugin @4.8.4_0+debug (active)
qt4-mac-mysql55-plugin @4.8.4_0 (active)
qt4-mac-sqlite3-plugin @4.8.4_0
}}}
What am I missing?
'''What can be done about this seemingly complex situation?
--
--
Ticket URL: <https://trac.macports.org/ticket/37537#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list