Hi I am currently unable to build this package:
-bash-4.3$ cd ~/mingw-packages/mingw-w64-openocd-git
-bash-4.3$ makepkg --config ${MAKEPKG_CONFIG}
==> Making package: mingw-w64-openocd-git 0.9.0.r2.g79fdeb3-1 (Thu, Jul 14, 2016 11:09:02 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating openocd git repo...
Fetching origin
==> Validating source files with sha256sums...
openocd ... Skipped
==> Extracting sources...
-> Creating working copy of code git repo...
Reset branch 'makepkg'
==> Starting prepare()...
Is some one able to help me. A good starting point would be to understand if the problem is more related to PKGBUILD, MSYS2 or openocd. Thanks
This is common issue for 32-bit Cygwin/MSYS2. You must close all MSYS2 consoles and run autorebase.bat from MSYS2 directory. Then you can continue.
Also, don't use 32-bit if you don't have to (almost no one has to - you can build 32-bit mingw-w64 software just fine with a 64-bit MSYS2).
Most helpful comment
This is common issue for 32-bit Cygwin/MSYS2. You must close all MSYS2 consoles and run autorebase.bat from MSYS2 directory. Then you can continue.