FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 10-25-2010, 04:35 PM
Jindrich Novy
 
Default xz-5.0.0 in rawhide + soname bump

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.

For more news and differences between xz-4.999.9beta and 5.0.0 please
read the NEWS file in the main package documentation.

The change of compression level presets may cause deltarpm to print
"md5 mismatch of result" when rebuilding drpms and downloading full
rpms. This message will stop occuring as soon as the original package
will be built with the new xz-5.0.0.

Cheers,
Jindrich

--
Jindrich Novy <jnovy@redhat.com> http://people.redhat.com/jnovy/
Kdo v*no má a nepije, kdo hrozny má a nej* je, kdo ženu má a nel*bá,
kdo zábavě se vyhýbá, na toho vemte bič a hůl, to nen* člověk, to je vůl.
--- Jan Werich
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-25-2010, 06:56 PM
Paul Howarth
 
Default xz-5.0.0 in rawhide + soname bump

On Mon, 25 Oct 2010 18:35:54 +0200
Jindrich Novy <jnovy@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.

Paul.


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-25-2010, 06:59 PM
Kevin Fenzi
 
Default xz-5.0.0 in rawhide + soname bump

On Mon, 25 Oct 2010 19:56:27 +0100
Paul Howarth <paul@city-fan.org> wrote:

> On Mon, 25 Oct 2010 18:35:54 +0200
> Jindrich Novy <jnovy@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.

kevin
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-25-2010, 07:56 PM
Paul Howarth
 
Default xz-5.0.0 in rawhide + soname bump

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

> On Mon, 25 Oct 2010 19:56:27 +0100
> Paul Howarth <paul@city-fan.org> wrote:
>
> > On Mon, 25 Oct 2010 18:35:54 +0200
> > Jindrich Novy <jnovy@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.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-26-2010, 09:02 AM
Jindrich Novy
 
Default xz-5.0.0 in rawhide + soname bump

On Mon, Oct 25, 2010 at 12:59:22PM -0600, Kevin Fenzi wrote:
> > 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 new xz-5.0.0-3 with a new xz-compat-libs subpackage containing
liblzma.so.0* libraries is just built. This should solve the chicken
and egg problem with rpm and elfutils as the old library will still be
available in the repository.

The liblzma.so.0 is built from the old xz 4.999.9beta so it should
serve to apps requiring old compression settings well.

Thanks for patience,
Jindrich

--
Jindrich Novy <jnovy@redhat.com> http://people.redhat.com/jnovy/
Kdo v*no má a nepije, kdo hrozny má a nej* je, kdo ženu má a nel*bá,
kdo zábavě se vyhýbá, na toho vemte bič a hůl, to nen* člověk, to je vůl.
--- Jan Werich
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-26-2010, 02:36 PM
Toshio Kuratomi
 
Default xz-5.0.0 in rawhide + soname bump

On Tue, Oct 26, 2010 at 11:02:41AM +0200, Jindrich Novy wrote:
> On Mon, Oct 25, 2010 at 12:59:22PM -0600, Kevin Fenzi wrote:
> > > 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 new xz-5.0.0-3 with a new xz-compat-libs subpackage containing
> liblzma.so.0* libraries is just built. This should solve the chicken
> and egg problem with rpm and elfutils as the old library will still be
> available in the repository.
>
> The liblzma.so.0 is built from the old xz 4.999.9beta so it should
> serve to apps requiring old compression settings well.
>
Note:

If this is intended to be a long term compat package then we probably want
a new review for the package instead of shipping xz with two tarballs. If
this is just intended to get us out of the chicken and egg situation with
rpm (This sounds like the better approach to me) then we should make sure
rpm and elfutils are rebuilt asap and then drop the compat packages.

-Toshio
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-26-2010, 03:48 PM
Jindrich Novy
 
Default xz-5.0.0 in rawhide + soname bump

On Tue, Oct 26, 2010 at 07:36:47AM -0700, Toshio Kuratomi wrote:
> On Tue, Oct 26, 2010 at 11:02:41AM +0200, Jindrich Novy wrote:
> > The new xz-5.0.0-3 with a new xz-compat-libs subpackage containing
> > liblzma.so.0* libraries is just built. This should solve the chicken
> > and egg problem with rpm and elfutils as the old library will still be
> > available in the repository.
> Note:
>
> If this is intended to be a long term compat package then we probably want
> a new review for the package instead of shipping xz with two tarballs. If
> this is just intended to get us out of the chicken and egg situation with
> rpm (This sounds like the better approach to me) then we should make sure
> rpm and elfutils are rebuilt asap and then drop the compat packages.
>
> -Toshio

Yes, this is just a temporary solution which assures that upgrade to
the new xz is actually possible. The plan is that the xz-compat-libs
will be dropped at some point and packaged separately (if there is a
need to, i.e. some package requires it).

In the meantime rebuild of all xz dependencies is recommended.

Note for devels/packagers depending on xz:
The new library liblzma.so.5 in the new xz is mostly API/ABI compatible with
old liblzma.so.0 so you shouldn't need to touch source code using
xz, i.e. rebuild is safe.

If you experience any problems or unsure, feel free to mail me
directly.

Cheers,
Jindrich

--
Jindrich Novy <jnovy@redhat.com> http://people.redhat.com/jnovy/
Kdo v*no má a nepije, kdo hrozny má a nej* je, kdo ženu má a nel*bá,
kdo zábavě se vyhýbá, na toho vemte bič a hůl, to nen* člověk, to je vůl.
--- Jan Werich
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 06:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org