2024-03-28 GnuCash IRC logs

02:30:11 *** fell has quit IRC
02:31:28 *** fell has joined #gnucash
02:31:28 *** ChanServ sets mode: +o fell
03:23:49 *** gjanssens has joined #gnucash
03:23:49 *** ChanServ sets mode: +o gjanssens
04:21:21 *** warlord has quit IRC
04:34:26 *** AdrienM has quit IRC
04:35:27 *** AdrienM has joined #gnucash
04:35:27 *** ChanServ sets mode: +v AdrienM
08:43:42 *** chris has joined #gnucash
08:43:42 *** ChanServ sets mode: +v chris
10:09:05 *** chris has quit IRC
10:36:00 *** chris has joined #gnucash
10:36:01 *** ChanServ sets mode: +v chris
10:46:58 *** CWehli has joined #gnucash
11:47:54 *** warlord has joined #gnucash
11:51:51 *** CWehli has quit IRC
12:03:10 *** ChanServ sets mode: +qo warlord warlord
12:03:13 *** warlord sets mode: +o gncbot
12:44:04 *** chris has quit IRC
12:57:57 *** palerider has joined #gnucash
12:58:42 *** palerider has left #gnucash
13:23:30 *** CWehli has joined #gnucash
13:56:05 *** CWehli has quit IRC
15:36:05 *** Kaligula has joined #gnucash
15:39:46 *** ChanServ sets mode: +v Kaligula
15:54:47 <Simon> <spmit:id type="guid">d55ea59c396f82b562d21bcd78170f62</split:id>
15:55:01 <Simon> that's odd... I've never had a bit flip error in a file before
15:58:04 *** CWehli has joined #gnucash
15:58:05 *** ChanServ sets mode: +v CWehli
16:39:26 *** sunyibo has joined #gnucash
16:39:26 *** ChanServ sets mode: +v sunyibo
17:27:10 *** jralls has joined #gnucash
17:27:10 *** ChanServ sets mode: +o jralls
17:35:23 <jralls> Simon, odd indeed.
17:36:09 <jralls> Kaligula, did you manage to get your build going on Win32?
17:37:26 <Kaligula> jralls: No. I got Mingw32, got a few errors about dependencies and I think I resolved them (manually downloading and copying), but got stuck 2 days ago on "TypeError: can only join an iterable".
17:38:32 <Kaligula> I still have the window open and I was going to ask for help on mailing list (but I used it once long ago and don't remember where and how was it, so the question is waiting still.)
17:39:08 <Kaligula> jralls: I followed the GitHub and Wiki instructions
17:40:45 <jralls> OK. Mingw64 is a bleeding-edge distro so stuff breaks. I don't update all that often so I don't necessarily see the breakage. Can you pastebin the whole error dump?
17:41:09 <Kaligula> The console? yes
17:44:58 <Kaligula> jralls: http://kaligula.uk/ctrlv/39fc
17:52:28 <jralls> Groan. A jhbuild error. In an MSYS2 please run `git describe` in /c/gcdev64/src/jhbuild.git .
17:53:41 <Kaligula> jralls: I'd like to confirm – MSYS2, not MinGW?
17:53:52 <jralls> Doesn't matter
17:53:55 <Kaligula> ok
17:54:45 <Kaligula> 3.38.0-388-g0dd9408b
17:58:25 <jralls> Considerably newer than my 3.38.0-155. Try `git checkout 598c6f57` and re-running the build. Were you building from the mingw32 terminal or using build_package.ps1 from Powershell?
18:00:47 <Kaligula> I was building from mingw32 shell, as instructed by https://github.com/Gnucash/gnucash-on-windows?tab=readme-ov-file#building-gnucash
18:01:31 *** CWehli has quit IRC
18:03:45 <Kaligula> error: Your local changes to the following files would be overwritten by checkout:
18:03:45 <Kaligula> jhbuild/modtypes/__init__.py
18:03:45 <Kaligula> jhbuild/modtypes/cmake.py
18:03:45 <Kaligula> jhbuild/utils/systeminstall.py
18:03:45 <Kaligula> Please commit your changes or stash them before you switch branches.
18:03:47 <Kaligula> Aborting
18:04:00 <Kaligula> I didn't change anything, but OK. I'll stash it.
18:04:46 *** gjanssens has quit IRC
18:07:24 <Kaligula> I tried:
18:07:24 <Kaligula> TARGET=gnucash-master jhbuild -f jhbuildrc build
18:07:24 <Kaligula> again, but got:
18:07:24 <Kaligula> jhbuild: could not load config file, jhbuildrc is missing
18:27:24 *** sunyibo has quit IRC
18:33:05 <Kaligula> damn, I was trying from under jhbuild.git <facepalm>
18:33:57 <Kaligula> ok, build is running…
19:05:54 <Kaligula> jralls: error on step *** Configuring gwenhywfar *** [3/14]
19:07:09 <jralls> Kaligula, progress, that's a lot farther. Please pastebin the last 20-30 lines of output.
19:08:46 <Kaligula> In file included from C:/gcdev64/gnucash/master/src/gwenhywfar-5.10.2/src/sio/syncio_tls.c:54:
19:08:46 <Kaligula> C:/gcdev64/msys2/mingw32/include/gcrypt.h:31:10: fatal error: gpg-error.h: No such file or directory
19:08:46 <Kaligula> 31 | #include <gpg-error.h>
19:08:46 <Kaligula> | ^~~~~~~~~~~~~
19:08:46 <Kaligula> compilation terminated.
19:08:48 <Kaligula> output here → http://kaligula.uk/ctrlv/1ffb
19:15:03 <jralls> That's odd. It should be in /mingw32/include. Is it?
19:16:46 <Kaligula> jralls: No, I don't see such file there.
19:17:07 <Kaligula> Is this a dependecy that I am missing?
19:18:08 <jralls> Yes, but pacman should have installed it as a dependency of libgcrypt. Run `pacman -S mingw-w64-i686-libgpg-error` and re-run the build.
19:19:29 <jralls> As an FYI you can also select 4 from the fail menu to start a shell, run a pacman command to install something that's missing, quit the shell, and select 1 from the menu to retry building the module.
19:19:42 <Kaligula> thx
19:22:19 <Kaligula> libgcrypt was one of dependencies that I copied manually, because it could not do it by itself
19:22:28 <Kaligula> Maybe that's the case.
19:24:04 <Kaligula> I think that was on the `jhbuild -f src/gnucash-on-windows.git/jhbuildrc build` stage (this is what setup-mingw64.ps1 asks for, at the end)
19:27:41 <Kaligula> I think also I also downloaded libunistring manually.
19:27:46 <Kaligula> (during that stage)
19:29:06 <Kaligula> During setup-mingw64.ps1 I had to manually download webkitgtk3, libmariadbclient and postgresql due to errors.
19:33:48 <jralls> Don't copy dependencies. There are a few that get built. Everything else you should install with pacman.
19:34:29 <Kaligula> I tried, but pacman either couldn't find or had errors.
19:35:40 <Kaligula> That was weird, because I could find them in msys2/mingw32 repo
19:36:19 <jralls> OK, you can download the package files from the MSYS2 archive and install them with pacman -U. (Except WebKit. That you have to get from the GnuCash project at Sourceforge and install with pacman -U).
19:38:18 <jralls> But I don't think that automatically retrieves dependencies so you have to use pacman -Qi <package name> to find them and install them with pacman -S.
19:45:01 <jralls> libgcrypt, libmariadbclient, and postgresql all return valid info with pacman -Qi so not sure what the problem might have been.
19:45:26 <Kaligula> I got an error during aqbanking "Package 'xmlsec1', required by 'virtual:world', not found". I tried `pacman -S mingw-w64-i686-xmlsec` but "target not found". Wierd, because I see it in https://repo.msys2.org/mingw/mingw32/
19:45:26 <Kaligula> output here: http://kaligula.uk/ctrlv/2373
19:59:15 <jralls> That is weird. What happens if you say `pacman -Si mingw-w64-i686-xmlsec` instead?
19:59:49 <Kaligula> error: package 'mingw-w64-i686-xmlsec' was not found
20:00:48 <Kaligula> downloaded manually and tried `pacman -U mingw-w64-i686-xmlsec` but got:
20:00:48 <Kaligula> loading packages...
20:00:48 <Kaligula> error: 'mingw-w64-i686-xmlsec': could not find or read package
20:02:11 <Kaligula> If nothing else works, I can just unpack and copy its files, just like I did with the other dependencies.
20:02:21 <jralls> Yet I did the same just now and got a normal response.
20:02:40 <Kaligula> :l
20:03:48 <jralls> Sounds like you have a flaky network connection.
20:06:28 <jralls> Maybe keep trying to install everything with `pacman -S` until it works. But if you d/l a package from repo.msys2.org use `pacman -U` to install it instead of unpacking it and copying its contents around.
20:07:20 <jralls> You can also try skipping the download step and passing the URI to pacman -U.
20:10:15 <Kaligula> I tried `pacman -U mingw-w64-i686-xmlsec` before, but got:
20:10:15 <Kaligula> loading packages...
20:10:15 <Kaligula> error: 'mingw-w64-i686-xmlsec': could not find or read package
20:10:29 <Kaligula> should I give a full path? I'll try
20:12:11 <jralls> Yes, pacman -U needs a full path unless the downloaded package file is in your pwd. Also it needs the whole filename not just the package name, and it needs the corresponding sig file to be in the same directory.
20:22:49 <Kaligula> Thx, that worked. Continuing the build…
20:23:39 <Kaligula> I need to sleep. Will come back to it tomorrow. Thank you very much for your help.
20:25:11 <jralls> You're welcome and goodnight.
20:29:36 <Kaligula> Good night :)
20:49:52 *** Kaligula has quit IRC
21:00:01 *** raghukamath has quit IRC
21:07:58 *** raghukamath has joined #gnucash
21:07:58 *** ChanServ sets mode: +v raghukamath
21:13:51 *** chris has joined #gnucash
21:13:51 *** ChanServ sets mode: +v chris
21:13:51 *** gncbot sets mode: +o chris
21:44:18 *** chris has quit IRC
22:11:12 *** chris has joined #gnucash
22:11:12 *** ChanServ sets mode: +v chris
22:11:12 *** gncbot sets mode: +o chris
22:49:47 *** chris has quit IRC
23:46:07 *** chris has joined #gnucash
23:46:07 *** ChanServ sets mode: +v chris
23:46:07 *** gncbot sets mode: +o chris