2020-04-28 GnuCash IRC logs

00:05:14 *** jralls has quit IRC
00:12:37 *** jralls has joined #gnucash
00:12:37 *** ChanServ sets mode: +o jralls
00:42:00 *** angel has quit IRC
01:04:05 *** Mechtilde has joined #gnucash
01:12:41 <fell> jralls, Template:Install Flatpak sh was used multilingual ... but noe is bed time for me
01:19:09 *** frakturfreak has quit IRC
01:33:30 *** frakturfreak has joined #gnucash
01:33:30 *** ChanServ sets mode: +v frakturfreak
01:37:55 *** omnireq_ has quit IRC
01:38:05 *** omnireq_ has joined #gnucash
01:38:55 *** sbluhm has joined #gnucash
01:55:54 *** fell has quit IRC
01:55:57 *** pohly has joined #gnucash
01:57:13 *** fell has joined #gnucash
01:57:14 *** ChanServ sets mode: +o fell
02:19:55 *** omnireq_ has quit IRC
02:20:05 *** omnireq_ has joined #gnucash
02:20:54 *** jervin has joined #gnucash
02:25:00 *** jervin has quit IRC
02:37:24 *** suukim has joined #gnucash
02:52:39 *** Mechtilde has quit IRC
02:54:33 *** Mechtilde has joined #gnucash
03:06:25 *** omnireq_ has quit IRC
03:06:55 *** omnireq has joined #gnucash
03:06:55 *** ChanServ sets mode: +v omnireq
03:20:42 *** gjanssens has joined #gnucash
03:20:42 *** ChanServ sets mode: +o gjanssens
03:27:55 *** omnireq has quit IRC
03:29:29 *** omnireq has joined #gnucash
03:29:29 *** ChanServ sets mode: +v omnireq
03:36:15 *** FH_thecat has joined #gnucash
03:42:08 <gjanssens> @tell jralls The *-links targets are generated by the gnc_add_scheme_targets if the MAKE_LINKS parameter is set.
03:42:08 <gncbot> gjanssens: The operation succeeded.
03:42:44 <gjanssens> @notes gjanssens,
03:42:44 <gncbot> gjanssens: Sent 1 day, 2 hours, and 1 minute ago: <jralls> in gnucash/report/reports/CMakeLists.txt there are 3 targets used as dependencies that don't seem to be created anywhere: scm-reports-common-links, scm-reports-standard-links, and scm-reports-example-links. I'd expect cmake to crash out if they didn't exist, so where do they come from?
03:43:17 <gjanssens> Heh, answer before question...
03:57:03 *** keiffer has joined #gnucash
04:08:25 *** suukim has quit IRC
04:12:22 *** suukim has joined #gnucash
04:17:44 *** bertbob has quit IRC
04:18:54 *** bertbob has joined #gnucash
04:18:54 *** ChanServ sets mode: +v bertbob
04:31:26 *** Hamaryns has joined #gnucash
04:31:27 *** ChanServ sets mode: +v Hamaryns
04:33:21 *** Gerd has joined #gnucash
04:45:04 *** Unhammer has quit IRC
04:57:41 *** Gerd has quit IRC
05:05:55 *** omnireq has quit IRC
05:06:26 *** omnireq has joined #gnucash
05:06:26 *** ChanServ sets mode: +v omnireq
05:13:35 *** Unhammer has joined #gnucash
05:13:35 *** ChanServ sets mode: +v Unhammer
05:17:23 *** storyjesse has joined #gnucash
05:40:52 *** Unhammer has quit IRC
05:41:49 *** Unhammer has joined #gnucash
05:45:49 *** Unhammer has quit IRC
05:59:47 *** Unhammer has joined #gnucash
06:09:17 *** Mechtilde has quit IRC
06:13:12 *** Unhammer has quit IRC
06:15:20 *** Mechtilde has joined #gnucash
06:16:25 *** Unhammer has joined #gnucash
06:17:50 *** User has joined #gnucash
06:27:05 *** Aussie_matt has quit IRC
06:55:26 *** Gerd has joined #gnucash
06:59:57 *** Hamaryns has quit IRC
08:46:29 *** chris has joined #gnucash
08:46:29 *** ChanServ sets mode: +v chris
09:01:39 *** suukim has quit IRC
09:01:49 *** suukim has joined #gnucash
09:09:06 *** Gerd has quit IRC
09:16:38 *** Hamaryns has joined #gnucash
09:16:38 *** ChanServ sets mode: +v Hamaryns
09:20:55 *** sbluhm has quit IRC
09:22:51 *** Jimraehl1 has joined #gnucash
09:23:29 *** Jimraehl1 has left #gnucash
09:29:08 *** chris has quit IRC
09:36:56 *** chris has joined #gnucash
09:36:56 *** ChanServ sets mode: +v chris
09:44:28 <chris> no warlord I won't ask you for windows builds.
09:45:51 <chris> btw the 3.900 release announcement didn't specify how/where to submit bug reports. it should still be git-master in bugzilla I guess.
09:45:55 <warlord> chris, why would you ask me? They are automated ;)
09:56:35 *** Hamaryns has quit IRC
09:58:44 *** Hamaryns has joined #gnucash
09:58:44 *** ChanServ sets mode: +v Hamaryns
09:59:55 *** omnireq has quit IRC
10:00:05 *** omnireq has joined #gnucash
10:00:05 *** ChanServ sets mode: +v omnireq
10:30:28 <fell> jralls: I do not understand commit ce9d5f0 on htdocs.
10:31:13 *** jervin has joined #gnucash
10:35:32 *** ecdhe has quit IRC
10:36:03 *** ecdhe has joined #gnucash
10:39:36 <gjanssens> fell: we only want to list unstable releases on the downloads page if we are actively releasing them.
10:40:07 <gjanssens> The value of $latest_unstable is the condition to show or hide these releases.
10:41:05 <fell> Yes, the intention is clear, but comment and code seem to contradict each other now.
10:41:12 <gjanssens> I'm surprised though it worked as it should with $latest_unstable set to True.
10:41:56 <gjanssens> Not really, the False is commented out, which means the $latest_stable is set to an actual version string
10:42:33 <gjanssens> The previous code reset it to True. Which I think is equally wrong as I read the rest of the php code in downloads.phtml
10:43:00 <gjanssens> As I understand it, it should have been set to False to hide the downloads
10:43:34 <gjanssens> I suspect jralls came to the same conclusion so he changed it to False already for the next time we want to hide the unstable downloads
10:43:46 <gjanssens> At that point we only have to uncomment that line.
10:48:33 <chris> gjanssens: thanks for pitching in the budgets issue... otherwise it looked that I was pushing for a lone campaign against phil's work. It just needs refining and fixing that's all.
10:49:26 <fell> When there's an unstable release (currently true),going on uncomment the line setting it to false. (uncomment->$latest_unstable = False;
10:49:49 <fell> no display
10:50:19 <chris> it *would* be nice to have this finally fixed and done, maybe even acceptable for 3.11 which will be a flagship 3.x release.
10:51:13 <gjanssens> fell: right. That comment itself is misleading. It should have been "when there's *no* unstable going on..."
10:51:20 <gjanssens> Well spotted
10:51:27 <gjanssens> chris: you're welcome
10:53:40 *** Hamaryns has quit IRC
11:02:18 *** storyjesse has quit IRC
11:13:30 *** Hamaryns has joined #gnucash
11:13:30 *** ChanServ sets mode: +v Hamaryns
11:16:11 <gjanssens> fell: Meanwhile I have been editing several documentation related pages to add cmake information. I hope this helps lower the barrier for you
11:17:22 <gjanssens> While perhaps new to you, I find cmake to have many benefits over Autotools.
11:17:49 <fell> Thanks, I will review them. BTW also "normal" contributors should be able use them. ;-)
11:18:07 <gjanssens> Like more readable configuration files, much less overhead (no more autogen.sh), it's much smarter about file additions or changes,...
11:18:42 <gjanssens> For the wikis I have generally taken what's there for Autotools and duplicated the explanations for cmake.
11:19:24 <fell> I know, but there are so many shiny new buttons.
11:19:44 <gjanssens> Resist the temptation to push them all at once :P
11:20:01 <gjanssens> As a side note, you may like the cmake_gui companion application
11:20:39 <gjanssens> It's a small tool that will ask you the locations of your source and (future) build directories and then has a few buttons (Configure and Generate)
11:21:03 <gjanssens> If you hit configure, it will parse the cmake configuration files and present you with a list of options and parameters you can tweak.
11:21:18 <gjanssens> No need to remember their syntax yourself any more.
11:21:54 <gjanssens> It will also allow you the select your target environment (Unix Makefiles, Ninja, Eclipse CDT and so on)
11:25:01 <fell> Example new Buttons: https://vimeo.com/10606810
11:33:06 *** Mechtilde has quit IRC
11:34:36 <gjanssens> That was fun :D
11:46:49 *** Agfarmer18 has joined #gnucash
11:55:31 *** Hamaryns has quit IRC
12:06:06 *** Mechtilde has joined #gnucash
12:06:06 *** Gerd has joined #gnucash
12:08:28 *** guak has joined #gnucash
12:12:00 *** jervin has quit IRC
12:14:18 <fell> gjanssens: how about the CMake snippet for https://github.com/Gnucash/gnucash-docs/pull/128?
12:21:59 *** gjanssens has quit IRC
12:25:35 *** gjanssens has joined #gnucash
12:25:35 *** ChanServ sets mode: +o gjanssens
12:47:39 <jralls> fell, I misunderstood how $latest_unstable works so the download links were missing the '3.902' parts.
12:47:39 <gncbot> jralls: Sent 9 hours and 5 minutes ago: <gjanssens> The *-links targets are generated by the gnc_add_scheme_targets if the MAKE_LINKS parameter is set.
12:48:53 <gjanssens> jralls: regarding the guile dependency issues, it's not exactly true we can't have circular dependencies like in a C/C++ compile unit
12:49:19 <gjanssens> The problem is rather our source file organisation is not very good for guile
12:50:02 <gjanssens> If we would have a single guile directory with all the guile sources organized in there in the same way as the guile modules are named, it would work well
12:51:06 <gjanssens> So if module "gnucash engine" would live under guile/gnucash/engine.scm already in source, then by setting the appropriate guile_load_path (to include that "guile" source dir) much of these issues wouldn't exist
12:51:41 <gjanssens> We could even have a guile directory in bindings with that structure and one in gnucash (the gui side of the project) and add both the the load path
12:52:01 <gjanssens> That would also eliminate the awkward hack of creating links
12:52:28 <gjanssens> I'm not sure I would suggest to do this for 4.x still, but it could be a good improvement for 5.x
12:52:29 *** suukim has quit IRC
12:52:45 <gjanssens> fell: I'm looking at the cmake snippet for your format command
12:54:05 <jralls> gjanssens, the build problems in reports and qif-imp suggest otherwise. In both cases the failures were due to build order in a single CMakeLists.txt.
12:54:32 <fell> Thanks.
12:55:46 <gjanssens> jralls: I haven't followed that bit in detail. Can I see the error messages somewhere still ?
12:56:02 <gjanssens> fell: However as I don't find xmlformat.pl on fedora, I have a hard time testing it.
12:56:51 <fell> also not xmlformat.rb?
12:56:51 <gjanssens> Given it's limited availability I wouldn't make it mandatory
12:57:05 <gjanssens> No
12:57:39 <fell> From my POV we can switch to tidy. later.
12:57:47 <gjanssens> I have to leave now. Perhaps I can come back to it later this evening
12:57:58 <fell> NP.
12:58:21 <jralls> gjanssens, I'll find the failed build logs for you.
12:58:55 <jralls> gjanssens: https://code.gnucash.org/builds/win32/build-logs/unstable/2020-04/build-unstable-2020-04-27-01-42-47.log
13:01:04 <fell> My current plans are to run it once. Solve the crossrefs issue, so David Cousens can use them. and later continue the format.
13:03:57 <jralls> gjanssens: https://flathub.org/builds/#builders/12/builds/2238
13:05:13 *** Gerd1 has joined #gnucash
13:05:13 *** Gerd has quit IRC
13:05:14 *** Gerd1 is now known as Gerd
13:05:24 *** Han has joined #gnucash
13:08:50 <jralls> gjanssens: I think that the underlying problem is that for (use-modules (gnucash bar)) guile looks for bar.go and bar.scm in a subdir named gnucash. That's not present in CMAKE_SOURCE_DIR of course, so it looks in the build-product paths. If bar hasn't yet been built it doesn't find it.
13:10:33 *** Agfarmer18 has quit IRC
13:11:39 <jralls> Maybe if we pre-populated share/gnucash/scm/gnucash with all of the source files it would protect us against getting the build order wrong, but is guild smart enough to put the automatically-built bar.go in lib/gnucash/guile/2.x/gnucash? And if it is, is it smart enough to realize that it's already built bar.go when cmake gets around to telling it to?
13:16:34 <gjanssens> jralls: that's more or less what I meant with my load path stuff
13:18:39 <jralls> Maybe you picked a poor example, because engine is a swig product and lives by itself. The problem manifests in pure-scheme directories.
13:22:53 <jralls> But IIUC correctly those link targets should have gotten aging.scm into share/gnucash/scm/gnucash before receivables.scm started to build. Either it didn't or that's not sufficient. I'll try a build with the change reverted and see.
13:25:39 *** Han has quit IRC
13:34:44 <chris> it would be very easy to move payables.scm and receivables.scm into aging.scm ....
13:40:49 <jralls> That would be insane. aging.scm is a support file and the other two are reports.
13:45:57 *** Gerd has quit IRC
13:53:11 *** Gerd has joined #gnucash
14:10:22 *** bebo has joined #gnucash
14:11:19 *** bertbob has quit IRC
14:11:38 *** chris has quit IRC
14:12:18 *** fell has quit IRC
14:16:16 *** fell has joined #gnucash
14:16:16 *** ChanServ sets mode: +o fell
14:16:28 *** phoenix has joined #gnucash
14:21:26 *** Han has joined #gnucash
14:41:56 *** Simon has quit IRC
14:57:43 *** Han has quit IRC
15:02:05 *** Simon has joined #gnucash
15:02:05 *** ChanServ sets mode: +v Simon
15:37:14 *** Agfarmer18 has joined #gnucash
15:42:26 *** phoenix has quit IRC
15:47:45 *** keiffer has quit IRC
15:55:02 *** User has quit IRC
15:57:25 *** keiffer has joined #gnucash
16:08:50 <gjanssens> jralls: the Windows build error seems to be due to a missing dependency on the gnucash engine scm module. As it's not in the same source directory you probably need to add the link target for it.
16:10:41 <gjanssens> And I see the current build doesn't generate that link target. It may not have been necessary before. But I have juggled a few dependencies by eliminating gnc-module targets. That may have altered the build dependency tree
16:10:45 <jralls> gjanssens: Whatever makes you think that? The error is that guile, while compiling receivables.scm, can't import aging, and the fix was to rearrange the dependency chain in gnucash/report/reports/CMakeLists.txt to ensure that aging was built before receivables.
16:11:27 *** phoenix has joined #gnucash
16:24:37 *** Agfarmer18 has quit IRC
16:31:01 *** Gerd has quit IRC
16:35:20 <gjanssens> jralls: I'm simply looking at the error log you sent me:
16:35:23 <gjanssens> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
16:35:24 <gjanssens> no code for module (gnucash engine)
16:36:02 <gjanssens> Perhaps you meant another log then ?
16:36:20 <gjanssens> Anyway, too late this evening for further discussion.
16:36:24 <gjanssens> Good night!
16:36:29 <jralls> Good night.
16:36:54 *** gjanssens has quit IRC
16:41:53 *** Mechtilde has quit IRC
16:41:59 <jralls> @tell gjanssens the error for receivables.scm apparently didn't make it into the saved logs because I didn't pass -host to build_package.ps1.
16:41:59 <gncbot> jralls: The operation succeeded.
16:50:33 <jralls> @tell gjanssens Ah, no, here it is: https://code.gnucash.org/builds/win32/build-logs/unstable/2020-04/build-unstable-2020-04-26-19-13-09.log
16:50:33 <gncbot> jralls: The operation succeeded.
16:51:36 <jralls> @tell gjanssens It happened to be payables.scm that time, but both it and receivables are in the same target and both depend on aging.
16:51:36 <gncbot> jralls: The operation succeeded.
16:53:11 *** phoenix has quit IRC
16:54:12 *** pohly has quit IRC
17:07:00 *** oozer has joined #gnucash
17:08:07 *** frakturfreak has quit IRC
17:08:37 *** jervin has joined #gnucash
17:14:13 *** Gerd has joined #gnucash
17:22:29 *** Agfarmer18 has joined #gnucash
17:26:50 *** jervin has quit IRC
17:44:28 *** Agfarmer18 has quit IRC
18:00:34 *** keiffer has quit IRC
19:06:50 *** Gerd has quit IRC
20:13:25 *** guak has quit IRC
21:05:46 *** oozer has quit IRC
21:18:09 *** gncbot has joined #gnucash
21:54:08 *** Aussie_matt has joined #gnucash
22:17:03 *** jralls_afk has joined #gnucash
22:17:03 *** ChanServ sets mode: +o jralls_afk
22:17:42 *** jralls has quit IRC
22:44:23 *** FH_thecat has quit IRC
22:46:38 *** lcanaska has joined #gnucash
22:47:07 *** chris has joined #gnucash
22:47:08 *** ChanServ sets mode: +v chris