Bug #57596 MySQL-shared RPM no longer provides mysql-shared
Submitted: 20 Oct 2010 9:45 Modified: 15 Dec 2010 1:35
Reporter: Sylvain Chapeland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.5.6_rc OS:Linux (RedHat RPM)
Assigned to: Joerg Bruehe CPU Architecture:Any
Tags: mysql-shared, regression

[20 Oct 2010 9:45] Sylvain Chapeland
Description:
The RPM MySQL-shared package does not provide any more the lower case virtual identifier 'mysql-shared' in the RPM 'Provides' tags, usually used for backward-compatibility.

This brakes dependencies and prevent installing RPMs which relies on this virtual identifier. Other MySQL RPM packages (devel, server, ...) of this version do provide their lower-case virtual identifier.

How to repeat:
rpm -qp --provides MySQL-shared-5.5.6_rc-1.rhel5.x86_64.rpm
libmysqlclient.so.16()(64bit)  
MySQL-shared = 5.5.6_rc-1.rhel5

whereas previous versions (and other packages of this version) do provide this backward-compatibility 'lower-case' tag:

rpm -qp --provides MySQL-shared-community-5.1.51-1.rhel5.x86_64.rpm
MySQL-shared  
libmysqlclient.so.16()(64bit)  
libmysqlclient.so.16(libmysqlclient_16)(64bit)  
libmysqlclient_r.so.16()(64bit)  
libmysqlclient_r.so.16(libmysqlclient_16)(64bit)  
mysql-shared  
MySQL-shared-community = 5.1.51-1.rhel5

rpm -qp --provides MySQL-devel-5.5.6_rc-1.rhel5.x86_64.rpm 
mysql-devel  
MySQL-devel = 5.5.6_rc-1.rhel5

Suggested fix:
Add 'mysql-shared' in the RPM spec file 'Provides' tag for MySQL-shared package.
[21 Oct 2010 15:56] Sveta Smirnova
Thank you for the report.

Verified as described.
[26 Oct 2010 1:36] Omer Barnir
triage: setting tag to SR55SP1 (assuming needs to be provided)
[10 Nov 2010 20:06] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/123491

3115 Joerg Bruehe	2010-11-10
      Patch for bug#57596
          MySQL-shared RPM no longer provides mysql-shared
      
      Spec file is changed to explicitly "provide" "mysql-shared".
[10 Nov 2010 20:07] Joerg Bruehe
Compared against 5.0 and 5.1:
Yes, in both series the "shared" RPMs explicitly provide "MySQL-shared" and "mysql-shared".

I'm fixing this, a test build is just running.
[12 Nov 2010 21:24] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/123768

3121 Joerg Bruehe	2010-11-12
      Patch for bug#57596
            MySQL-shared RPM no longer provides mysql-shared
      
      The spec file is changed to explicitly "provide" "mysql-shared"
      by the "shared" sub-RPM.
[12 Nov 2010 21:46] Joerg Bruehe
Patch is pushed to both 5.5-bugteam and trunk-bugfixing.
[5 Dec 2010 12:39] Bugs System
Pushed into mysql-trunk 5.6.1 (revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (version source revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (merge vers: 5.6.1) (pib:23)
[15 Dec 2010 1:35] Paul DuBois
Noted in 5.5.8 changelog.

The MySQL-shared RPM package failed to provide the lowercase virtual
identifier 'mysql-shared' in the RPM 'Provides' tags (usually used
for backward compatibility).
[16 Dec 2010 22:27] Bugs System
Pushed into mysql-5.5 5.5.9 (revid:jonathan.perkin@oracle.com-20101216101358-fyzr1epq95a3yett) (version source revid:jonathan.perkin@oracle.com-20101216101358-fyzr1epq95a3yett) (merge vers: 5.5.9) (pib:24)