Summary: | app-office/kmymoney-4.6.2 hangs on src_test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creffett |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | workaround applied | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.gz
ebuild pactch for the cited version 4.5.3 kmymoney-test.patch for files/ LastTest.log gdb.log |
Description
Paweł Hajdan, Jr. (RETIRED)
![]() I don't know about hanging on a test. It can't build on Qt 4.8 [ 13%] Building CXX object kmymoney/widgets/CMakeFiles/kmymoney_base.dir/kmymoneymvccombo.cpp.o /mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3/kmymoney/widgets/kmymoneyedit.cpp: In constructor âkMyMoneyEdit::kMyMoneyEdit(QWidget*, int)â: /mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3/kmymoney/widgets/kmymoneyedit.cpp:167:44: warning: âint KLocale::fracDigits() constâ is deprecated (declared at /usr/include/klocale.h:471) It initially falls over at the use of the QWidget that was a false failure, as in it does actually build after finally fixing my system. Shall re-attempt this soon after re-establishing kde from scratch; takes a while Here we have a shamozzle of a more modest order. Test such and such goes and calls other test such and such, requiring a series of selected deletions in other test.cpp and CmakeLists.txt files for the sake of purging any and all references to just one dbus burdened test. Well it made for many extra hours, but purge them it is. The second one yielded with but a whimper.
gentoo64 kmymoney # ebuild kmymoney-4.5.3.ebuild test
[100%] Built target convertertest
>>> Working in BUILD_DIR: "/mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3_build"
Test project /mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3_build
Start 1: kmymoney-mymoneyaccounttest
1/21 Test #1: kmymoney-mymoneyaccounttest ............... Passed 0.02 sec
Start 2: kmymoney-mymoneyexceptiontest
2/21 Test #2: kmymoney-mymoneyexceptiontest ............. Passed 0.02 sec
Start 3: kmymoney-mymoneyfiletest
3/21 Test #3: kmymoney-mymoneyfiletest .................. Passed 0.02 sec
Start 4: kmymoney-mymoneyfinancialcalculatortest
4/21 Test #4: kmymoney-mymoneyfinancialcalculatortest ... Passed 0.02 sec
Start 5: kmymoney-mymoneyforecasttest
5/21 Test #5: kmymoney-mymoneyforecasttest .............. Passed 0.03 sec
Start 6: kmymoney-mymoneyinstitutiontest
6/21 Test #6: kmymoney-mymoneyinstitutiontest ........... Passed 0.02 sec
Start 7: kmymoney-mymoneykeyvaluecontainertest
7/21 Test #7: kmymoney-mymoneykeyvaluecontainertest ..... Passed 0.02 sec
Start 8: kmymoney-mymoneymoneytest
8/21 Test #8: kmymoney-mymoneymoneytest ................. Passed 0.08 sec
Start 9: kmymoney-mymoneyobjecttest
9/21 Test #9: kmymoney-mymoneyobjecttest ................ Passed 0.02 sec
Start 10: kmymoney-mymoneypayeetest
10/21 Test #10: kmymoney-mymoneypayeetest ................. Passed 0.02 sec
Start 11: kmymoney-mymoneypricetest
11/21 Test #11: kmymoney-mymoneypricetest ................. Passed 0.02 sec
Start 12: kmymoney-mymoneyscheduletest
12/21 Test #12: kmymoney-mymoneyscheduletest .............. Passed 0.02 sec
Start 13: kmymoney-mymoneysecuritytest
13/21 Test #13: kmymoney-mymoneysecuritytest .............. Passed 0.02 sec
Start 14: kmymoney-mymoneysplittest
14/21 Test #14: kmymoney-mymoneysplittest ................. Passed 0.02 sec
Start 15: kmymoney-mymoneytransactiontest
15/21 Test #15: kmymoney-mymoneytransactiontest ........... Passed 0.02 sec
Start 16: kmymoney-mymoneybalancecachetest
16/21 Test #16: kmymoney-mymoneybalancecachetest .......... Passed 0.02 sec
Start 17: kmymoney-mymoneydatabasemgrtest
17/21 Test #17: kmymoney-mymoneydatabasemgrtest ........... Passed 158.88 sec
Start 18: kmymoney-mymoneymaptest
18/21 Test #18: kmymoney-mymoneymaptest ................... Passed 0.02 sec
Start 19: kmymoney-mymoneyseqaccessmgrtest
19/21 Test #19: kmymoney-mymoneyseqaccessmgrtest .......... Passed 0.02 sec
Start 20: kmymoney-pivotgridtest
20/21 Test #20: kmymoney-pivotgridtest .................... Passed 0.02 sec
Start 21: kmymoney-convertertest
21/21 Test #21: kmymoney-convertertest .................... Passed 0.03 sec
100% tests passed, 0 tests failed out of 21
Total Test time (real) = 159.79 sec
* Tests succeeded.
Created attachment 300151 [details]
ebuild pactch for the cited version 4.5.3
Other recent versions have no reason not to absorb the pattern of the patch
Created attachment 300153 [details, diff]
kmymoney-test.patch for files/
Created attachment 301451 [details]
LastTest.log
Applied patch to 4.6.1, one test fails (MyMoneyDatabaseMgrTest)
thanks Chris Created attachment 304915 [details]
gdb.log
Issue I mentioned above still exists in 4.6.2. I compiled with C(XX)FLAGS="-ggdb" and ran a gdb session on the file "mymoneydatabasemgrtest" (the failing test), and got the attached output. Digging through the source confirms that that QDEBUG is thrown when it cannot successfully perform the operation on the database.
Bump on this. The tests pass for me now (databasemgrtest takes a heck of a long time, but does pass), possibly due to the gcc 4.7 patch which adds a header to said test? Regardless, since it is now building correctly for me, could somebody else confirm that it's passing? If confirmed, will mark...I guess either WORKSFORME or FIXED. Hanging on test 26 here :( Yeah, I spoke too soon, it failed for me too (I commented after the database test passed). I think we were originally patching that one out, but I'll take one more look before removing the test. Aha, 26 needed DBUS. + 27 Jul 2012; Chris Reffett <creffett@gentoo.org> kmymoney-4.6.2-r2.ebuild: + Re-enable tests, add VIRTUALDBUS so test 26 passes Reopen if the tests still fail. |