xz-5.0.0 in rawhide + soname bump

Paul Howarth paul at city-fan.org
Mon Oct 25 19:56:13 UTC 2010


On Mon, 25 Oct 2010 12:59:22 -0600
Kevin Fenzi <kevin at scrye.com> wrote:

> On Mon, 25 Oct 2010 19:56:27 +0100
> Paul Howarth <paul at city-fan.org> wrote:
> 
> > On Mon, 25 Oct 2010 18:35:54 +0200
> > Jindrich Novy <jnovy at redhat.com> wrote:
> > 
> > > Hi!
> > > 
> > > xz-5.0.0 is now released and soname is now bumped to 5.0.0 in
> > > rawhide. The most important changes are:
> > > 
> > > * The compression settings associated with the preset levels
> > >   -0 ... -9 have been changed. --extreme was changed a little too.
> > >   It is now less likely to make compression worse, but with some
> > >   files the new --extreme may compress slightly worse than the old
> > >   --extreme.
> > > 
> > > * The major soname has been bumped to 5.0.0. liblzma API and ABI
> > >   are now stable, so the need to recompile programs linking
> > > against liblzma shouldn't arise soon.
> > 
> > This has broken the Rawhide buildroot:
> > 
> > DEBUG backend.py:656:  /usr/bin/yum
> > --installroot /var/lib/mock/dist-f15-build-911517-134161/root/
> > groupinstall build DEBUG util.py:294:  Executing
> > command: /usr/bin/yum
> > --installroot /var/lib/mock/dist-f15-build-911517-134161/root/
> > groupinstall build DEBUG util.py:260:  Error: Package:
> > rpm-libs-4.8.1-5.fc15.x86_64 (build) DEBUG util.py:260:
> > Requires: liblzma.so.0()(64bit) DEBUG util.py:260:  Error: Package:
> > elfutils-libs-0.149-2.fc15.x86_64 (build) DEBUG
> > util.py:260:             Requires: liblzma.so.0()(64bit) DEBUG
> > util.py:260:  Error: Package: rpm-4.8.1-5.fc15.x86_64 (build) DEBUG
> > util.py:260:             Requires: liblzma.so.0()(64bit) DEBUG
> > util.py:260:  Error: Package: rpm-build-4.8.1-5.fc15.x86_64 (build)
> > DEBUG util.py:260:             Requires: liblzma.so.0()(64bit)
> > 
> > Given that the ABI hasn't actually changed since the previous
> > build, a short term fix could be to build a mini liblzma.so.0 that
> > just links to liblzma.so.5, along the same lines as the mini
> > libcurl built for the last soname bump of that library (Mon Aug 11
> > 2008, curl 7.18.2-4).
> > 
> > The current build needs untagging anyway.
> 
> I've untagged it and mailed Jindrich.
> 
> Updating a rpm dep is not easy. You will need to rebuild rpm static,
> or make a compat package, or some other trick. ;)

The mini-library hack does the trick by proving both sonames
(effectively the new one and the compat one) in the same package.

Paul.


More information about the devel mailing list