Source: mp3splt Version: 2.6.2+20170630-3.1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
mp3splt fails to cross build from source, because it uses AC_CHECK_FILE to check whether cutter (a testing tool) is present. While it wants to use cutter during unit tests, the AC_CHECK_FILE attempts to check for it on the host and when no check result is seed, it simply fails. This is a case where a simple "test -e" is better. Please consider applying the attached patch. When doing so, keep in mind that you must regenerate the relevant configure scripts as this is not being done at build time. Helmut
--- mp3splt-2.6.2+20170630.orig/libmp3splt/configure.ac +++ mp3splt-2.6.2+20170630/libmp3splt/configure.ac @@ -252,7 +252,7 @@ AC_CHECK_CUTTER cutter_command="no" -AC_CHECK_FILE([$CUTTER], [cutter_command="yes"]) +AS_IF([test -e "$CUTTER"], [cutter_command="yes"]) if test "x$CUTTER" != x;then if test "x$cutter_command" = xyes;then --- mp3splt-2.6.2+20170630.orig/mp3splt-gtk/configure.ac +++ mp3splt-2.6.2+20170630/mp3splt-gtk/configure.ac @@ -312,7 +312,7 @@ AC_CHECK_CUTTER cutter_command="no" -AC_CHECK_FILE([$CUTTER], [cutter_command="yes"]) +AS_IF([test -e "$CUTTER"], [cutter_command="yes"]) if test "x$CUTTER" != x;then if test "x$cutter_command" = xyes;then