Hello,
Error report in regard to libgpg-error
Cross-compiling with target Win10 x64, using mingw64 under ubuntu 21.10,
It cross-compiles successfully with https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.43.tar.bz2
It does NOT cross-compile using the latest git commit : fd83c3e29744c8d7829df3de8c10f9c68f11e429
I am unsure which commit since 1.43 causes the issue.
Error log:
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-b64dec.lo -MD -MP -MF .deps/libgpg_error_la-b64dec.Tpo -c b64dec.c -o libgpg_error_la-b64dec.o mv -f .deps/libgpg_error_la-b64dec.Tpo .deps/libgpg_error_la-b64dec.Plo /bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-b64enc.lo -MD -MP -MF .deps/libgpg_error_la-b64enc.Tpo -c -o libgpg_error_la-b64enc.lo `test -f 'b64enc.c' || echo './'`b64enc.c mv -f .deps/libgpg_error_la-init.Tpo .deps/libgpg_error_la-init.Plo /bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-argparse.lo -MD -MP -MF .deps/libgpg_error_la-argparse.Tpo -c -o libgpg_error_la-argparse.lo `test -f 'argparse.c' || echo './'`argparse.c libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-b64enc.lo -MD -MP -MF .deps/libgpg_error_la-b64enc.Tpo -c b64enc.c -o libgpg_error_la-b64enc.o libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-argparse.lo -MD -MP -MF .deps/libgpg_error_la-argparse.Tpo -c argparse.c -o libgpg_error_la-argparse.o mv -f .deps/libgpg_error_la-b64enc.Tpo .deps/libgpg_error_la-b64enc.Plo /bin/bash ../libtool --mode=compile --tag=RC x86_64-w64-mingw32-windres -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -i "versioninfo.rc" -o "versioninfo.lo" libtool: compile: x86_64-w64-mingw32-windres -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/locale\" -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -i versioninfo.rc -o versioninfo.o x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -Wall -Wpointer-arith -Wno-psabi -MT gen-w32-lock-obj.o -MD -MP -MF .deps/gen-w32-lock-obj.Tpo -c -o gen-w32-lock-obj.o gen-w32-lock-obj.c mv -f .deps/libgpg_error_la-code-to-errno.Tpo .deps/libgpg_error_la-code-to-errno.Plo cd .. && /bin/bash ./config.status src/gpgrt-config mv -f .deps/libgpg_error_la-argparse.Tpo .deps/libgpg_error_la-argparse.Plo cd .. && /bin/bash ./config.status src/gpg-error-config-old mv -f .deps/libgpg_error_la-estream.Tpo .deps/libgpg_error_la-estream.Plo mv -f .deps/libgpg_error_la-sysutils.Tpo .deps/libgpg_error_la-sysutils.Plo config.status: creating src/gpgrt-config config.status: creating src/gpg-error-config-old Confirm gpg-error-config works... /bin/bash: ./gpg-error-config-test.sh: No such file or directory no *** Please report to <https://bugs.gnupg.org> with gpg-error-config-test.log make[3]: *** [Makefile:1733: gpg-error-config] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/libgpg_error_la-logging.Tpo .deps/libgpg_error_la-logging.Plo mv -f .deps/gen-w32-lock-obj.Tpo .deps/gen-w32-lock-obj.Po make[3]: Leaving directory '/home/u/Desktop/_working/workdir/x86_64/libgpg-error_git/src' make[2]: *** [Makefile:695: all] Error 2 make[2]: Leaving directory '/home/u/Desktop/_working/workdir/x86_64/libgpg-error_git/src' make[1]: *** [Makefile:517: all-recursive] Error 1 make[1]: Leaving directory '/home/u/Desktop/_working/workdir/x86_64/libgpg-error_git' make: *** [Makefile:449: all] Error 2