Source: libgpg-error Version: 1.38-1 Severity: important Tags: upstream patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
Hi Daniel, I see that someone at libgpg-error did something really cool: They wrote a script src/gen-lock-obj.sh that can generate this annoying lock-obj-pub header during cross compilation. In the long run, this will remove the need for most of syscfg. Awesome! Unfortunately, it doesn't quite work just yet. For starters, the script isn't included in the source. Thus running it from configure fails. To make matters worse, configure doesn't notice that it is missing. It ignores the error and moves on with an empty header. The real solution here is including src/gen-lock-obj.sh. I'm also attaching a stop-gap solution that restores the previous way of cross building. Please consider applying the attached patch until the next upstream release. Helmut
--- libgpg-error-1.38.orig/configure.ac +++ libgpg-error-1.38/configure.ac @@ -583,7 +583,7 @@ # # Special defines for certain platforms # -force_use_syscfg=no +force_use_syscfg=yes if test "$have_w32_system" = yes; then AC_DEFINE(HAVE_W32_SYSTEM,1,[Defined if we run on a W32 API based system]) if test "$have_w64_system" = yes; then