[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
qtbase 6.3.2 FTBFS
From: |
Felix Lechner |
Subject: |
qtbase 6.3.2 FTBFS |
Date: |
Mon, 29 May 2023 09:00:39 -0700 |
Hi,
On my version of Guix, which was modified slightly [1] from the
official working tree, qtbase 6.3.2 fails to build from source. It
appears to be due to a test called QSqlThread.
'check' phasebuilder for
`/gnu/store/02a2bidxyv7kd67ksvypkxnpvwjl3dmh-qtbase-6.3.2.drv' failed
with exit code 1
A more detailed excerpt from the build log can be found at the bottom
of this message. Thanks!
Kind regards
Felix
[1] based on commit d64d6ea2cf from yesterday and six commits behind,
at the time of writing
* * *
362/485 Test #365: tst_qsqlthread
..................................***Failed 10.71 sec
********* Start testing of tst_QSqlThread *********
Config: Using QtTest library 6.3.2, Qt 6.3.2
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC
11.3.0), unknown unknown
QDEBUG : tst_QSqlThread::initTestCase() Opening:
"0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db"
PASS : tst_QSqlThread::initTestCase()
QDEBUG :
tst_QSqlThread::simpleThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
Thread finished, total finished: 1
QDEBUG :
tst_QSqlThread::simpleThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
Thread finished, total finished: 2
PASS :
tst_QSqlThread::simpleThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
QWARN :
tst_QSqlThread::readWriteThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
QObject: Cannot create children for a parent that is in a different
thread.
(Parent is QCoreApplication(0x7fffffff37d0), parent's thread is
QThread(0x42fa70), current thread is SqlConsumer(0x7fffffff2d10)
FAIL! :
tst_QSqlThread::readWriteThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
'(q2).exec()' returned FALSE. (QSQLITE@: (5) 'Unable to fetch row' ||
'database is locked')
Loc:
[/tmp/guix-build-qtbase-6.3.2.drv-0/qtbase-everywhere-src-6.3.2/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp(182)]
FAIL! :
tst_QSqlThread::readWriteThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
'threadFinishedCount >= 2' returned FALSE. ()
Loc:
[/tmp/guix-build-qtbase-6.3.2.drv-0/qtbase-everywhere-src-6.3.2/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp(403)]
QFATAL :
tst_QSqlThread::readWriteThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
QThread: Destroyed while thread is still running
FAIL! :
tst_QSqlThread::readWriteThreading(0_QSQLITE@/tmp/guix-build-qtbase-6.3.2.drv-0/tst_qsqlthread-wlQtIy/foo.db)
Received a fatal error.
Totals: 2 passed, 3 failed, 0 skipped, 0 blacklisted, 10677ms
********* Finished testing of tst_QSqlThread *********
CMake Error at tst_qsqlthreadWrapperRelWithDebInfo.cmake:17 (message):
/tmp/guix-build-qtbase-6.3.2.drv-0/build/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread
execution failed with exit code Subprocess aborted.
and then later:
The following tests FAILED:
365 - tst_qsqlthread (Failed)
Errors while running CTest
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "xvfb-run" arguments: ("ctest"
"--output-on-failure" "-j" "8" "-E"
"(tst_moc|tst_rcc|tst_qtemporarydir|tst_qtemporaryfile|tst_qdir|tst_qresourceengine|tst_qfilesystemwatcher|tst_qsslkey|mockplugins|test_plugin_flavor.*|test_import_plugins|tst_qtimezone|tst_qdatetime|tst_qobjectrace|tst_qsettings|tst_qaddpreroutine|test_generating_cpp_exports|test_static_resources|tst_qfile|tst_qglyphrun|tst_qx11info|tst_qgraphicswidget|tst_qdnslookup|tst_qcompleter|tst_qfiledialog|tst_qpauseanimation)")
exit-status: 8 term-signal: #f stop-signal: #f>
phase `check' failed after 498.3 seconds
command "xvfb-run" "ctest" "--output-on-failure" "-j" "8" "-E"
"(tst_moc|tst_rcc|tst_qtemporarydir|tst_qtemporaryfile|tst_qdir|tst_qresourceengine|tst_qfilesystemwatcher|tst_qsslkey|mockplugins|test_plugin_flavor.*|test_import_plugins|tst_qtimezone|tst_qdatetime|tst_qobjectrace|tst_qsettings|tst_qaddpreroutine|test_generating_cpp_exports|test_static_resources|tst_qfile|tst_qglyphrun|tst_qx11info|tst_qgraphicswidget|tst_qdnslookup|tst_qcompleter|tst_qfiledialog|tst_qpauseanimation)"
failed with status 8
- qtbase 6.3.2 FTBFS,
Felix Lechner <=