Source: praat Version: 6.3.03-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
praat fails to cross build for armel and armhf, because it passes an invalid library search path. The upstream makefile hard codes -L /usr/lib/x86_64-linux-gnu. This is normally not a problem, because it either is a correct location or it is absent. In a cross build however, it exists and contains incompatible object files. This location is never useful to specify ever. On Debian-based systems, this location is always part of the search path of the compiler and there is no need to specify it. On non-Debian systems, this location never exists. It should be dropped and once doing so, praat cross builds. Helmut
--- praat-6.3.03.orig/makefiles/makefile.defs.linux.pulse +++ praat-6.3.03/makefiles/makefile.defs.linux.pulse @@ -18,7 +18,7 @@ EXECUTABLE = praat -LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -no-pie -lm -lpulse -lasound -lpthread -L /usr/lib/x86_64-linux-gnu +LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -no-pie -lm -lpulse -lasound -lpthread AR = ar RANLIB = ls