On Sat, 14 Mar 2020 20:01:16 +0100 Guillem Jover <guil...@debian.org> wrote:
> Source: libarchive
> Source-Version: 3.4.0-2
> Severity: important
> User: a...@packages.debian.org
> Usertags: libattr-drop-attr-xattr-header
> 
> Hi!
> 
> This package uses the deprecated <attr/xattr.h> header (from libattr)
> instead of the one provided now by glibc <sys/xattr.h>.
> 
> The former header has been removed in upstream libattr, but got
> reintroduced in Debian to avoid breakage just before the Debian buster
> freeze. But I'd like to be able to remove it in Debian too, so that
> the interface can be synced with upstream.
> 
> It looks like this is the only header used by this package from libattr,
> so you should be able to drop the dependency on libattr entirely, as
> glibc should be providing all that is needed now.
> 
> Thanks,
> Guillem
> 
> 

Triaging into this bug, it seems that libarchive has already support for
using sys/xattr.h; at least it looks for the both paths in its CMakeLists.txt

However, it pulls in libattr1-dev via libacl1-dev.

So it looks libattr1-dev can be removed, but libacl1-dev needs fixing (not
checked)

In the hope this helps solvong this bug,
tobi

Reply via email to