When compiling GPGME on windows with MinGW building the doc fails with:
13:55:05 /bin/sh: line 2: 5640 Segmentation fault ./mkdefsinc -C /c/Craft/MinGWBinariesForMSVC/windows-mingw_32-gcc/build/libs/gpgme/work/gpgme-1.11.1/doc --date "`cat $incd 2>/dev/null`" gpgme.texi uiserver.texi lesser.texi gpl.texi > defs.inc
I can't reproduce this myself, just was notified about this and recommended to disable doc build by hacking the Makefile on Windows.