2020-05-08 GnuCash IRC logs

00:48:58 *** Mechtilde has joined #gnucash
01:07:52 *** frakturfreak has quit IRC
01:12:18 *** hussam has quit IRC
01:22:35 *** frakturfreak has joined #gnucash
01:28:45 *** hussam has joined #gnucash
01:28:45 *** ChanServ sets mode: +v hussam
01:29:26 *** sbluhm has joined #gnucash
01:29:27 *** ChanServ sets mode: +v sbluhm
01:45:41 *** fell has quit IRC
01:45:58 *** bertbob has quit IRC
01:47:01 *** fell has joined #gnucash
01:47:01 *** ChanServ sets mode: +o fell
01:48:04 *** ErKa has joined #gnucash
01:50:59 *** bertbob has joined #gnucash
01:51:00 *** ChanServ sets mode: +v bertbob
01:53:15 *** Gerd has joined #gnucash
02:01:36 *** Mechtilde has quit IRC
02:07:16 *** jervin has joined #gnucash
02:14:58 *** storyjesse has quit IRC
02:20:48 *** pohly1 has quit IRC
03:07:24 *** Aussie_matt has quit IRC
03:07:38 *** Aussie_matt has joined #gnucash
03:10:43 *** ErKa has quit IRC
03:19:23 *** Mechtilde has joined #gnucash
03:23:02 *** Gerd has quit IRC
03:30:16 *** Gerd has joined #gnucash
03:33:29 *** gjanssens has joined #gnucash
03:33:30 *** ChanServ sets mode: +o gjanssens
04:22:18 *** hussam has quit IRC
05:01:37 *** suukim has joined #gnucash
05:06:30 *** phoenix has joined #gnucash
05:40:06 *** Gerd has quit IRC
05:47:19 *** Gerd has joined #gnucash
05:55:37 *** User_ has joined #gnucash
06:17:51 *** Gerd has quit IRC
06:25:29 <chris> jralls: my #714 proposal is to merge it sooner, to give some win32 testers 1 extra week
06:33:41 *** User_ has quit IRC
06:38:55 *** Gerd has joined #gnucash
06:44:37 *** User_ has joined #gnucash
06:45:55 *** Aussie_matt has quit IRC
06:54:45 *** hussam has joined #gnucash
06:54:45 *** ChanServ sets mode: +v hussam
07:00:04 *** suukim has quit IRC
07:02:38 *** suukim has joined #gnucash
07:34:35 *** Aussie_matt has joined #gnucash
07:40:41 *** sbluhm has quit IRC
08:01:29 *** Gerd1 has joined #gnucash
08:01:29 *** Gerd has quit IRC
08:01:29 *** Gerd1 is now known as Gerd
08:27:31 *** Gerd has quit IRC
08:48:22 *** Hamaryns has joined #gnucash
08:48:22 *** ChanServ sets mode: +v Hamaryns
08:57:41 <chris> warlord: no win32 daily builds after 4th May?
09:06:18 <chris> fell: for your benefit, my budget commit has removed the Inflow/Outflow budget strings
09:12:32 *** Jimraehl1 has joined #gnucash
09:13:26 *** Jimraehl1 has quit IRC
09:24:27 <warlord> chris, probably got stuck, again.. There needs to be a watchdog to kill it if it gets stuck.
09:37:47 *** Aussie_matt has quit IRC
09:40:52 *** frakturfreak has quit IRC
09:41:43 *** frakturfreak has joined #gnucash
10:12:51 *** crossan007 has quit IRC
10:29:57 *** crossan007 has joined #gnucash
10:39:40 *** Hamaryns has quit IRC
10:55:43 *** Gerd has joined #gnucash
11:25:57 *** Mechtilde has quit IRC
11:34:27 *** jervin has joined #gnucash
11:45:29 *** guak has joined #gnucash
11:52:35 *** jervin has quit IRC
12:06:27 *** Gerd has quit IRC
12:06:52 *** Gerd has joined #gnucash
12:36:13 *** mohave has joined #gnucash
12:49:44 <warlord> gjanssens, jralls -- apparently win32 builder is stuck?
12:49:56 *** ChanServ sets mode: +qo warlord warlord
12:49:58 *** warlord sets mode: +o gncbot
12:56:11 *** ArtGravity has joined #gnucash
12:56:11 *** ChanServ sets mode: +v ArtGravity
13:00:32 <jralls> warlord, I just unstuck it.
13:01:50 <jralls> codesmythe, It's not broken for me and the person who said he wasn't able to build on gnucash-user never asked for help or gave any details of what his problem was.
13:03:05 <warlord> jralls, Thanks! I wonder how hard it would be to generate a watchdog to auto-kill it when it gets stuck?
13:03:41 <jralls> oedi: Do you mean reconciling or assigning accounts in an import?
13:06:39 <jralls> warlord, dunno. The elegant way would be to have some sort of process monitor that notices guile instances and their CPU usage, but I don't know how to do that.
13:07:50 <jralls> The simple alternative would be to set a sleep timer at the start of the build and kill it at the end. If the sleep timer wakes up it assumes the build is stuck and kills it.
13:12:41 <jralls> OTOH I had a hang on my local VM and opened it in gdb. There were a bunch of garbage collector threads waiting on a lock. I found a bug report on BDWGC that suggested building with --disable-parallel-mark, but that didn't help. I plan to try next to disable threads in both bdwgc and guile, just haven't made time to try it.
13:20:02 <jralls> chris, BTW aside from the hang there was also a failed compile of cashflow-barcharts because cashflow hadn't built yet. I fixed that on master last week, didn't realize maint has the problem.
13:25:01 *** Gerd has quit IRC
13:26:57 *** suukim has quit IRC
13:28:48 <warlord> even a process timer would be step forward so we don't miss days of builds.
13:29:01 <warlord> fixing the ACTUAL deadlock would of course be the best option.
13:34:51 <jralls> Yeah. Plus it bothers me that guile has multiple threads running when GnuCash runs. If it tries to parallelize and calls into our very not thread-safe C code bad things could happen.
13:38:07 <mohave> jralls, looks like there is a syntax error in https://github.com/Gnucash/gnucash-on-osx/blob/master/modulesets/gnucash.modules
13:38:21 <mohave> line 367 reads version="3.902" repo="sourceforge">
13:38:36 <mohave> and should read version="3.902" repo="sourceforge"/>
13:42:17 <jralls> mohave, thanks, fixed.
13:42:47 <mohave> Also, when compiling the boost modules, I get the following error:
13:43:07 <mohave> darwin.compile.c++ /Users/ctest/gnucash-unstable/build/boost_1_72_0/boost/bin.v2/libs/regex/build/darwin-11.0.3/release/cxxstd-17-iso/threading-multi/visibility-hidden/c_regex_traits.o
13:43:07 <mohave> clang: error: unknown argument: '-fcoalesce-templates'
13:43:21 <mohave> any ideas?
13:43:38 <jralls> What Xcode & MacOS version?
13:45:57 <mohave> xcode: Version 11.4.1 (11E503a), macOS 10.15.4
13:48:11 *** jervin has joined #gnucash
13:48:22 <jralls> Interesting, I didn't get any errors when I built it. Checking the 10.13 build...
13:50:16 <mohave> someone here: https://lists.boost.org/boost-build/2005/07/10589.php
13:50:46 <mohave> says - # GCC 4.0, the default compiler in Darwin 8.0.0, does not have
13:50:46 <mohave> - # -fcoalesce-templates. GCC 3.3 needs it. So, we add '-fcoalesce-templates'
13:52:21 *** oozer has joined #gnucash
13:55:53 *** Mechtilde has joined #gnucash
13:59:04 <jralls> mohave, Mac's haven't had gcc since 10.8.
14:01:28 <mohave> jralls, jhbuild % which g++
14:01:28 <mohave> /usr/bin/g++
14:01:28 <mohave> jhbuild % g++ --version
14:01:28 <mohave> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
14:01:28 <mohave> Apple clang version 11.0.3 (clang-1103.0.32.59)
14:01:29 <mohave> Target: x86_64-apple-darwin19.4.0
14:01:31 <mohave> Thread model: posix
14:01:35 <mohave> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
14:01:37 <mohave> jhbuild %
14:02:20 <jralls> mohave, yes, /usr/bin/gcc exists but as you can see it's not gcc, it's llvm.
14:02:42 <mohave> It's all greek to me
14:04:37 <jralls> https://gcc.gnu.org/, https://llvm.org/
14:07:40 *** ramontjunior has joined #gnucash
14:13:31 *** sbluhm has joined #gnucash
14:13:31 *** ChanServ sets mode: +v sbluhm
14:15:17 *** oozer has quit IRC
14:24:20 <codesmythe> jralls: The include at https://github.com/Gnucash/gnucash-on-osx/blob/master/modulesets/gnucash.modules#L36 is referencing your local machine.
14:27:24 <mohave> codesmythe as a workaround, you can comment out that line and uncomment the line above
14:32:43 *** jervin has quit IRC
14:34:07 <codesmythe> mohave: yep.
14:35:32 *** Gerd has joined #gnucash
14:42:32 *** phoenix has quit IRC
14:42:51 <fell> Jralls: Is "Edit->Find..." alway linked to "Find Transactions"?
14:45:29 <fell> As Title it is used in gnucash/gnome/dialog-find-transactions.c and gnucash/gnome-search/dialog-search.c
14:48:09 <fell> And the menu entry "_Find..." in gnucash/gnome/gnc-plugin-basic-commands.c, gnucash/gnome/gnc-plugin-page-register.c.
14:59:14 <fell> Find account gets its own entry
15:08:49 <fell> and that forbusiness elements are in submenu business
15:11:52 *** jtrh has joined #gnucash
15:16:58 *** jtrh has quit IRC
15:17:50 *** jtrh has joined #gnucash
15:22:51 *** jtrh has quit IRC
15:26:26 *** jtrh has joined #gnucash
15:26:54 *** jtrh has quit IRC
15:30:35 *** Gerd has quit IRC
15:34:33 *** gjanssens has quit IRC
15:35:34 *** jtrh has joined #gnucash
15:45:03 *** Gerd has joined #gnucash
15:55:15 *** Mechtilde has quit IRC
15:55:20 <jralls> codesmythe, thanks, fixed.
15:55:39 <jralls> mohave, boost-1.72 just built for me with no errors.
15:56:35 <jralls> fell, I think so. The business object searches are in the business menu.
15:56:50 <mohave> jralls using the same versions of macOS and Xcode as what i'm running?
15:58:44 <codesmythe> jralls: Now you're including both. :-)
15:59:57 <jralls> mohave, no. I'm still on xcode 11.3.1 and macos 10.15.3 on this box.
16:03:56 <mohave> jralls, I got it to build by making the following change to boost-cmake.patch
16:03:59 <mohave> jhbuild % diff boost*
16:03:59 <mohave> 46c46
16:04:00 <mohave> < + toolset=clang cxxflags=${CMAKE_CXX_FLAGS}
16:04:00 <mohave> ---
16:04:00 <mohave> > + toolset=darwin cxxflags=${CMAKE_CXX_FLAGS}
16:04:00 <mohave> jhbuild %
16:04:12 <mohave> darwin -> clang
16:05:00 <jralls> mojave, interesting.
16:06:06 <jralls> I wonder if the boost folks haven't maintained their darwin target.
16:11:49 *** ecdhe has quit IRC
16:12:00 *** ecdhe has joined #gnucash
16:25:38 <jralls> mojave, either way works for me. But I wonder what went weird on your darwin build, because https://github.com/boostorg/build/blob/develop/src/tools/darwin.jam#L141 says it only adds -fcoalesce-templates if gcc is earlier than 4.0.
16:26:03 <jralls> Which IIRC would be MacOS 10.3.
16:28:34 <mohave> Hmm, well, at least I know I couldn't have been running anything prior to Catalina, since I'm using a 2019 16" MBP
16:29:03 <jralls> 10.3 definitely won't run on that. It was PPC only.
16:32:36 *** oozer has joined #gnucash
16:35:16 *** sbluhm has quit IRC
16:37:48 <mohave> jralls, wait a minute... I thought earlier you said I wasn't using gcc, but llvm. So confusing -- to the novice... :-)
16:40:25 *** Gerd has quit IRC
16:42:20 <jralls> mohave, you're not. Apple used gcc as its compiler in Mac OS X through version 10.5. In 10.6 the started using llvm (who's front end is clang) and symlinking /usr/bin/gcc to it, but also included /usr/bin/gcc4.2.1 for users who's code didn't compile with clang's gcc emulation mode.
16:43:05 <jralls> By 10.8 they decided that the emulation mode was good enough and stopped including gcc, leaving only the symlink.
16:44:11 <mohave> Thanks, it helps to have some history!
16:46:01 *** User_ has quit IRC
16:46:25 <mohave> Damn, it takes webkitgtk forever to build...
16:49:13 <jralls> No, longer than that. :-/
16:58:53 <mohave> I'm afraid the Corona Virus may strike me before this compile is done :-(
17:05:29 <jralls> Stay home and drink is the only way to get through it.
17:08:06 *** oozer has quit IRC
17:14:26 *** mohave has quit IRC
17:14:47 *** mohave has joined #gnucash
17:18:20 <jralls> mohave, I just tried to build gnucash after building clang configured with toolset=clang and it doesn't link.
17:18:42 <jralls> mohave, sorry, *boost* configured with toolset=clang.
17:20:44 <mohave> But arent' you on xcode 11.3.1 and macos 10.15.3? If true, perhaps that matters.
17:21:23 <jralls> That's a different variable.
17:22:20 <jralls> C++ is really picky about everything being compiled with the same settings on the same compiler.
17:27:11 *** mohave has quit IRC
17:33:13 *** mohave has joined #gnucash
17:46:24 <fell> Is there some reason, why G_OS_WIN32 only reports "GnuCash could not find the files for the help documentation." while all others add "This is likely because the 'gnucash-docs' package is not installed."?
17:47:11 <jralls> fell, Because it doesn't make sense on OSes with no package manager.
17:47:42 <fell> and OSX has?
17:48:03 <jralls> Sometimes, when the user has installed GnuCash with MacPorts.
17:48:28 <fell> OK
17:49:15 <jralls> So we could add logic that checks if GnuCash is running from a bundle and suppress the message, but since the bundle is supposed to have the doc files it shouldn't ever appear.
17:49:25 <jralls> That's also true of Windows.
17:53:54 <fell> I came as I was unhappy about sveral flavours of MsgIds with and without ending full stop.
18:00:29 <jralls> But those msgids have a full stop.
18:01:21 <jralls> If the distinction really bugs you you could remove it and make a single msgid. As I said, it's unlikely to matter.
18:03:02 <fell> gnc-gnome-utils.c:284, 508 are without.
18:04:24 *** Agfarmer18 has joined #gnucash
18:07:14 *** Agfarmer18 has quit IRC
18:10:30 <jralls> 208 is in the Mac-only code so it wouldn't be a big deal to insert an am I in a bundle check.
18:22:39 *** frakturfreak has quit IRC
18:30:44 <fell> I also do not understand 1. the inconsistent usage of "PERR ("%s", error->message);" and 2. is it the same message?
18:34:02 <jralls> You're on gnc-gnome-utils.c:447?
18:34:19 <jralls> That's to have the same message in a dialog and in gnucash.trace.
18:36:41 <jralls> Nope, that's wrong. They're not the same message. We're logging the GError from gtk_show_uri in case the problem is something other than the documentation file is missing.
18:45:49 <fell> Ah, it is related to g_assert.
18:53:05 <jralls> Not really. g_assert is a wrapper around the std C assert() macro. GError is a function for passing error information up the call stack, useful when returning error codes won't convey enough information or would get in the way of returning something useful.
18:54:27 <jralls> Sorry, GError is a *struct*.
19:53:35 *** jralls has quit IRC
20:23:39 *** mohave has quit IRC
21:07:15 *** mohave has joined #gnucash
21:09:09 *** mohave has quit IRC
22:07:38 *** zoid has quit IRC
22:16:28 *** guak has quit IRC
22:34:57 *** ArtGravity has quit IRC
22:36:26 *** mjwalfredo has quit IRC
22:49:23 *** bertbob has quit IRC
23:11:22 *** omnireq__ has quit IRC
23:13:42 *** omnireq__ has joined #gnucash
23:26:38 *** storyjesse has joined #gnucash