Re: [GNC-dev] Windows Build VM
john <[email protected]> Sat, 11 Nov 2023 09:46:48 -0800
| Newsgroups | gmane.comp.gnome.apps.gnucash.devel |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 11, 2023, at 04:18, Manfred Usselmann <[email protected]> wrote: > > Am 2023-11-10 10:26, schrieb Manfred Usselmann: >> Am 2023-11-10 08:40, schrieb Manfred Usselmann: >>> I have opened a ticket since this looks like a jhbuild issue for me: >>> https://gitlab.gnome.org/GNOME/jhbuild/-/issues/290 >> It's just a simple typo, see https://gitlab.gnome.org/GNOME/jhbuild/-/merge_requests/137 > > Still not finished with the build, fixing one issue after the other. > > -- Package 'webkitgtk-3.0', required by 'virtual:world', not found > > Reason: The provided webkitgtk3 package does not get installed: > > # First run of setup-wingw64.ps1: > # ------------------------------------------------------------------------------- > :: Retrieving packages... > mingw-w64-i686-webkitgtk3-2.4.11-999.4-any 8.1 MiB 475 KiB/s 00:17 [#######################################] 100% > error: failed retrieving file 'mingw-w64-i686-webkitgtk3-2.4.11-999.4-any.pkg.tar.zst.sig' from master.dl.sourceforge.net : Maximum file size exceeded > warning: failed to retrieve some files > # ------------------------------------------------------------------------------- > > # Second run: > # ------------------------------------------------------------------------------- > loading packages... > error: '/var/cache/pacman/pkg/mingw-w64-i686-webkitgtk3-2.4.11-999.4-any.pkg.tar.zst': package missing required signature > # ------------------------------------------------------------------------------- > > I fixed this by manually downloading mingw-w64-i686-webkitgtk3-2.4.11-999.4-any.pkg.tar.zst. > > I noticed there is also a -999.5 package. Should that be used instead of the -999.4 one? > > # Next issue: > # ------------------------------------------------------------------------------- > *** Checking out gnucash-git *** [12/14] > > [...] > > CMake Error at CMakeLists.txt:345 (message): > Neither guile 3.0, guile 2.2, nor guile 2.0 were found GnuCash can't run > without one of them. Ensure that one is installed and can be found with > pkg-config. > > > -- Configuring incomplete, errors occurred! > *** Error during phase configure of gnucash-git: ########## Error running cmake -DCMAKE_INSTALL_PREFIX=/C/users/mu/Entwicklung/GnuCash/gcdev64/gnucash/stable/inst -DCMAKE_INSTALL_LIBDIR=lib -G Ninja -DCMAKE_PREFIX_PATH=$MSYS2ROOT -DPERL_EXECUTABLE=/usr/bin/perl -DGNC_DBD_DIR=$PREFIX/lib/dbd -DGTEST_ROOT=$SRCROOT/googletest/ -DCMAKE_BUILD_TYPE=Debug /C/users/mu/Entwicklung/GnuCash/gcdev64/gnucash/stable/src/gnucash-git *** [12/14] > # ------------------------------------------------------------------------------- > > Not sure what this one is. I believe there was already a long running build of guile2. > > *** Checking out guile2 *** [10/14] > *** Skipping guile2 (package and dependencies not updated) *** [10/14] > > Any hint for me? You probably need at least mingw-w64-i686-webkitgtk3-2.4.11-999.5-any. WebKit is a long-running sore point. MSYS2 periodically updates one of the webkit dependencies and I have to build another one, a process that can take several days. Another wrinkle is that Derek's windows VM and my windows VM sometimes diverge. Getting them back is another manual process that I have to make time to do carefully so as not to break the nightly builds; keeping those working is the top priority for gnucash-on-windows. With a new installation you're likely out of sync with both of those reference MSYS2 installations. Having a mismatch will cause link errors with libgnc-html.dll. For guile, make sure that $PREFIX/lib/pkgconfig/guile-2.2.pc exists; if it does make sure that PKG_CONFIG_PATH contains $PREFIX/lib/pkgconfig. Regards, John Ralls