[MacPorts] #37537: qt4-mac and qt4-mac-sqlite3-plugin create trouble

MacPorts noreply at macports.org
Sat Jan 5 06:55:54 PST 2013


#37537: qt4-mac and qt4-mac-sqlite3-plugin create trouble
-----------------------------------------------+-------------------------
  Reporter:  mk@…                              |      Owner:  michaelld@…
      Type:  defect                            |     Status:  closed
  Priority:  Normal                            |  Milestone:
 Component:  ports                             |    Version:  2.1.2
Resolution:  invalid                           |   Keywords:
      Port:  qt4-mac , qt4-mac-sqlite3-plugin  |
-----------------------------------------------+-------------------------
Changes (by mk@…):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Only now I saw that it looks as if the test passes successfully without
 the plugin installed:
 {{{

 $ /opt/macports-test/bin/ctest --force-new-ctest-process -R
 databasemgrtest
 Test project /Users/marko/WC/GIT/kmymoney.homeview-
 additional_columns/build
     Start 20: kmymoney-mymoneydatabasemgrtest
 1/1 Test #20: kmymoney-mymoneydatabasemgrtest ...   Passed    0.08 sec

 100% tests passed, 0 tests failed out of 1

 Total Test time (real) =   0.09 sec
 }}}
 but if you get the detailed view one sees that the driver cannot be
 loaded:
 {{{
 $ /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::testEmptyConstructor()
 20: QWARN  : MyMoneyDatabaseMgrTest::testCreateDb() QSqlDatabase: QSQLITE
 driver not loaded
 20: QWARN  : MyMoneyDatabaseMgrTest::testCreateDb() QSqlDatabase:
 available drivers: QMYSQL3 QMYSQL
 20: QDEBUG : MyMoneyDatabaseMgrTest::testCreateDb() Error in function int
 MyMoneyStorageSql::open(const KUrl&, int, bool) : opening new database
 20: Driver = QSQLITE, Host = , User = , Database =
 20: Driver Error: Driver not loaded
 20: Database Error No -1: Driver not loaded
 20: Text: Driver not loaded Driver not loaded
 20: Error type 1
 20: Executed:
 20: Query error No -1: Driver not loaded Driver not loaded
 20: Error type 1
 .
 .
 .
 }}}
 so, this is already more like what I expected.

 I'll invalidate the ticket for now until I have looked more into the test
 details with the plugin installed.

-- 
Ticket URL: <https://trac.macports.org/ticket/37537#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list