Contents of libgnucash/engine/test/test-qof.log: /qof/qofbook/readonly: OK /qof/qofbook/validate counter: OK /qof/qofbook/get string option: OK /qof/qofbook/set string option: OK /qof/qofbook/session not saved: OK /qof/qofbook/session mark saved: OK /qof/qofbook/get counter: (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_get_counter()] No book!!!
(/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_get_counter()] Invalid counter name. (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_get_counter()] Invalid counter name. OK /qof/qofbook/get counter format: (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_get_counter_format()] No book!!! (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_get_counter_format()] Invalid counter name. (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_get_counter_format()] Invalid counter name. OK /qof/qofbook/increment and format counter: (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_increment_and_format_counter()] No book!!! (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_increment_and_format_counter()] Invalid counter name. (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_increment_and_format_counter()] Invalid counter name. OK /qof/qofbook/use trading accounts: OK /qof/qofbook/use book-currency: OK /qof/qofbook/get autofreeze days: OK /qof/qofbook/use split action for num field: OK /qof/qofbook/mark session dirty: OK /qof/qofbook/session dirty time: OK /qof/qofbook/set dirty callback: (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): qof.engine-WARNING **: [qof_book_set_dirty_cb()] Already existing callback 0x414350, will be overwritten by (nil) OK /qof/qofbook/shutting down: OK /qof/qofbook/set get data: OK /qof/qofbook/get collection: OK /qof/qofbook/foreach collection: (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): gnc.engine-CRITICAL **: void qof_book_foreach_collection(const QofBook*, QofCollectionForeachCB, gpointer): assertion 'book' failed (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): gnc.engine-CRITICAL **: void qof_book_foreach_collection(const QofBook*, QofCollectionForeachCB, gpointer): assertion 'cb' failed OK /qof/qofbook/set data finalizers: OK /qof/qofbook/mark closed: OK /qof/qofbook/book new and destroy: OK /qof/qofinstance/set get book: OK /qof/qofinstance/set get guid: OK /qof/qofinstance/instance new and destroy: (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): gnc.engine-CRITICAL **: QofCollection* qof_instance_get_collection(gconstpointer): assertion 'QOF_IS_INSTANCE(ptr)' failed (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): gnc.engine-CRITICAL **: gint qof_instance_get_editlevel(gconstpointer): assertion 'QOF_IS_INSTANCE(ptr)' failed (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): gnc.engine-CRITICAL **: gboolean qof_instance_get_destroying(gconstpointer): assertion 'QOF_IS_INSTANCE(ptr)' failed (/home/erictheise/Repos/erictheise/gnucash/build/libgnucash/engine/test/.libs/lt-test-qof:11950): gnc.engine-CRITICAL **: gboolean qof_instance_get_dirty_flag(gconstpointer): assertion 'QOF_IS_INSTANCE(ptr)' failed OK /qof/qofinstance/init data: OK /qof/qofinstance/get set slots: OK /qof/qofinstance/version compare: OK /qof/qofinstance/get set dirty: OK /qof/qofinstance/display name: OK /qof/qofinstance/begin edit: OK /qof/qofinstance/commit edit: OK /qof/qofinstance/commit edit part 2: OK /qof/qofinstance/instance refers to object: OK /qof/qofinstance/instance get referring object list from collection: OK /qof/qofinstance/instance get typed referring object list: OK /qof/qofinstance/instance get referring object list: OK /qof/qofobject/qof object register: OK /qof/qofobject/qof object lookup: OK /qof/qofobject/qof object get type label: OK /qof/qofobject/qof object printable: OK /qof/qofobject/qof object book begin: OK /qof/qofobject/qof object book end: OK /qof/qofobject/qof object is dirty: OK /qof/qofobject/qof object mark clean: OK /qof/qofobject/qof object new instance: OK /qof/qofobject/qof object compliance: OK /qof/qofobject/qof object foreach type: OK /qof/qofobject/qof object foreach: OK /qof/qofobject/qof object foreach sorted: OK /qof/gnc-date/gnc localtime: OK /qof/gnc-date/gnc gmtime: OK /qof/gnc-date/gnc mktime: OK /qof/gnc-date/gnc mktime normalization: OK /qof/gnc-date/gnc ctime: OK /qof/gnc-date/gnc time: OK /qof/gnc-date/gnc date dateformat to string: OK /qof/gnc-date/gnc date string to dateformat: OK /qof/gnc-date/gnc date monthformat to string: OK /qof/gnc-date/gnc date string to monthformat: OK /qof/gnc-date/timespec normalize: OK /qof/gnc-date/timespec equal: OK /qof/gnc-date/timespec cmp: OK /qof/gnc-date/timespec diff: OK /qof/gnc-date/timespec abs: OK /qof/gnc-date/timespecCanonicalDayTime: OK /qof/gnc-date/date get last mday: OK /qof/gnc-date/qof date format set: OK /qof/gnc-date/qof print date dmy buff: There are some differences between distros in the way they namelocales, and this can cause trouble with the locale-basedformatting. If you get the assert in this function, run locale -aand make sure that en_US, en_GB, and fr_FR are installed and thatif a suffix is needed it's in the suffixes array.** ERROR:../../../../libgnucash/engine/test/test-gnc-date.c:491:test_gnc_setlocale: code should not be reached FAIL test-qof (exit status: 134) On Tue, Aug 15, 2017 at 12:11 PM, Eric Theise <ericthe...@gmail.com> wrote: > Hi Geert, > > Here's some output. I'm running autogen.sh + make on an Ubuntu 16.04 VM. > > This is actually the first time I've been able to get gnucash to install > so I consider it a big step forward. > > Eric > > ... > PASS: test-commodities > ../../../../test-driver: line 107: 11950 Aborted (core > dumped) "$@" > $log_file 2>&1 > FAIL: test-qof > PASS: test-engine > > ... > > ============================================================ > ================ > Testsuite summary for GnuCash 2.6.99 > ============================================================ > ================ > # TOTAL: 29 > # PASS: 28 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > ============================================================ > ================ > See libgnucash/engine/test/test-suite.log > Please report to gnucash-devel@gnucash.org > ============================================================ > ================ > Makefile:1725: recipe for target 'test-suite.log' failed > make[4]: *** [test-suite.log] Error 1 > make[4]: Leaving directory '/home/erictheise/Repos/ > erictheise/gnucash/build/libgnucash/engine/test' > Makefile:1831: recipe for target 'check-TESTS' failed > make[3]: *** [check-TESTS] Error 2 > make[3]: Leaving directory '/home/erictheise/Repos/ > erictheise/gnucash/build/libgnucash/engine/test' > Makefile:2100: recipe for target 'check-am' failed > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory '/home/erictheise/Repos/ > erictheise/gnucash/build/libgnucash/engine/test' > Makefile:535: recipe for target 'check-recursive' failed > make[1]: *** [check-recursive] Error 1 > make[1]: Leaving directory '/home/erictheise/Repos/ > erictheise/gnucash/build/libgnucash' > Makefile:823: recipe for target 'check-recursive' failed > make: *** [check-recursive] Error 1 > > > > On Tue, Aug 15, 2017 at 7:54 AM, Geert Janssens < > geert.gnuc...@kobaltwit.be> wrote: > >> Hmm, >> >> And I meant to add, can you post the contents of the test logs for the >> failing >> tests ? >> >> You will find them in ../build_gnucash/libgnucash/engine/test/ >> The logs are named after the tests so you'll be looking for >> test-test-extras.log >> test-account.log >> test-split.log >> >> Geert >> >> On dinsdag 15 augustus 2017 16:48:16 CEST Geert Janssens wrote: >> > Hi Sumit, >> > >> > Thanks for running the tests and reporting your issues. These are not >> known >> > problems. I have run both cmake and autotools builds before submitting >> my >> > work and for both build systems I had all the tests succeeding. The >> > autotools build also completes fine on travis. So there is something >> > different in your environment. That can be either because you are on >> Fedora >> > 26 (I'm on 25 still) which comes with newer versions of several tools, >> or >> > an unclean build environment. >> > >> > Last week Aaron Laws reported having issues on Arch linux due to it >> having >> > both guile 2.0 and 2.2. Perhaps that's biting you as well ? >> > >> > Geert >> > >> > On dinsdag 15 augustus 2017 08:22:04 CEST Sumit Bhardwaj wrote: >> > > Hi Geert, >> > > >> > > Pulled master and tried to build using autotoosls. As per your >> suggestion, >> > > I built in ../build_gnucash which is parallel to the top-level gnucash >> > > directory. >> > > >> > > make succeeded. >> > > make install succeeded as well. >> > > make check failed with 3 tests - error message below. Is this a known >> > > problem? >> > > >> > > I haven't tried building using cmake. My system configuration is also >> > > below >> > > (Fedora 26). >> > > >> > > Thanks, >> > > Sumit >> > > >> > > System config: >> > > ---------------------- >> > > >> > > gnucash version ...... : 2.6.99 >> > > Build for host ....... : x86_64-pc-linux-gnu >> > > Optional components... : dbi >> > > Extra Warnings ....... : -Werror -Wdeclaration-after-statement >> > > >> > > -Wno-pointer-sign -D_FORTIFY_SOURCE=2 >> > > >> > > CPPFLAGS ............. : >> > > CFLAGS ............... : -g -O2 -std=gnu11 >> > > CXXFLAGS ............. : -g -O2 >> > > LDFLAGS .............. : >> > > prefix................ : /usr/local >> > > >> > > Test error >> > > ... >> > > mkdir -p gnucash/engine/test >> > > ( cd gnucash/engine/test; for A in test-extras.scm ; do ln -s -f >> > > /home/bhardwajs/ac/devel/build_gnucash/../gnucash/libgnucash/engine/t >> > > est/$A . ; done ) >> > > touch .scm-links >> > > echo 'export GNC_BUILDDIR="/home/bhardwajs/ac/devel/build_gnucash";' >> > >> > > test-test-extras >> > > echo 'export GNC_UNINSTALLED=yes;' >> test-test-extras >> > > echo '/home/bhardwajs/ac/devel/build_gnucash/gnc-guile --debug -l >> > > ../../../../gnucash/libgnucash/engine/test/test-test-extras.scm -c " >> > > (exit (run-test))"' >> test-test-extras >> > > chmod a+x test-test-extras >> > > FAIL: test-test-extras >> > > echo 'export GNC_BUILDDIR="/home/bhardwajs/ac/devel/build_gnucash";' >> > >> > > test-account >> > > echo 'export GNC_UNINSTALLED=yes;' >> test-account >> > > echo '/home/bhardwajs/ac/devel/build_gnucash/gnc-guile --debug -l >> > > ../../../../gnucash/libgnucash/engine/test/test-account.scm -c "(exi >> > > t (run-test))"' >> test-account >> > > chmod a+x test-account >> > > FAIL: test-account >> > > echo 'export GNC_BUILDDIR="/home/bhardwajs/ac/devel/build_gnucash";' >> > >> > > test-split >> > > echo 'export GNC_UNINSTALLED=yes;' >> test-split >> > > echo '/home/bhardwajs/ac/devel/build_gnucash/gnc-guile --debug -l >> > > ../../../../gnucash/libgnucash/engine/test/test-split.scm -c "(exit >> > > (run-test))"' >> test-split >> > > chmod a+x test-split >> > > FAIL: test-split >> > >> > >> ============================================================ >> ================ >> > > Testsuite summary for GnuCash 2.6.99 >> > >> > >> ============================================================ >> ================ >> > > ... >> > > >> > > On Mon, Aug 14, 2017 at 9:57 AM, Geert Janssens >> > > <geert.gnuc...@kobaltwit.be>> >> > > wrote: >> > > > Hi, >> > > > >> > > > I have just pushed my directory restructuring branch to master as I >> > > > announced >> > > > last week. >> > > > >> > > > IMPORTANT: You should wipe out your existing build/install directory >> > > > after >> > > > pulling this new master. And if you are building in the source tree >> > > > (which >> > > > we >> > > > don't advise) instead of having a separate build directory, be sure >> to >> > > > run >> > > > "make distclean" there *BEFORE* pulling this new master. >> > > > >> > > > Then proceed as usual, that is run >> > > > autogen.sh/configure-with-options/make >> > > > for >> > > > an autotools >> > > > based build or cmake-with-options/[make/ninja(-build)] for a cmake >> based >> > > > build. >> > > > >> > > > The new directory structure is roughly as follows: >> > > > >> > > > * data >> > > > Non-code items that get installed (like account charts, check >> formats, >> > > > pixmaps) >> > > > * libgnucash >> > > > The core libraries which define our internal data structures and >> code to >> > > > handle them. This holds the core-utils, gnc-module, engine >> (including >> > > > qof), >> > > > app-utils and a few smaller ones >> > > > * gnucash >> > > > The code for the gui application built on top of libgnucash. Here >> you'll >> > > > find >> > > > the directories gnome, gnome-utils, report, html, import-export,... >> > > > * bindings >> > > > Currently only the python bindings are here, in the future the guile >> > > > bindings >> > > > should be migrated here as well. >> > > > * common >> > > > Low level support code, mostly for debugging and testing (debug, >> test- >> > > > core,...) >> > > > >> > > > In the restructuring, the cutecash project has been removed together >> > > > with >> > > > the >> > > > gtkmm support library. >> > > > >> > > > A few other directories have been eliminated and their content >> moved to >> > > > other >> > > > locations: >> > > > - src/bin -> gnucash (no more separate subdirectory) >> > > > - src/optional: the python-bindings subdirectory has been moved to >> > > > bindings, >> > > > the only other subdir was gtkmm which has been dropped >> > > > - src/plugins: the two real "plugins' in there were in fact import >> > > > modules, so >> > > > they have been moved to import-export. The example subdirectory >> (which >> > > > is >> > > > never built) is now a subdirectory of libgnucash/gnc-module >> > > > >> > > > Please report any problems you may experience with this new work. >> > > > >> > > > Regards, >> > > > >> > > > Geert >> > > > _______________________________________________ >> > > > gnucash-devel mailing list >> > > > gnucash-devel@gnucash.org >> > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel >> > >> > _______________________________________________ >> > gnucash-devel mailing list >> > gnucash-devel@gnucash.org >> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel >> >> >> _______________________________________________ >> gnucash-devel mailing list >> gnucash-devel@gnucash.org >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel >> > > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel