<div dir="ltr"><div>Hi,</div><div><br></div><div>I have just finished refreshing my 
build VM's so they are upto date and decided I would try to do a fresh 
build install on my Windows build machine by doing the following and 
logging any problems / fixes...</div><div><br></div><div>Note: I left HTML workshop and Inno Setup installed<br><br>Copied Working c:\gcdev64 as a backup<br><br>Uninstall existing Msys2<br><br>Created new empty c:\gcdev64 directory<br><br>Download "setup-mingw64.ps1"<br><br>Start Powershell terminal<br>Run setup-mingw64.ps1 by specifying full path.<br>Complete Msys2 install<br><br>Gets stuck on 'Updating trust database..." after signing key, I have had this before and just Ctrl-C and rerun setup-mingw64.ps1<br><br>Setup completed but looking at the terminal I can see errors...<br><br>## Error retrieving mingw-w64-i686-webkitgtk3-2.4.11-999.51-any.pkg.tar.zst.sig, Maximum file size exceeded. <br><br>Download sig file from sourceforge and copied to c:\gcdev64\msys2\var\cache\pacman\pkg<br><br>## Error retrieving mingw-w64-i686-libmariadbclient and mingw-w64-i686-postgresql,<br><br>Rerun "setup-mingw64.ps1" which downloads more files.<br><br>There will still be an error for 'libmariadbclient and postgresql, will be fixed in Msys2 mingw32 terminal<br><br>Closed Powershell.<br><br>Start Msys2 mingw32 terminal<br><br>Copied mingw-w64-i686-libmariadbclient-3.1.13-1-any.pkg.tar.zst and sig file from backup folder<br>Copied mingw-w64-i686-postgresql-16.1-1-any.pkg.tar.zst and sig file from backup folder<br></div><div></div><div><br></div><div>cd /var/cache/pacman/pkg/<br>pacman -U mingw-w64-i686-libmariadbclient-3.1.13-1-any.pkg.tar.zst<br>pacman -U mingw-w64-i686-postgresql-16.1-1-any.pkg.tar.zst<br></div><div></div><div>** Note, I do not think these files exist from Msys2 Packages, maybe from an archive somewhere. **</div><div><br></div><div>As I know webkit requires specific dependency versions, I did the following after copying the files from my backup directory...<br><br>pacman -U mingw-w64-i686-boost-1.84.0-1-any.pkg.tar.zst<br>pacman -U mingw-w64-i686-icu-74.2-1-any.pkg.tar.zst<br>pacman -U mingw-w64-i686-harfbuzz-8.3.0-1-any.pkg.tar.zst<br></div><div>** Note, I do not think these files exist from Msys2 Packages, maybe from an archive somewhere. **</div><div><br></div><div>And then updated /etc/pacman.d/gnucash-ignores.pacman with this so they will not be updated...<br>IgnorePkg = mingw-w64-i686-boost<br>IgnorePkg = mingw-w64-i686-icu<br>IgnorePkg = mingw-w64-i686-harfbuzz<br><br>From a first run, I know we need this package, copied from my backup folder...<br><br>pacman -U mingw-w64-i686-xmlsec-1.2.39-1-any.pkg.tar.zst<br>** Note, I do not think this file exists from Msys2 Packages, maybe from an archive somewhere. **</div><div><br></div><div>And these two for the install process...<br><br>pacman -S mingw-w64-i686-libsecret<br>pacman -S mingw-w64-i686-iso-codes<br><br>cd /c/gcdev64/src/gnucash-on-windows.git/<br>TARGET=gnucash-stable jhbuild -f jhbuildrc build<br><br>## jhbuild Failed, no module named 'distutils', I think this is due to python upgrade<br><br>to fix do this...<br>pacman -S python-setuptools<br><br>Rerun, build started, 1 of 12...<br><br>## jhbuild Failed on last part of OpenSP build,<br><br>I think the jhbuild patch needs to be changed for utils/packagedb.py to...<br><br>+        if (self.manifest):<br>+            writer.fp.write('\n'.join(self.manifest).encode('utf-8', 'backslashreplace') + b'\n')<br><br><br>## gwenhywfar failed so I used 'Hai Liang Wang' fix in tools/gcttool/main.c, line 182<br><br>  GWEN_Gui_SetKeyDataFromTextOpenSslFn(gui, (GWEN_GUI_KEYDATAFROMTEXT_OPENSSL_FN)getKeyDataFromTextOpenSSL);<br><br>## bdwgc failed so I changed mark.c, line 514<br><br>  er.ex_reg.handler = (PEXCEPTION_ROUTINE)mark_ex_handler;<br><br>Rerun build phase...<br><br>## guile2 failed, missing function getpagesize<br><br>Added this to unistd.h, not sure if correct or correct location but it allowed guile to build...<br><br>#ifdef _WIN32<br>#define getpagesize() 65536<br>#endif<br><br>Rerun build phase...<br><br>### Build Completes ###<br><br>Open PowerShell<br>cd c:\gcdev64\src\gnucash-on-windows.git\<br>.\bundle-mingw64.ps1 -root_dir c:\gcdev64 -target_dir c:\gcdev64\gnucash\stable -package gnucash -git_build $true<br><br>Setup file created in c:\gcdev64\gnucash\stable, execute it and git version of Gnucash is Installed.<br><br></div><div>Regards,</div><div>Bob</div></div>