GNOME Bugzilla – Bug 662015
gnucash-2.4.7 fails test phase, 2 tests
Last modified: 2018-06-29 23:02:10 UTC
Testing for the package gnucash, the test phase suffers 2 test failures. Originally lodged in gentoo bugzilla. FAIL: test-load-module FAIL: test-scm-query-string For the tail of the build log, see https://bugs.gentoo.org/attachment.cgi?id=289543 which automatically cites the gentoo bug. Occurs via both gentoo ebuild and a manual run of make check in the source
The original gentoo bugreport shows the following app-utils test failures: /bin/sh: line 5: 30170 Segmentation fault GNC_MODULE_PATH="../../../src/engine/.libs:../../../src/calculation/.libs:../../../src/app-utils/.libs:${GNC_MODULE_PATH}" GUILE_LOAD_PATH="../../../src/core-utils:../../../src/gnc-module:../../../src/engine:../../../src/scm:../../../src/app-utils:${GUILE_LOAD_PATH}" LD_LIBRARY_PATH="../../../src/app-utils/.libs:../../../src/calculation/.libs:../../../src/engine/.libs:../../../src/gnc-module/.libs:../../../src/core-utils/.libs:../../../src/libqof/qof/.libs:${LD_LIBRARY_PATH}" DYLD_LIBRARY_PATH="../../../src/app-utils/.libs:../../../src/calculation/.libs:../../../src/engine/.libs:../../../src/gnc-module/.libs:../../../src/core-utils/.libs:../../../src/libqof/qof/.libs:${DYLD_LIBRARY_PATH}" ${dir}$tst FAIL: test-load-module (process:30225): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed throw from within critical section. /bin/sh: line 5: 30225 Aborted GNC_MODULE_PATH="../../../src/engine/.libs:../../../src/calculation/.libs:../../../src/app-utils/.libs:${GNC_MODULE_PATH}" GUILE_LOAD_PATH="../../../src/core-utils:../../../src/gnc-module:../../../src/engine:../../../src/scm:../../../src/app-utils:${GUILE_LOAD_PATH}" LD_LIBRARY_PATH="../../../src/app-utils/.libs:../../../src/calculation/.libs:../../../src/engine/.libs:../../../src/gnc-module/.libs:../../../src/core-utils/.libs:../../../src/libqof/qof/.libs:${LD_LIBRARY_PATH}" DYLD_LIBRARY_PATH="../../../src/app-utils/.libs:../../../src/calculation/.libs:../../../src/engine/.libs:../../../src/gnc-module/.libs:../../../src/core-utils/.libs:../../../src/libqof/qof/.libs:${DYLD_LIBRARY_PATH}" ${dir}$tst FAIL: test-scm-query-string But from what I read, this could be due to the way the user installed GnuCash on the system (I'm not really well versed in the gentoo emerge system). Comment 7 on the same bug reports different errors: > running unpack and changing to source resulted in a config failure with > ./configure, so re-ran configure from ebuild gnucash-2.4.7.ebuild clean > configure > which called all the autotools that did not get called from plain > ./configure, and returned to source. Ran make && make check > > (process:16166): gnc.gui-WARNING **: [PrintAmountInternal()] Bad numeric from rounding: GNC_ERROR_OVERFLOW. > (process:16166): gnc.gui-WARNING **: [PrintAmountInternal()] Bad numeric from rounding: GNC_ERROR_OVERFLOW. > Executed 4800 tests. All tests passed. > PASS: test-print-parse-amount > Executed 80 tests. All tests passed. > PASS: test-sx > ========================================== > 2 of 6 tests failed > Please report to gnucash-devel@gnucash.org Comment 12 then again reports failures, but I can't find which ones. The attached build log from comment 12 seems to be an emerge build log, not a gnucash "make check" output. And Pacho Ramos also noted this comment should have been a new bug report. So the meat of the bug report seems to be overflow errors in GncNumeric. Related to bug 665707 ?
When I follow the link above I get warnings about an invalid cerificate; clicking through to display the page shows a dump of useless configuration data. Please add a link to the actual bug. I take it that this report relates to the 12th comment on that bug, not to the GNC_ERROR_OVERFLOW. In that case, while the original Gentoo bug might be a reflection of bug 665707, this isn't. Given that it's 2 years old and is probably a Guile configuration error (test-load-module just checks to ensure that Guile's module-loading code works with simple test modules), I suggest that we close this bug as obsolete or invalid.
I'll add the link to the original bug report in the "See Also" list of this bug. But the downstream bug has been marked as resolved. So I'll just close our bug as obsolete.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=662015. Please update any external references or bookmarks.