* qtbase 6.3.2 FTBFS
@ 2023-05-29 16:00 Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-29 22:15 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
0 siblings, 1 reply; 7+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-29 16:00 UTC (permalink / raw)
To: Guix Devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qtbase 6.3.2 FTBFS
2023-05-29 16:00 qtbase 6.3.2 FTBFS Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-05-29 22:15 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-31 18:20 ` Josselin Poiret
0 siblings, 1 reply; 7+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-05-29 22:15 UTC (permalink / raw)
To: Guix Devel
Hi,
On Mon, May 29, 2023 at 9:00 AM Felix Lechner
<felix.lechner@lease-up.com> wrote:
>
> qtbase 6.3.2 fails to build from source.
Given the complexity of Guix's branching prerequisites, I should
probably have pointed out that this failure part of Jami:
/ 'check' phasebuilder for
`/gnu/store/02a2bidxyv7kd67ksvypkxnpvwjl3dmh-qtbase-6.3.2.drv' failed
with exit code 1
build of /gnu/store/02a2bidxyv7kd67ksvypkxnpvwjl3dmh-qtbase-6.3.2.drv failed
View build log at
'/var/log/guix/drvs/02/a2bidxyv7kd67ksvypkxnpvwjl3dmh-qtbase-6.3.2.drv.gz'.
cannot build derivation
`/gnu/store/5banm7v4nia9c4qwmyn6c4w1q42x660a-jami-20230323.0.drv': 1
dependencies couldn't be built
guix home: error: build of
`/gnu/store/5banm7v4nia9c4qwmyn6c4w1q42x660a-jami-20230323.0.drv'
failed
Kind regards
Felix
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qtbase 6.3.2 FTBFS
2023-05-29 22:15 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-05-31 18:20 ` Josselin Poiret
2023-06-01 9:53 ` Andreas Enge
2023-06-02 3:45 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
0 siblings, 2 replies; 7+ messages in thread
From: Josselin Poiret @ 2023-05-31 18:20 UTC (permalink / raw)
To: Felix Lechner, Guix Devel
[-- Attachment #1: Type: text/plain, Size: 73 bytes --]
Hi Felix,
Does this happen on master?
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qtbase 6.3.2 FTBFS
2023-05-31 18:20 ` Josselin Poiret
@ 2023-06-01 9:53 ` Andreas Enge
2023-06-01 20:17 ` Josselin Poiret
2023-06-02 3:45 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
1 sibling, 1 reply; 7+ messages in thread
From: Andreas Enge @ 2023-06-01 9:53 UTC (permalink / raw)
To: Josselin Poiret; +Cc: Felix Lechner, Guix Devel
Hello,
Am Wed, May 31, 2023 at 08:20:15PM +0200 schrieb Josselin Poiret:
> Does this happen on master?
on the lastest master commit, qtbase@6 is available as a substitute
(I did not check whether from berlin or bordeaux).
Andreas
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qtbase 6.3.2 FTBFS
2023-06-01 9:53 ` Andreas Enge
@ 2023-06-01 20:17 ` Josselin Poiret
2023-06-02 3:58 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
0 siblings, 1 reply; 7+ messages in thread
From: Josselin Poiret @ 2023-06-01 20:17 UTC (permalink / raw)
To: Andreas Enge; +Cc: Felix Lechner, Guix Devel
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
Hi Andreas,
Andreas Enge <andreas@enge.fr> writes:
> on the lastest master commit, qtbase@6 is available as a substitute
> (I did not check whether from berlin or bordeaux).
Right, that's mostly why I was asking. It could be a transient failure
as well, which should probably be fixed then (unless it's something like
OOM).
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qtbase 6.3.2 FTBFS
2023-06-01 20:17 ` Josselin Poiret
@ 2023-06-02 3:58 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
0 siblings, 0 replies; 7+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-06-02 3:58 UTC (permalink / raw)
To: Josselin Poiret; +Cc: Andreas Enge, Guix Devel
Hi Josselin,
On Thu, Jun 1, 2023 at 1:17 PM Josselin Poiret <dev@jpoiret.xyz> wrote:
>
> It could be a transient failure
> as well, which should probably be fixed then (unless it's something like
> OOM).
Having seen the same error locally with three different generations,
the failure does not strike me as transient. Maybe it's the other
channel?
As for an out-of-memory scenario, it's always a possibility but this
particular equipment was rebooted two days ago and has 44 GB of
combined RAM and swap. There was also no obvious sign of swap
activity.
Kind regards
Felix
* * *
$ uptime
20:52:20 up 2 days 21:05, 0 users, load average: 0.96, 1.06, 0.98
$ cat /proc/meminfo
MemTotal: 28657964 kB
MemFree: 12833128 kB
MemAvailable: 20422296 kB
Buffers: 1031604 kB
Cached: 7104156 kB
SwapCached: 0 kB
Active: 3573924 kB
Inactive: 10087916 kB
Active(anon): 6632 kB
Inactive(anon): 6520256 kB
Active(file): 3567292 kB
Inactive(file): 3567660 kB
Unevictable: 867160 kB
Mlocked: 26080 kB
SwapTotal: 16777212 kB
SwapFree: 16777212 kB
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qtbase 6.3.2 FTBFS
2023-05-31 18:20 ` Josselin Poiret
2023-06-01 9:53 ` Andreas Enge
@ 2023-06-02 3:45 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
1 sibling, 0 replies; 7+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-06-02 3:45 UTC (permalink / raw)
To: Josselin Poiret; +Cc: Guix Devel
Hi Josselin,
On Wed, May 31, 2023 at 11:20 AM Josselin Poiret <dev@jpoiret.xyz> wrote:
>
> Does this happen on master?
Yes. I see the same error when using the command
guix build jami --no-substitutes
for the two Guix generations below. I believe the later one (51)
corresponded to the master branch at the time of writing, although I
had another channel configured as well.
Kind regards
Felix
* * *
Generation 50 May 29 2023 22:45:40
nonguix c323f4c
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: c323f4c866cdf7c9fb958ed968b80e0911ecd899
guix 3807876
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 3807876af4b53babdbc2f1d730e4763ff651f316
Generation 51 Jun 01 2023 15:14:58 (current)
nonguix dd7519a
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: dd7519aa20948e42469eccc3c7c99c1633420a07
guix b4382b2
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b4382b294e6cd475e9476610d98fdd0bdaec4c84
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-06-02 3:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-29 16:00 qtbase 6.3.2 FTBFS Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-29 22:15 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-31 18:20 ` Josselin Poiret
2023-06-01 9:53 ` Andreas Enge
2023-06-01 20:17 ` Josselin Poiret
2023-06-02 3:58 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-06-02 3:45 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).