> On Nov 19, 2016, at 9:34 AM, Alex Aycinena <alex.aycin...@gmail.com> wrote: > > > > On Fri, Nov 18, 2016 at 4:50 PM, John Ralls <jra...@ceridwen.us> wrote: > > > On Nov 18, 2016, at 2:49 PM, John Ralls <jra...@ceridwen.us> wrote: > > > > > >> On Nov 18, 2016, at 12:53 PM, Alex Aycinena <alex.aycin...@gmail.com> > >> wrote: > >> > >> > >> > >> On Thu, Nov 17, 2016 at 5:10 PM, John Ralls <jra...@ceridwen.us > >> <mailto:jra...@ceridwen.us>> wrote: > >> > >>> On Nov 17, 2016, at 4:54 PM, Alex Aycinena > >>> <alex.aycin...@gmail.com<mailto:alex.aycin...@gmail.com>> wrote: > >>> > >>> Hi, > >>> > >>> I get the following compile errors today: > >>> > >> <snip> > >>> > >>> Am I missing a library or something? > >> > >> Alex, > >> > >> That didn't take long! ;-) > >> > >> Only if your compiler doesn't support C++11. More likely your libstdc++ > >> doesn't pull in <Algorithms> when <String> is included. > >> > >> Travis puked test-backend-dbi-basic.c for a similar complaint, this one > >> for std::for_each. I've just pushed what I hope will fix that and your > >> error. > >> > >> Regards, > >> John Ralls > >> > >> > >> John, > >> > >> After pulling in your push, I now get: > >> > >> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/dbi/gnc-dbiproviderimpl.hpp: > >> In member function ‘StrVec > >> GncDbiProviderImpl<T>::get_table_list(dbi_conn, const string&) [with > >> DbType T = (DbType)0; StrVec = > >> std::vector<std::__cxx11::basic_string<char> >; dbi_conn = void*; > >> std::__cxx11::string = std::__cxx11::basic_string<char>]’: > > <snip> > > >> Makefile:678: recipe for target 'gnc-dbisqlconnection.lo' failed > >> > >> > >> I'm building on Fedora 24, by the way. > > > > Alex, > > > > My first guess would be that gnc-dbiproviderimpl.hpp and > > gnc-dbisqlconnection.hpp need the same treatment, to add "#include > > <algorithm> to the other libstdc++ headers. I'll have to set up a fedora24 > > VM to duplicate your build environment, so it will take a few hours to be > > sure. > > > > Alex, > > Done and pushed. > > Regards, > John Ralls > > > John, > > Thanks, Make now works. But make check failed at: > > TEST: test-engine... (pid=12539) > Unable to use either provided tzname or TZ environment variable. Resorting to > /etc/localtime. > /engine/Account/gnc set account separator: OK > /engine/Account/gnc account name violations errmsg: OK > /engine/Account/gnc account list name violations: OK > /engine/Account/account create and destroy: OK > /engine/Account/xaccMallocAccount: OK > /engine/Account/gnc account create root: OK > /engine/Account/xaccCloneAccount: OK > /engine/Account/xaccFreeAccountChildren: OK > /engine/Account/xaccFreeAccount: OK > /engine/Account/xaccAccountCommitEdit: OK > /engine/Account/gnc account insert & remove split: OK > /engine/Account/xaccAccount Insert and Remove Lot: OK > /engine/Account/xaccAccountRecomputeBalance: OK > /engine/Account/xaccAccountOrder: OK > /engine/Account/qofAccountSetParent: OK > /engine/Account/gnc account n descendants: OK > /engine/Account/gnc account get current depth: OK > /engine/Account/gnc account get tree depth: OK > /engine/Account/gnc account get descendants: OK > /engine/Account/gnc account get descendants sorted: OK > /engine/Account/gnc account lookup by name: OK > /engine/Account/gnc account lookup by code: OK > /engine/Account/gnc account lookup by full name helper: OK > /engine/Account/gnc account lookup by full name: OK > /engine/Account/gnc account foreach child: OK > /engine/Account/gnc account foreach descendant: OK > /engine/Account/gnc account foreach descendant until: OK > /engine/Account/gnc account get full name: OK > /engine/Account/xaccAccountGetProjectedMinimumBalance: OK > /engine/Account/xaccAccountGetBalanceAsOfDate: OK > /engine/Account/xaccAccountGetPresentBalance: OK > /engine/Account/xaccAccountFindOpenLots: OK > /engine/Account/xaccAccountForEachLot: OK > /engine/Account/xaccAccountHasAncestor: OK > /engine/Account/AccountType Stuff: OK > /engine/Account/AccountType Compatibility: OK > /engine/Account/xaccAccountFindSplitByDesc: OK > /engine/Account/xaccAccountFindTransByDesc: OK > /engine/Account/gnc account join children: OK > /engine/Account/gnc account merge children: OK > /engine/Account/xaccAccountForEachTransaction: OK > /engine/Account/xaccAccountTreeForEachTransaction: OK > /engine/Account/book set/get root account: OK > /engine/Account/gnc account append/remove child: OK > /engine/Budget/gnc_budget_set_name(): OK > /engine/Budget/gnc_budget_set_description(): OK > /engine/Budget/gnc_budget_set_num_periods(): OK > /engine/Budget/gnc_budget_set_recurrence(): OK > /engine/Budget/gnc_budget_set_account_period_value(): OK > /engine/gncEntry/basics: OK > /engine/gncInvoice/post: OK > /engine/Transaction/check open: OK > /engine/Transaction/xaccTransStillHasSplit: OK > /engine/Transaction/mark trans: OK > /engine/Transaction/gen event trans: OK > /engine/Transaction/gnc transaction init: OK > /engine/Transaction/gnc transaction dispose: OK > /engine/Transaction/gnc transaction finalize: OK > /engine/Transaction/xaccMallocTransaction: OK > /engine/Transaction/xaccTransSortSplits: OK > /engine/Transaction/dupe_trans: OK > /engine/Transaction/xaccTransClone: OK > /engine/Transaction/xaccTransCopyFromClipBoard: OK > /engine/Transaction/xaccTransCopyFromClipBoard No-Start: OK > /engine/Transaction/xaccFreeTransaction: OK > /engine/Transaction/xaccTransEqual: <INFO> > (gnc.engine) [xaccSplitEqualCheckBal] balances differ: 100000/1000 vs > 200000/1000 > ** > ERROR:/home/gnucash-dev/gitcheckouts/gnucash-clean/src/engine/test/utest-Transaction.cpp:948:void > test_xaccTransEqual(Fixture*, gconstpointer): assertion failed (check->hits > == 10): (11 == 10) > FAIL > GTester: last random seed: R02S14754da1b0762b226898adbd938e72ad > /bin/sh: line 1: 12538 Terminated MALLOC_CHECK_=2 > MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) GUILE_WARN_DEPRECATED=no > GUILE="/home/gnucash-dev/gitcheckouts/gnucash-clean-build/gnc-guile" > SRCDIR=/home/gnucash-dev/gitcheckouts/gnucash-clean/src/engine/test > GNC_BUILDDIR="/home/gnucash-dev/gitcheckouts/gnucash-clean-build" > GNC_MODULE_PATH="../../../src/engine/.libs:../../../src/engine/test/.libs:../../../src/app-utils/.libs:${GNC_MODULE_PATH}" > > GUILE_LOAD_PATH="../../../src/gnc-module:../../../src/engine:../../../src/app-utils:../../../src/core-utils:../../../src/scm:../../../src/engine/test:${GUILE_LOAD_PATH}" > > GUILE_LOAD_COMPILED_PATH="../../../src/gnc-module:../../../src/engine:../../../src/app-utils:../../../src/core-utils:../../../src/scm:../../../src/engine/test:${GUILE_LOAD_COMPILED_PATH}" > > LD_LIBRARY_PATH="../../../src/libqof/qof/.libs:../../../src/core-utils/.libs:../../../src/gnc-module/.libs:../../../src/engine/.libs:../../../src/app-utils/.libs:../../../src/backend/xml/.libs:../../../src/backend/sql/.libs:../../../src/engine/test/.libs:${LD_LIBRARY_PATH}" > > DYLD_LIBRARY_PATH="../../../src/libqof/qof/.libs:../../../src/core-utils/.libs:../../../src/gnc-module/.libs:../../../src/engine/.libs:../../../src/app-utils/.libs:../../../src/backend/xml/.libs:../../../src/backend/sql/.libs:../../../src/engine/test/.libs:${DYLD_LIBRARY_PATH}" > gtester --verbose test-engine > Makefile:2150: recipe for target 'test-nonrecursive' failed > make[5]: *** [test-nonrecursive] Error 143 > make[5]: Leaving directory > '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/engine/test' > > > Don't know if you already knew that.
Alex, Nope, didn't know that because it passes on Travis and all of my VMs including Fedora-24, so ISTM you have a local problem. A clue is that the error about the error about xaccSplitEqualCheckBal isn't issued until line 967, yet the test reports that it's failing at line 948. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel