afflib & lzma (was: Re: Orphaned Packages in rawhide (2018-09-07))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
diff --git a/afflib.spec b/afflib.spec
index 4077ba6..c29d184 100644
--- a/afflib.spec
+++ b/afflib.spec
@@ -16,8 +16,6 @@ BuildRequires:  curl-devel
 BuildRequires:  expat-devel
 # GPLv2 FOSS incompatible with BSD with advertising
 ##BuildRequires:  fuse-devel
-# Afflib uses lzma-SDK 443
-BuildRequires:  lzma-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  libtermcap-devel
 BuildRequires:  openssl-devel
@@ -27,6 +25,8 @@ BuildRequires:  python2-devel
 #BuildRequires:  libedit-devel - good replacement for readline - not supported for now
 BuildRequires:  zlib-devel
 
+Provides: bundled(lzma) = 4.43
+
 
 %description
 AFF® is an open and extensible file format designed to store disk images and
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux