Source: cadaver Version: 0.23.3-2 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
cadaver fails to cross build from source, because it uses the build architecture pkg-config. neon.m4 uses AC_PATH_PROG to discover pkg-config and thus fails to consider $ac_tool_prefix. Updating that file is non-trivial, because ./autogen.sh no longer works on Debian systems. After hacking it up a bit I can see that with the attached patch the cross build goes further and aborts with a gettext version mismatch. Please consider applying the attached patch. When doing so, please close this bug regardless of whether it actually cross builds. I'll check again. I believe that cadaver is seriously (aka rc) buggy given that it cannot regenerate its build system from source. Helmut
--- cadaver-0.23.3.orig/m4/neon/neon.m4 +++ cadaver-0.23.3/m4/neon/neon.m4 @@ -854,8 +854,8 @@ m4_define([ne_cvar], m4_translit(ne_cv_pkg_[$2], [.-], [__]))dnl -AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -if test "$PKG_CONFIG" = "no"; then +PKG_PROG_PKG_CONFIG +if test "x$PKG_CONFIG" = "x"; then : Not using pkg-config $4 else