<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have made it to build step 12/14 but then hit another roadblock.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It looks like the module/extension libgnc-html is missing when processing html.scm, which is referenced here on line 34:</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://github.com/Gnucash/gnucash/blob/764157ddeb6e7eb90e4c9fdae00ec51dcfda35ea/gnucash/html/html.scm#L34" id="LPlnk821109">https://github.com/Gnucash/gnucash/blob/764157ddeb6e7eb90e4c9fdae00ec51dcfda35ea/gnucash/html/html.scm#L34</a></div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The error message I see in the console is:</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In procedure dynamic-link: file: "libgnc-html", message: "The specified module could not be found."</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Is libgnc-html a third party extension or something that was supposed to be compiled during the build before it got to this step?</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-Kevin</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Console Output:</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
*** Building gnucash-git *** [12/14]</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ninja</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
[Removed Unrelated Log Lines]</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
[532/875] Generating ../../lib/guile/2.2/site-ccache/gnucash/html.go</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
FAILED: lib/guile/2.2/site-ccache/gnucash/html.go C:/gcdev64/gnucash/stable/build/gnucash-git/lib/gu</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ile/2.2/site-ccache/gnucash/html.go</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
C:\WINDOWS\system32\cmd.exe /C "cd /D C:\gcdev64\gnucash\stable\build\gnucash-git\gnucash\html && C:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
\gcdev64\msys2\mingw32\bin\cmake.exe -E env PATH=C:/gcdev64/gnucash/stable/build/gnucash-git/bin\;C:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
/gcdev64/gnucash/stable/inst/bin\;C:/gcdev64/msys2/mingw32/bin\;C:/gcdev64/msys2/usr/local/bin\;C:/g</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
cdev64/msys2/usr/bin\;C:/gcdev64/msys2/usr/bin\;C:/Windows/System32\;C:/Windows\;C:/Windows/System32</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
/Wbem\;C:/Windows/System32/WindowsPowerShell/v1.0\;C:/gcdev64/msys2/usr/bin/site_perl\;C:/gcdev64/ms</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ys2/usr/bin/vendor_perl\;C:/gcdev64/msys2/usr/bin/core_perl\;C:/gcdev64/msys2/mingw32/bin GNC_UNINST</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ALLED=YES GNC_BUILDDIR=C:/gcdev64/gnucash/stable/build/gnucash-git GUILE_LOAD_PATH=C:/gcdev64/gnucas</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
h/stable/src/gnucash-git/gnucash/html\;C:/gcdev64/gnucash/stable/build/gnucash-git/gnucash/html\;C:/</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
gcdev64/gnucash/stable/build/gnucash-git/gnucash/html/deprecated\;C:/gcdev64/gnucash/stable/inst/sha</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
re/guile/2.2\;C:/gcdev64/gnucash/stable/build/gnucash-git/share/guile/site/2.2 GUILE_LOAD_COMPILED_P</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ATH=C:/gcdev64/gnucash/stable/build/gnucash-git/gnucash/html\;C:/gcdev64/gnucash/stable/inst/lib/gui</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
le/2.2/ccache\;C:/gcdev64/gnucash/stable/build/gnucash-git/lib/guile/2.2/site-ccache\;C:/gcdev64/gnu</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
cash/stable/build/gnucash-git/lib/guile/2.2/site-ccache/gnucash/deprecated GNC_MODULE_PATH=C:/gcdev6</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
4/gnucash/stable/build/gnucash-git/bin C:/gcdev64/gnucash/stable/inst/bin/guile -e "(@@ (guild) main</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
)" -s C:/gcdev64/gnucash/stable/inst/bin/guild compile -o C:/gcdev64/gnucash/stable/build/gnucash-gi</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
t/lib/guile/2.2/site-ccache/gnucash/html.go C:/gcdev64/gnucash/stable/src/gnucash-git/gnucash/html/h</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
tml.scm"</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
Backtrace:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In ice-9/boot-9.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
705:2 19 (call-with-prompt _ _ #<procedure default-prompt-handleà>)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In ice-9/eval.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
619:8 18 (_ #(#(#<directory (guile-user) 12a2910>)))</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In C:/gcdev64/gnucash/stable/inst/bin/guild:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
72:17 17 (main _)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In srfi/srfi-1.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
640:9 16 (for-each #<procedure 12d01e0 at scripts/compile.scm:2à> à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In scripts/compile.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
264:26 15 (_ _)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In system/base/target.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
57:6 14 (with-target _ _)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In system/base/compile.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
152:6 13 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
43:4 12 (call-once _)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In ice-9/boot-9.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
841:4 11 (with-throw-handler _ _ _)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In system/base/compile.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
59:11 10 (_)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
155:11 9 (_ #<closed: file 3556738>)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
235:18 8 (read-and-compile #<input: html.scm 5> #:from _ #:to _ # à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
183:32 7 (compile-fold (#<procedure compile-tree-il (x e opts)>) à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In ice-9/boot-9.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
2312:4 6 (save-module-excursion #<procedure 8833a20 at language/à>)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In language/scheme/compile-tree-il.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
31:15 5 (_)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In ice-9/psyntax.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
1262:36 4 (expand-top-sequence ((eval-when (compile load # #) #)) à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
1209:24 3 (parse _ (("placeholder" placeholder)) ((top) #(# # à)) à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
285:10 2 (parse _ (("placeholder" placeholder)) ((top) #(# # à)) à)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In unknown file:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
1 (load-extension "libgnc-html" "scm_init_sw_gnc_html_modà")</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In ice-9/boot-9.scm:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
752:25 0 (dispatch-exception _ _ _)</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
In procedure dynamic-link: file: "libgnc-html", message: "The specified module could not be found."</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
[541/875] Building C object gnucash/register/reg...s/gnc-register-gnome.dir/formulacell-gnome.c.obj</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
ninja: build stopped: subcommand failed.</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
*** Error during phase build of gnucash-git: ########## Error running ninja *** [12/14]</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gnucash-devel <gnucash-devel-bounces+kbsanders=hotmail.com@gnucash.org> on behalf of Kevin Sanders <kbsanders@hotmail.com><br>
<b>Sent:</b> Friday, November 8, 2024 1:12 AM<br>
<b>To:</b> GnuCash Development <gnucash-devel@gnucash.org><br>
<b>Subject:</b> Re: GnuCash Windows Build Help</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I found an archive of MSYS2 packages which contained the missing/removed 32-bit packages required to finish the build:</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://repo.msys2.org/mingw/mingw32/" data-auth="NotApplicable" id="LPlnk537656">https://repo.msys2.org/mingw/mingw32/</a></div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-Kevin</div>
<div id="x_appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gnucash-devel <gnucash-devel-bounces+kbsanders=hotmail.com@gnucash.org> on behalf of Kevin Sanders <kbsanders@hotmail.com><br>
<b>Sent:</b> Thursday, November 7, 2024 11:03 PM<br>
<b>To:</b> GnuCash Development <gnucash-devel@gnucash.org><br>
<b>Subject:</b> Re: GnuCash Windows Build Help</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
If anyone is interested, I found the news post that announced the removal of 32-bit package from MSYS2 about a year ago:</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://www.msys2.org/news/#2023-12-13-starting-to-drop-some-32-bit-packages" data-auth="NotApplicable" id="LPlnk">https://www.msys2.org/news/#2023-12-13-starting-to-drop-some-32-bit-packages</a></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-Kevin</div>
<div id="x_x_appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gnucash-devel <gnucash-devel-bounces+kbsanders=hotmail.com@gnucash.org> on behalf of Kevin Sanders <kbsanders@hotmail.com><br>
<b>Sent:</b> Thursday, November 7, 2024 9:16 PM<br>
<b>To:</b> GnuCash Development <gnucash-devel@gnucash.org><br>
<b>Subject:</b> Re: GnuCash Windows Build Help</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Exploring the MINGW-packages repo, I can see that 9 months ago a ton of packages were updated to remove 32-bit environments as targets.</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/msys2/MINGW-packages/commit/b53660a639d390321bda446afba5e53797671513" data-auth="NotApplicable" id="LPlnk">https://github.com/msys2/MINGW-packages/commit/b53660a639d390321bda446afba5e53797671513</a></div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/msys2/MINGW-packages/commit/63cd8bbfb8582842c3307969d4432ce4d92470b4" data-auth="NotApplicable" id="LPlnk">https://github.com/msys2/MINGW-packages/commit/63cd8bbfb8582842c3307969d4432ce4d92470b4</a></div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/msys2/MINGW-packages/commit/ede3371205bee9100240339c29a80fddb97f15a6" data-auth="NotApplicable" id="LPlnk">https://github.com/msys2/MINGW-packages/commit/ede3371205bee9100240339c29a80fddb97f15a6</a></div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/msys2/MINGW-packages/commit/93f22f99e2471f54103ba6e285e2f1c86f7766f2" data-auth="NotApplicable" id="LPlnk">https://github.com/msys2/MINGW-packages/commit/93f22f99e2471f54103ba6e285e2f1c86f7766f2</a></div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/msys2/MINGW-packages/commit/d8a6205b9247c2f05dcc2945c9092a7cd1592347" data-auth="NotApplicable" id="LPlnk">https://github.com/msys2/MINGW-packages/commit/d8a6205b9247c2f05dcc2945c9092a7cd1592347</a></div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libmariadbclient, postgresql, and xmlsec were all part of these updates.</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I assume there was a good reason for this, but how will it affect 32-bit GnuCash Windows builds moving forward?</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-Kevin</div>
<div id="x_x_x_appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gnucash-devel <gnucash-devel-bounces+kbsanders=hotmail.com@gnucash.org> on behalf of Kevin Sanders <kbsanders@hotmail.com><br>
<b>Sent:</b> Thursday, November 7, 2024 8:24 PM<br>
<b>To:</b> GnuCash Development <gnucash-devel@gnucash.org><br>
<b>Subject:</b> Re: GnuCash Windows Build Help</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<pre><pre><pre><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:pre-wrap; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Does anyone know how to obtain these packages for 32-bit (mingw32)?</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br></div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">As far as I can tell, only their 64-bit (mingw64) counterparts are available on packages.msys2.org.</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">But they must have been available for 32-bit at some point in time, right?</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br></div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">I'm not familiar enough with the MSYS2 package system to understand why they are no longer available.</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br></div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:pre-wrap; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">mingw-w64-i686-libmariadbclient-3.1.13-1-any.pkg.tar.zst
mingw-w64-i686-postgresql-16.1-1-any.pkg.tar.zst</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:pre-wrap; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">mingw-w64-i686-xmlsec-1.2.39-1-any.pkg.tar.zst</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:normal; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br></div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:pre-wrap; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Thanks,</div><div class="x_x_x_x_elementToProof" style="text-align:left; text-indent:0px; white-space:pre-wrap; font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Kevin</div></pre></pre></pre>
<div class="x_x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_x_x_x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_x_appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Robert Fewell <14ubobit@gmail.com><br>
<b>Sent:</b> Thursday, November 7, 2024 3:17 PM<br>
<b>To:</b> Kevin Sanders <kbsanders@hotmail.com><br>
<b>Cc:</b> GnuCash Development <gnucash-devel@gnucash.org><br>
<b>Subject:</b> Re: GnuCash Windows Build Help</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Kevin,</div>
<div><br>
</div>
<div>You may find my earlier post of use in building on windows, hopefully I will get round to creating a PR to update procedure, see link below...</div>
<div><a href="https://lists.gnucash.org/pipermail/gnucash-devel/2024-September/046961.html" data-auth="NotApplicable">https://lists.gnucash.org/pipermail/gnucash-devel/2024-September/046961.html</a></div>
<div><br>
</div>
<div>Regards,</div>
<div>Bob<br>
</div>
<div><br>
</div>
</div>
<br>
<div class="x_x_x_x_x_gmail_quote">
<div dir="ltr" class="x_x_x_x_x_gmail_attr">On Thu, 7 Nov 2024 at 19:00, Kevin Sanders <<a href="mailto:kbsanders@hotmail.com">kbsanders@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_x_x_x_x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_x_x_x_x_msg-3760353357577722476">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks John, I have joined the mailing list as suggested.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I installed the recommended distutils extra package and it completed successfully but the error remains.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Do you know what controls the version of python MinGW32 is using? Latest stable or something like that?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The word "python" appears only once in the PowerShell setup script and is sans version.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Perhaps this could be a PATH or environment issue where installed modules cannot be resolved?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Console Output:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
$ pacman -S mingw-w64-i686-python-distutils-extra</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
resolving dependencies...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
looking for conflicting packages...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Packages (1) mingw-w64-i686-python-distutils-extra-2.39-4</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Total Download Size: 0.04 MiB</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Total Installed Size: 0.11 MiB</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
:: Proceed with installation? [Y/n] y</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
:: Retrieving packages...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
mingw-w64-i686-python-dist... 36.5 KiB 39.1 KiB/s 00:01 [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1/1) checking keys in keyring [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1/1) checking package integrity [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1/1) loading package files [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1/1) checking for file conflicts [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1/1) checking available disk space [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
:: Processing package changes...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
(1/1) installing mingw-w64-i686-python-distutils-extra [###############################] 100%</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
$ TARGET=gnucash-stable jhbuild -f jhbuildrc build</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Traceback (most recent call last):</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
File "/usr/bin/jhbuild", line 22, in <module></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
import jhbuild.main</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
File "/c/gcdev64/src/jhbuild.git/jhbuild/main.py", line 26, in <module></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
import jhbuild.config</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
File "/c/gcdev64/src/jhbuild.git/jhbuild/config.py", line 31, in <module></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
from jhbuild.environment import setup_env, setup_env_defaults, addpath</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
File "/c/gcdev64/src/jhbuild.git/jhbuild/environment.py", line 24, in <module></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
from distutils.sysconfig import get_python_lib</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
ModuleNotFoundError: No module named 'distutils'</div>
<div id="x_x_x_x_x_m_4686466615736768673appendonsend" style="color:inherit"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_x_x_x_x_m_4686466615736768673divRplyFwdMsg" dir="ltr" style="color:inherit">
<span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> John Ralls <<a href="mailto:jralls@ceridwen.us">jralls@ceridwen.us</a>><br>
<b>Sent:</b> Thursday, November 7, 2024 12:24 PM<br>
<b>To:</b> Kevin Sanders <<a href="mailto:kbsanders@hotmail.com">kbsanders@hotmail.com</a>><br>
<b>Cc:</b> GnuCash Development <<a href="mailto:gnucash-devel@gnucash.org">gnucash-devel@gnucash.org</a>><br>
<b>Subject:</b> Re: GnuCash Windows Build Help</span>
<div> </div>
</div>
<div>Kevin,</div>
<div><br>
</div>
<div>Welcome to GnuCash. Please don’t contact the developers directly; always use one of the mailing lists (<a href="https://wiki.gnucash.org/wiki/Mailing_Lists" data-auth="NotApplicable" id="x_x_x_x_x_m_4686466615736768673OWAf8a75fec-4af6-8e1d-eecf-86775108bc00">https://wiki.gnucash.org/wiki/Mailing_Lists</a>).
You can pick whether user or devel is appropriate for a particular conversation, the developers monitor both. For this conversation I’ve picked devel and cc’d it for your convenience. You’ll need to subscribe to it to reply.</div>
<div><br>
</div>
<div>That sounds like a Mingw64 problem, as Python officially didn’t remove distutils until 3.12. OTOH distutils has been deprecated for years and the jhbuild maintainers have been ignoring the problem. They still are:
<a href="https://gitlab.gnome.org/GNOME/jhbuild/-/issues/291" data-auth="NotApplicable" id="x_x_x_x_x_m_4686466615736768673OWAf0e3b0e2-fb99-f0d0-eb53-86a5d4bf7c18">
https://gitlab.gnome.org/GNOME/jhbuild/-/issues/291</a>. Anyway, it looks like Mingw64 has provided a workaround called ming-w64-python-distutils-extra (<a href="https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python-distutils-extra" data-auth="NotApplicable" id="x_x_x_x_x_m_4686466615736768673OWAa3bf7eef-561c-28d8-1458-f8ee627c247a">https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python-distutils-extra</a>).
You can install it from a Mingw32 terminal window by saying</div>
<div><br>
</div>
<div> pacman -S mingw-w64-i686-python-distutils-extra</div>
<div><br>
</div>
<div>Regards,</div>
<div>John Ralls</div>
<div><br>
</div>
<div><br>
</div>
<blockquote>
<div>On Nov 7, 2024, at 08:47, Kevin Sanders <<a href="mailto:kbsanders@hotmail.com">kbsanders@hotmail.com</a>> wrote:</div>
<br>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Hi John, my name is Kevin Sanders.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I'm a new user of GnuCash and I'm trying to get setup to do some development work with GnuCash on Windows.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I'm sorry to bother you but I've run into an issue that I'm not sure how to resolve.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I have ran the setup-mingw.ps1 PowerShell script.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I have launched a MSYS2 MingGW 32-bit terminal window and cd into the repository directory.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I run jhbuild and it fails with ModuleNotFoundError: No module named 'distutils'.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I believe this to be a python issue, but I'm not really sure.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Python version is showing as 3.11.10.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Any help would be greatly appreciated.</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
-Kevin</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Console Output:</div>
<div style="text-align:left; text-indent:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
$ TARGET=gnucash-stable jhbuild -f jhbuildrc build</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
Traceback (most recent call last):</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
File "/usr/bin/jhbuild", line 22, in <module></div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
import jhbuild.main</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
File "/c/gcdev64/src/jhbuild.git/jhbuild/main.py", line 26, in <module></div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
import jhbuild.config</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
File "/c/gcdev64/src/jhbuild.git/jhbuild/config.py", line 31, in <module></div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
from jhbuild.environment import setup_env, setup_env_defaults, addpath</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
File "/c/gcdev64/src/jhbuild.git/jhbuild/environment.py", line 24, in <module></div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
from distutils.sysconfig import get_python_lib</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
ModuleNotFoundError: No module named 'distutils'</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
<br>
</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
$ python --version</div>
<div style="text-align:left; text-indent:0px; font-family:"Courier New",monospace; font-size:12pt">
Python 3.11.10</div>
</blockquote>
<br>
</div>
_______________________________________________<br>
gnucash-devel mailing list<br>
<a href="mailto:gnucash-devel@gnucash.org">gnucash-devel@gnucash.org</a><br>
<a href="https://lists.gnucash.org/mailman/listinfo/gnucash-devel" data-auth="NotApplicable">https://lists.gnucash.org/mailman/listinfo/gnucash-devel</a><br>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>