Source: pixz Version: 1.0.6-2 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
pixz fails to cross build from source, because it checks for source files with AC_CHECK_FILE. That check is supposed to check files on the host system, but sources only reside on the build system. The check should simply be performed directly e.g. with test -f. After doing so, pixz cross builds successfully. Please consider applying the attached patch. Helmut
Index: pixz-1.0.6/configure.ac =================================================================== --- pixz-1.0.6.orig/configure.ac +++ pixz-1.0.6/configure.ac @@ -16,10 +16,7 @@ # Check for a2x only if the man page is missing, i.e. we are building from git. The release tarballs # are set up to include the man pages. This way, only people creating tarballs via `make dist` and # people building from git need a2x as a dependency. -AC_CHECK_FILE( - [src/pixz.1], - [], - [ +if ! test -f "src/pixz.1"; then AC_ARG_WITH( [manpage], [ --without-manpage don't build man page], @@ -30,8 +27,7 @@ esac], [manpage=true] ) - ] -) +fi AM_CONDITIONAL([MANPAGE], [test x$manpage = xtrue])