Created by Ignacio Nin and last modified
Get this branch:
bzr branch lp:~ignacio-nin/percona-xtradb-cluster/5.5.29-nonconflicting-libmysqlclient
Only Ignacio Nin can upload to this branch. If you are Ignacio Nin please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Recent revisions

391. By Ignacio Nin

Require Percona-XtraDB-Cluster-client and Percona-XtraDB-Cluster-shared

If only Percona-XtraDB-Cluster-server was selected for installation, it
could happen that the library requirements be fulfilled with other
packages that provide mysql-libs, for example the distro packages. This
could lead to untested combinations of client and server packages (for
example PXC server package with distro client package).

Avoid other combinations by requiring PXC shared and client packages by

390. By Ignacio Nin

Move libmysqlclient.so from the shared package to the devel package

This commit is part of a series of fixes in all the branches of Percona-Server
and Percona-XtraDB-Cluster, for which the goal is to stop including
libmysqlclient.so and libmysqlclient_r.so in the shared packages and include
it in the devel package.

Also remove the conflict with Percona-Server-shared-51, since now it's compatible
with it. For now, leave the conflict with Percona-Server-shared-55 so they conflict
at the package level.

Following the model of the upstream (MySQL) packages, a copy of the versioned
library -- libmysqlclient.so.15 for 5.0, libmysqlclient.so.16 for 51 and
libmysqlclient.so.18 for 5.5 -- was included in the shared package with name

This creates the problem of making the library packages not compatible to each
other, making it impossible to have PS-shared-51 and PS-shared-55 installed at
the same time, for example. Upstream solved this problem by providing a
shared-compat package (which we also include), containing all the older
versions of the libraries.

This solution is acceptable for manual installation, however it doesn't play
good with our repositories. Since we include all of our software in the same
repository, there are many combinations possible that you can choose. As long
as the user stuck to a particular version, this wouldn't cause trouble -- but
it's impossible to avoid when installing a package that depends on a particular
libmysqlclient.so version, like php-mysql, or percona-toolkit (indirectly via
perl-DBD-mysql). In rhel6, these packages depend on the 5.1 version of the
library, so if Percona-Server-5.5 was installed, the shared package for the 5.1
version got selected by yum but it would conflict at the file level on
libmysqlclient.so. In rhel5 the situation would be even worse, since these
packages depend on the 5.0 version of the library, making 5.1 and 5.5 difficult
to install unless the user would select specifically
Percona-Server-shared-compat. Having 5.1 or 5.5 depend directly on
PS-shared-compat only introduced further problems.

The solution proposed hereby is to follow the model of the distributions, and
have the packages not install libmysqlclient.so, but only the versioned
libraries. The distro packages are prepared to link against the versioned
libraries only, so not having the unversioned libraries should not be a problem
for installing packages. The unversiones libraries are installed in the -devel
packages, since these are needed for linking new programs against it.

This way, PS 5.1, PS 5.5 and PXC can be installed alonside the shared package
for 5.0 (Percona-SQL-shared-50) in rhel5 and 5.1 (Percona-Server-shared-51) in
rhel6, allowing for any combination of software and seamless installs of
percona-toolkit or any other package that would depend on a specific package.

389. By Ignacio Nin

Merge changes from lp:percona-xtradb-cluster
Bump patch version to 7.2

388. By Ignacio Nin

Remove Provided: packages from Conflicts: line

Remove the pseudo packages that are listed in the Provides: line from
the Conflicts: line. Having them duplicated there would have the package
conflict with itself in CentOS 5.

387. By Ignacio Nin

Change the patch version from 7a to 7.1.

386. By Ignacio Nin

Update WSREP-REVISION to 3843, since in revision 381 it had been merged
to that revision.

385. By Ignacio Nin

Recover binary and debian builders from previous revisions.

The binary and debian builder scripts had been overwritten by the PS
versions in revision 375. Recover them from revno 374.

384. By Ignacio Nin

Merge changes from Percona Server release 5.5.29, update Makefile

383. By Ignacio Nin

Rename Makefile.pxc to Makefile

382. By Vadim Tkachenko

Added exit codes to clustercheck.sh script

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.