Building inscape fails on Windows due unavailable python-lockfile package
Summary:
Building inscape on Windows by following https://wiki.inkscape.org/wiki/index.php?title=Compiling_Inkscape_on_Windows_with_MSYS2 fails during the cmake -G Ninja .. step due to a missing python-lockfile package referenced in CMakeScripts/InstallMSYS2.cmake
Steps to reproduce:
Check out the inkscape source code
install msys2 and run pacman -Syuu
run curl https://gitlab.com/inkscape/inkscape/-/raw/master/buildtools/msys2installdeps.sh | bash from UCRT64
cd build
cmake -G Ninja ..
=> Fails.
If you remove the reference to python-lockfile from InstallMSYS2.cmake and then manually install some other missing python packages, it succeeds (I suspect the other python packages were missed because msys2installdeps.sh fails part way through installing the python dependencies.
It looks to me like the package used to exist - if you google for it, there's a hit but clicking it gives a blank page on https://packages.msys2.org and searching for https://packages.msys2.org/search?q=lockfile yields no results. I'm pretty certain the references to python-lockfile can just be removed from msys2installdeps.sh and INstallMSYS2.cmake.
What happened?
The build failed with an error about a missing python-lockfile package along the lines of:
target not found: mingw-w64-ucrt-x86_64-python-lockfile
What should have happened?
The build should succeed. Removing
Version info
Tip of master git branch - from the dev chat logs, it looks like it has been going for a while.