#897387 xfslibs-dev needs to include .la files

Package:
xfslibs-dev
Source:
xfsprogs
Description:
XFS filesystem-specific static libraries and headers
Submitter:
Matthew Wilcox
Date:
2021-01-25 23:21:06 UTC
Severity:
normal
Tags:
#897387#5
Date:
2018-05-01 19:03:11 UTC
From:
To:
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.

#897387#10
Date:
2021-01-25 22:54:50 UTC
From:
To:
Tags: wontfix

Please see https://wiki.debian.org/ReleaseGoals/LAFileRemoval for a
reason not to include the .la file. In fact, it is explicitly removed
during the Debian package build. Most probably, you can configure
xfstests-dev not to require a libhandle.la file.