On Nov 11, 2023, at 12:46, John <jralls at ceridwen.us> wrote:
> 
>> 
>> On Nov 11, 2023, at 04:18, Manfred Usselmann <manfred at usselmann.de> 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


For what it may be worth, I have been successful building and packaging GnuCash 
5.4 on Windows 10 with mingw-w64-i686-webkitgtk3-2.4.11-999.5-any in a recent 
(2023-07-18) MSYS2 MINGW32 environment. 

1. Missing gcrypt

pacman -S mingw-w64-i686-libgcrypt --noconfirm --needed


2. Missing xmlsec1

pacman -S mingw-w64-i686-xmlsec --noconfirm --needed


3. Install the latest mingw-w64-i686-webkitgtk3 and the versions of it's 
dependencies:

cd /c/gcdev64/msys2/var/cache/pacman/pkg/
wget 
https://downloads.sourceforge.net/gnucash/Dependencies/jralls_public_signing_key.asc
pacman-key --add jralls_public_signing_key.asc
pacman-key --lsign C1F4DE993CF5835F
wget 
https://sourceforge.net/projects/gnucash/files/Dependencies/mingw-w64-i686-webkitgtk3-2.4.11-999.5-any.pkg.tar.zst
wget 
https://sourceforge.net/projects/gnucash/files/Dependencies/mingw-w64-i686-webkitgtk3-2.4.11-999.5-any.pkg.tar.zst.sig
pacman -U 
https://sourceforge.net/projects/gnucash/files/Dependencies/mingw-w64-i686-webkitgtk3-2.4.11-999.5-any.pkg.tar.zst
 --noconfirm --needed
wget 
https://repo.msys2.org/mingw/mingw32/mingw-w64-i686-icu-69.1-1-any.pkg.tar.zst
wget 
https://repo.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-libs-12.2.0-10-any.pkg.tar.zst
cd /c/gcdev64/msys2
zstdcat 
/c/gcdev64/msys2/var/cache/pacman/pkg/mingw-w64-i686-icu-69.1-1-any.pkg.tar.zst 
| tar xf - mingw32/bin/libicudt69.dll mingw32/bin/libicuin69.dll 
mingw32/bin/libicuuc69.dll
zstdcat 
/c/gcdev64/msys2/var/cache/pacman/pkg/mingw-w64-i686-gcc-libs-12.2.0-10-any.pkg.tar.zst
 | tar xf - mingw32/bin/libssp-0.dll

In addition to including these dependencies in the build environment, I found 
it necessary to apply the manifest patch and a rename patch to jhbuild. as well 
as a packaging patch.

Sherlock
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to