[debian-mysql] Preliminary Percona Server 5.5 packaging

Stewart Smith stewart.smith at percona.com
Thu Dec 5 21:57:25 UTC 2013


Marcin Kulisz <debian at kulisz.net> writes:
> On 2013-12-05 15:39:27, Stewart Smith wrote:
> snip
> I just run lintian (2.5.19) on percona-server-5.5_5.5.32-31.0-1_source.changes
> and got following output:
> I: percona-server-5.5 source: binary-control-field-duplicates-source field "section" in package percona-server-client
> I: percona-server-5.5 source: binary-control-field-duplicates-source field "section" in package percona-server-common-5.5
> I: percona-server-5.5 source: binary-control-field-duplicates-source field "section" in package percona-server-server
> W: percona-server-5.5 source: debhelper-but-no-misc-depends percona-server-test-5.5
> W: percona-server-5.5 source: maintainer-script-lacks-debhelper-token debian/percona-server-server-5.5.postrm
> E: percona-server-5.5 source: build-depends-on-essential-package-without-using-version build-depends: hurd
> W: percona-server-5.5 source: changelog-should-mention-nmu
> W: percona-server-5.5 source: source-nmu-has-incorrect-version-number 5.5.32-31.0-1
> I: percona-server-5.5 source: no-complete-debconf-translation
> W: percona-server-5.5 source: debian-rules-missing-recommended-target build-indep
> W: percona-server-5.5 source: debian-rules-missing-recommended-target build-arch
> W: percona-server-5.5 source: missing-field-in-dep5-copyright copyright (paragraph at line 133)
> W: percona-server-5.5 source: missing-license-paragraph-in-dep5-copyright pd (paragraph at line 133)
> E: percona-server-5.5 source: version-substvar-for-external-package percona-server-client-5.5 -> mysql-client
> E: percona-server-5.5 source: version-substvar-for-external-package percona-server-client-5.5 -> mysql-client
> E: percona-server-5.5 source: version-substvar-for-external-package percona-server-server-5.5 -> mysql-server
> E: percona-server-5.5 source: version-substvar-for-external-package percona-server-server-5.5 -> mysql-server
>
> Most of this stuff is quite easy to fix.

I haven't actually really looked at the source package lintian warnings,
mainly concerning myself with the ones for the resulting binary
packages, which is where the embedded-library warnings come up.

>> 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.
>
> Here is the link to linitan overrides doc
> (http://lintian.debian.org/manual/section-2.4.html)
> From percona-server-client-5.5.lintian-overrides, is:
> percona-server-client-5.5: embedded-library usr/bin/mysqlslap: libmysqlclient
> should be:
> embedded-library binary: /usr/bin/mysqlslap
>
> But I can't see this type of issue in my lintian output.

If you run lintian on percona-server-server-5.5 binary package you'll
see it. I was nervous to add the "embedded-library binary:
/usr/bin/mysqlslap" warning as that would suppress all embedded library
warnings, including zlib, which was actually a problem in my Percona
Server 5.6 packaging work (now fixed)

>> 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
>
> About above error: 'The Debian copyright file must be valid UTF-8' and line 559
> looks like this:
> Copyright: 1997-2000 - Kungliga Tekniska H<F6>gskolan
>
> Docs for http://dep.debian.net/deps/dep5/ regarding lintian output I've got,
> you're lacking Copyright field between lines 133 & 134
>
> Sorry for not providing patches but I'm short of time atm.

Thanks for the feedback though, much appreciated!

-- 
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/20131206/2fa14a37/attachment.sig>


More information about the pkg-mysql-maint mailing list