Package: xfslibs-dev Version: 4.15.1-1 trying to build the latest from git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
[CC] t_truncate_self /bin/bash ../libtool --quiet --tag=CC --mode=link gcc t_truncate_self.c -o t_truncate_self -g -O2 -g -O2 -DDEBUG -I../include -DVERSION=\"1.1.1\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -fno-strict-aliasing -Wall -DHAVE_FALLOCATE -lattr /usr/lib/libhandle.la -lacl -lpthread ../lib/libtest.la libtool: error: cannot find the library '/usr/lib/libhandle.la' or unhandled argument '/usr/lib/libhandle.la' I downloaded the debian package of xfslibs-dev, built it, then manually copied libhandle/libhandle.la into /lib and then I could build xfstests-dev.