Bug #47726 5.0.86 shared-compat packages do not provide libmysql version = 15
Submitted: 29 Sep 2009 19:21 Modified: 30 Sep 2009 13:29
Reporter: K Vargo Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S1 (Critical)
Version:5.0.86 OS:Linux (all RPMs)
Assigned to: Joerg Bruehe CPU Architecture:Any

[29 Sep 2009 19:21] K Vargo
Description:
MySQL-shared-compat 5.0.86-0 is broken; it doesn't provide v1.5 of the libmysqlclient.

rpm -q --list -p MySQL-shared-compat-5.0.86-0.rhel5.i386.rpm 
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.10
/usr/lib/libmysqlclient.so.10.0.0
/usr/lib/libmysqlclient.so.12
/usr/lib/libmysqlclient.so.12.0.0
/usr/lib/libmysqlclient.so.14
/usr/lib/libmysqlclient.so.14.0.0
/usr/lib/libmysqlclient_r.so
/usr/lib/libmysqlclient_r.so.10
/usr/lib/libmysqlclient_r.so.10.0.0
/usr/lib/libmysqlclient_r.so.12
/usr/lib/libmysqlclient_r.so.12.0.0
/usr/lib/libmysqlclient_r.so.14
/usr/lib/libmysqlclient_r.so.14.0.0

Related to:

http://bugs.mysql.com/bug.php?id=46545

5.0.85 was fine:
# rpm -q --list MySQL-shared-compat -i
Name        : MySQL-shared-compat          Relocations: (not relocatable)
Version     : 5.0.85                            Vendor: Sun Microsystems, Inc.
Release     : 0.rhel5                       Build Date: Fri 14 Aug 2009 08:51:21 AM EDT
Install Date: Mon 07 Sep 2009 05:42:38 AM EDT      Build Host: frigg34
Group       : Applications/Databases        Source RPM: MySQL-shared-compat-5.0.85-0.rhel5.nosrc.rpm
Size        : 7577179                          License: Copyright 2000-2008 MySQL AB, 2008-2009 Sun Microsystems, Inc.  All rights reserved.  Use is subject to license terms.  Under GPL license as shown in the Description field.
Packager    : MySQL Product Engineering team <build@mysql.com>
URL         : http://www.mysql.com/
Summary     : MySQL shared client libraries for MySQL 5.0.85-0, 4.1.22-0, 4.0.30-0, 3.23.58-1
Description :
This package includes the shared libraries for MySQL %{version3},
MySQL %{version40}, %{version41}, %{version50} as well as MySQL %{version51}.
Install this package instead of "MySQL-shared", if you have applications
installed that are dynamically linked against older versions of the MySQL
client library but you want to upgrade to MySQL 5.0.85 without breaking the
library dependencies.
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.10
/usr/lib/libmysqlclient.so.10.0.0
/usr/lib/libmysqlclient.so.12
/usr/lib/libmysqlclient.so.12.0.0
/usr/lib/libmysqlclient.so.14
/usr/lib/libmysqlclient.so.14.0.0
/usr/lib/libmysqlclient.so.15
/usr/lib/libmysqlclient.so.15.0.0
/usr/lib/libmysqlclient_r.so
/usr/lib/libmysqlclient_r.so.10
/usr/lib/libmysqlclient_r.so.10.0.0
/usr/lib/libmysqlclient_r.so.12
/usr/lib/libmysqlclient_r.so.12.0.0
/usr/lib/libmysqlclient_r.so.14
/usr/lib/libmysqlclient_r.so.14.0.0
/usr/lib/libmysqlclient_r.so.15
/usr/lib/libmysqlclient_r.so.15.0.0

How to repeat:
Install 5.0.86 shared-compat/try to upgrade from 5.0.85

Suggested fix:
Rebuild the package with libmysql versions 1.5
[29 Sep 2009 19:59] Sveta Smirnova
Thank you for the report.

These files are in shared-enterprise*, shared-community* and shared-classic* RPMs now.
[29 Sep 2009 20:04] Sveta Smirnova
Please ignore previous status.

Verified as described.
[29 Sep 2009 20:31] Joerg Bruehe
Verified for the "shared-compat" RPMs of all configurations on all platforms.

I cannot tell what caused this, the scripts are ok, and on re-running produce the desired result.
I can just guess it was some timing/handling issue in the original run.

I expect to provide correct RPMs tomorrow, but can't predict how fast they will become available on the mirrors.

For now, the workaround is to use the "shared-compat" RPMs of 5.0.85.
[30 Sep 2009 0:35] K Vargo
Thanks for the quick turn-around, guys.  I'll try to see if I can get the updates tomorrow morning.  Seems like it would be related to the referenced bug for the 5.0.84 (Bug 46545)?
[30 Sep 2009 13:29] Joerg Bruehe
All "shared-compat" RPMs have been rebuilt,
and I have checked their contents: looks ok now.

The new ones are named
   MySQL-shared-compat*-5.0.86-1.*.rpm
so they can be recognized from the RPM release number "-1".

The new RPMs have been made available in the stage areas, and the old ones been removed. However, mirror propagation has been slow lately, so I won't make any guesses how fast the new ones will be available on the download mirrors (and how fast the old, broken ones will disappear).

We are sorry for the inconvenience!