On Fri, Sep 07, 2018 at 10:29:21AM +0200, Till Maas wrote:
Depending on: lzma (23), status change: 2017-10-10 (47 weeks ago) afflib (maintained by: kwizart, rebus) afflib-3.7.16-7.fc29.src requires lzma-devel = 4.32.7-21.fc29
I had a look into this since it blocks SleuthKit and hence libguestfs.
The package has:
BuildRequires: lzma-devel
However the sources also bundle a copy of lzma. It appears at one point there was the intention to delete the bundled copy of lzma, but this code was commented out (before 2008). So it in fact *always* builds using the bundled copy as far as I can tell. The BuildRequires is spurious.
I thought that maybe it's now using the bundled copy because the system copy is no longer available, but looking at the configure output I don't see where it tests for lzma, so I don't think this is the case.
Anyway the upshot of all this is that with the attached patch it is possible to build afflib. However you would probably need to get a pass from FESCo to do this.
An alternative fix which I didn't explore is to use xz-devel. However it appears that the package somehow depends on a specific version of LZMA (4.43) so I'm not sure if it will build with whatever version xz supplies.
Rich.