MSYS updates are hanging and other build problems (Windows)

It’s been a while since I created a darktable build, so I performed an update and ran into some errors. I decided to reinstall MSYS, following the build process as I had before, and everything went fine up until the point where I attempted to update the system, at which point the update got hung at (5/9) upgrading mingw-w64-ucrt-x86_64-headers-git

This was following a fresh reboot. I haven’t had this problem before… does anybody have any suggestions?

See below for system details:

$ pacman -Suy
:: Synchronizing package databases...
 clangarm64 is up to date
 mingw32 is up to date
 mingw64 is up to date
 ucrt64 is up to date
 clang32 is up to date
 clang64 is up to date
 msys is up to date
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (9) libedit-20221030_3.1-1  mingw-w64-ucrt-x86_64-binutils-2.40-1
             mingw-w64-ucrt-x86_64-crt-git-10.0.0.r216.gca58fc56b-1
             mingw-w64-ucrt-x86_64-headers-git-10.0.0.r216.gca58fc56b-1
             mingw-w64-ucrt-x86_64-libwinpthread-git-10.0.0.r216.gca58fc56b-1
             mingw-w64-ucrt-x86_64-winpthreads-git-10.0.0.r216.gca58fc56b-1
             mingw-w64-ucrt-x86_64-zlib-1.2.13-3  ncurses-6.4-1  pacman-contrib-1.8.2-1

Total Download Size:    20.84 MiB
Total Installed Size:  244.22 MiB
Net Upgrade Size:        2.61 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 ncurses-6.4-1-x86_64           1277.3 KiB   693 KiB/s 00:02 [###############################] 100%
 pacman-contrib-1.8.2-1-x86_64     4.3 MiB  1961 KiB/s 00:02 [###############################] 100%
 libedit-20221030_3.1-1-x86_64    93.3 KiB   117 KiB/s 00:01 [###############################] 100%
 mingw-w64-ucrt-x86_64-zlib...    91.8 KiB   146 KiB/s 00:01 [###############################] 100%
 mingw-w64-ucrt-x86_64-crt-...     3.3 MiB  1025 KiB/s 00:03 [###############################] 100%
 mingw-w64-ucrt-x86_64-winp...    40.1 KiB  84.9 KiB/s 00:00 [###############################] 100%
 mingw-w64-ucrt-x86_64-libw...    29.8 KiB  61.3 KiB/s 00:00 [###############################] 100%
 mingw-w64-ucrt-x86_64-head...     5.7 MiB  1374 KiB/s 00:04 [###############################] 100%
 mingw-w64-ucrt-x86_64-binu...     6.1 MiB  1418 KiB/s 00:04 [###############################] 100%
 Total (9/9)                      20.8 MiB  4.73 MiB/s 00:04 [###############################] 100%
(9/9) checking keys in keyring                               [###############################] 100%
(9/9) checking package integrity                             [###############################] 100%
(9/9) loading package files                                  [###############################] 100%
(9/9) checking for file conflicts                            [###############################] 100%
(9/9) checking available disk space                          [###############################] 100%
:: Processing package changes...
(1/9) upgrading ncurses                                      [###############################] 100%
(2/9) upgrading libedit                                      [###############################] 100%
(3/9) upgrading mingw-w64-ucrt-x86_64-libwinpthread-git      [###############################] 100%
(4/9) upgrading mingw-w64-ucrt-x86_64-binutils               [###############################] 100%
(5/9) upgrading mingw-w64-ucrt-x86_64-headers-git            [-------------------------------]   0%

Did you try to run pacman -Suy again? I just updated my system without issues (182 packages).

Yes, I’ve tried running it several times. I haven’t had this problem before…

:man_shrugging:

1 Like

I got it to work. I just did a clean MSYS install but didn’t perform any updates to the base system. The rest of the process went as expected.