Skip to contentSkip to conversation

Bug#897387: xfslibs-dev needs to include .la files

DISCUSSION Bastian Germann 1 participant 1 message Jan 25, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Tags: wontfix

Quoted 6 lines · On Tue, 1 May 2018 12:03:11 -0700 Matthew Wilcox <[email protected]> wrote:

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

Quoted 7 lines

[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.

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.