I can’t get past following error:
reinstalling patchutils... reinstalling pkg-config... reinstalling quilt... -- Success 0: pacman --noconfirm -S base-devel -- lock file exists -- Running pacman --noconfirm -S git error: failed to init transaction (unable to lock database) error: could not lock database: File exists if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck CMake Error at KiCad-Winbuilder.cmake:285 (message): Error running pacman --noconfirm -S git Output in: C:/kb/.logs/last_error Call Stack (most recent call first): KiCad-Winbuilder.cmake:333 (execute_msys2_bash)
Path length does not seem to be the issue, I hacked KiCad-Winbuilder.cmake to just install git at line 319, and that fails too. It appears that line 318 runs ok but leaves a lock file… weird.
It appears that the build script is reinstalling quilt package which actually fails with no error message, and leaves lock file and quilt package corrupted.
resolving dependencies... looking for conflicting packages... error: could not open file /var/lib/pacman/local/quilt-0.65-2/desc: No such file or directory warning: could not fully load metadata for package quilt-0.65-2 error: failed to prepare transaction (invalid or corrupted package) CMake Error at KiCad-Winbuilder.cmake:285 (message): Error running pacman --noconfirm -S base-devel
I’m out of ideas, will have to give up.