[debian-mysql] Preliminary Percona Server 5.5 packaging

Stewart Smith stewart.smith at percona.com
Thu Dec 5 04:39:27 UTC 2013


Hi all,

I've been working on Percona Server 5.5 packaging for Debian and
Ubuntu. I have something that's worth sharing with others, mostly for
soliciting some help and feedback.

I've had to change things in Percona Server itself so that we build more
correct source tarballs (we've been building from BZR trees rather than
source tarballs up until this point, which is going to change when my
changes are merged).

I've attempted to keep progress synchronised across Percona Server 5.1,
5.5 and 5.6: 5.1 being optional and 5.5 and 5.6 being the main targets.

I've taken the approach of libperconaserverclient (like libmariadbclient
that the maria packages have) so that we don't conflict with the Oracle
ones.

If you install libperconaserverclient-dev then you get teh Percona
Server copy of mysql_config, and as such things will build against
libperconaserverclient rather than libmysqlclient.

Due to mysql-common from the Oracle packaging being dragged in for
dependencies, I don't think I can include Percona Server 5.1 unless we
change the mysql-common provided /etc/my.cnf to prepend "loose-" to
config options that 5.1 servers cannot understand (otherwise the
out-of-the-box experience for 5.1 users is a server that fails to
start). The value of adding 5.1 is probably rather small though.

For Percona Server 5.5, I've tried to make our packaging relatively
close to the MySQL packaging and at least partially succeeded. There's
still a few TODOs (labeled as such) and I'm having a few lintian issues.

I've added some lintian-overrides, but they don't seem to be
working. Any help here is greatly appreciated... as I have no idea what
I'm doing wrong.

I'm also getting an odd warning on the copyright file (largely copied
From the Oracle MySQL packaging):
E: percona-server-test-5.5:
debian-copyright-file-uses-obsolete-national-encoding at line 559

Percona Server BZR trees:
  lp:~stewart/percona-server/pkg-5.1
  lp:~stewart/percona-server/pkg-5.5
  lp:~stewart/percona-server/pkg-5.6

  (these will be merged into the main PS branches, and have a lot of fixes)

Source and amd64 sid packages:
  https://flamingspork.com/junk/percona-server-5.5-debian/

PPA:
  https://launchpad.net/~stewart/+archive/percona-server-playground

I've been building with sbuild and have even checked the Ubuntu precies
packages in a chroot and I get a Percona Server that's running.

I'd really like some help on the remaining lintian warnings and if
there's anything here that would be a big blocker.

-- 
Stewart Smith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20131205/664d7824/attachment.sig>


More information about the pkg-mysql-maint mailing list