On the current stable releases, Debian wheezy and Ubuntu trusty,
dpkg-buildpackage -rfakeroot -b
in git trunk dies saying
.../sox/src/flac.c:63: undefined reference to `lsx_error'
I've tried this on the last commit of 2014 and that of 2013 and the error is the same. In early 2012 the build fails for a different reason: "Cannot access "/.../sox/build-tree/sox-14.4.2git/configure": File or directory does not esist."
Suggested fix: Delete debian/
Rationale: Each distribution maintains its packaging; it is inappropriate in the original sources
Last edit: Martin Guy 2015-12-19
Agreed. Debian has a maintained package anyway, so let's delete these files.