Your message dated Mon, 07 Feb 2011 19:49:41 +0000
with message-id <[email protected]>
and subject line Bug#611965: fixed in mysql-5.1 5.1.54-2
has caused the Debian Bug report #611965,
regarding mysql-5.1: MySQL should export its configured source tree as a binary 
package.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
611965: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mysql-5.1
Version: 5.1.54-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpPSJm2C
In Ubuntu, the attached patch was applied to achieve the following:


  * export configured source dir as binary package. -- needed for some
    plugins to build.


Basically some plugins need access to MySQL internals. Specifically
HandlerSocket:

https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL

And XtraBackup:

http://www.percona.com/docs/wiki/percona-xtrabackup:start

These simply cannot build without the full source tree because mysql's
headers are not built for export.

The patch creates a bin package that places a tarball of the configured
source in /usr/src/mysql, which can then be consumed by those plugins'
build.

As an example, I've prepared the handlersocket plugin for Ubuntu here:

https://code.launchpad.net/~clint-fewbar/+junk/handlersocket/

Please consider including this soon, otherwise it may not be possible
to include these plugins in Ubuntu.

Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control      2011-01-26 09:19:25 +0000
+++ debian/control      2011-02-02 19:48:39 +0000
@@ -180,3 +180,14 @@
  ease of use.
  .
  This package includes the MySQL testsuite.
+
+Package: mysql-source-5.1
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: MySQL source
+ MySQL is a fast, stable, and true multi-user, multi-threaded SQL database
+ server.  SQL (Structured Query Language) is the most popular database query
+ language in the world. The main goals of MySQL are speed, robustness and
+ ease of use.
+ .
+ This package includes the MySQL source code as configured before building.

=== added file 'debian/mysql-source-5.1.files'
--- debian/mysql-source-5.1.files       1970-01-01 00:00:00 +0000
+++ debian/mysql-source-5.1.files       2011-02-02 19:44:09 +0000
@@ -0,0 +1 @@
+usr/src/mysql/*

=== modified file 'debian/rules'
--- debian/rules        2010-08-20 10:12:48 +0000
+++ debian/rules        2011-02-02 21:59:52 +0000
@@ -21,6 +21,8 @@
 DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 
's/-[^-]*$$//')
 DEB_UPSTREAM_VERSION_MAJOR_MINOR := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 
-r -n 's/^([0-9]+\.[0-9]+).*/\1/p')
 
+EXPORTED_SOURCE_TARBALL = debian/mysql-source-5.1.tar.gz
+
 DISTRIBUTION = $(shell lsb_release -i -s)
 
 MAKE_J = -j$(shell if [ -f /proc/cpuinfo ] ; then grep -c processor.* 
/proc/cpuinfo ; else echo 1 ; fi)
@@ -127,6 +129,9 @@
 build-stamp: configure
        @echo "RULES.$@"
        dh_testdir
+       [ -f $(EXPORTED_SOURCE_TARBALL) ] || tar -zcf 
$(EXPORTED_SOURCE_TARBALL) \
+      --exclude=debian . \
+      --transform="s,^\./,mysql-5.1/,"
 
        cd $(builddir) && $(MAKE) $(MAKE_J)
 
@@ -184,6 +189,7 @@
        rm -rf $(BUILDDIR) $(BUILDDIR_PIC)
 
        debconf-updatepo
+       rm -f $(EXPORTED_SOURCE_TARBALL)
        dh_clean -v
 
 
@@ -276,6 +282,8 @@
        # install Apport hook
        install -D -m 644 debian/mysql-server-5.1.py 
$(TMP)/usr/share/apport/package-hooks/source_mysql-dfsg-5.1.py
 
+       install -D -m 0644 $(EXPORTED_SOURCE_TARBALL) 
$(TMP)/usr/src/mysql/`basename $(EXPORTED_SOURCE_TARBALL)`
+
        dh_movefiles
        
 # Build architecture-independent files here.


--- End Message ---
--- Begin Message ---
Source: mysql-5.1
Source-Version: 5.1.54-2

We believe that the bug you reported is fixed in the latest version of
mysql-5.1, which is due to be installed in the Debian FTP archive:

libmysqlclient-dev_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/libmysqlclient-dev_5.1.54-2_amd64.deb
libmysqlclient16_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/libmysqlclient16_5.1.54-2_amd64.deb
libmysqld-dev_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/libmysqld-dev_5.1.54-2_amd64.deb
libmysqld-pic_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/libmysqld-pic_5.1.54-2_amd64.deb
mysql-5.1_5.1.54-2.diff.gz
  to main/m/mysql-5.1/mysql-5.1_5.1.54-2.diff.gz
mysql-5.1_5.1.54-2.dsc
  to main/m/mysql-5.1/mysql-5.1_5.1.54-2.dsc
mysql-client-5.1_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/mysql-client-5.1_5.1.54-2_amd64.deb
mysql-client_5.1.54-2_all.deb
  to main/m/mysql-5.1/mysql-client_5.1.54-2_all.deb
mysql-common_5.1.54-2_all.deb
  to main/m/mysql-5.1/mysql-common_5.1.54-2_all.deb
mysql-server-5.1_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/mysql-server-5.1_5.1.54-2_amd64.deb
mysql-server-core-5.1_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/mysql-server-core-5.1_5.1.54-2_amd64.deb
mysql-server_5.1.54-2_all.deb
  to main/m/mysql-5.1/mysql-server_5.1.54-2_all.deb
mysql-source-5.1_5.1.54-2_amd64.deb
  to main/m/mysql-5.1/mysql-source-5.1_5.1.54-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Tretkowski <[email protected]> (supplier of updated mysql-5.1 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 04 Feb 2011 16:28:08 +0100
Source: mysql-5.1
Binary: libmysqlclient16 libmysqld-pic libmysqld-dev libmysqlclient-dev 
mysql-common mysql-client-5.1 mysql-server-core-5.1 mysql-server-5.1 
mysql-server mysql-client mysql-source-5.1
Architecture: source all amd64
Version: 5.1.54-2
Distribution: unstable
Urgency: low
Maintainer: Debian MySQL Maintainers <[email protected]>
Changed-By: Norbert Tretkowski <[email protected]>
Description: 
 libmysqlclient-dev - MySQL database development files
 libmysqlclient16 - MySQL database client library
 libmysqld-dev - MySQL embedded database development files
 libmysqld-pic - MySQL database development files
 mysql-client - MySQL database client (metapackage depending on the latest 
versio
 mysql-client-5.1 - MySQL database client binaries
 mysql-common - MySQL database common files, e.g. /etc/mysql/my.cnf
 mysql-server - MySQL database server (metapackage depending on the latest 
versio
 mysql-server-5.1 - MySQL database server binaries and system database setup
 mysql-server-core-5.1 - MySQL database server binaries
 mysql-source-5.1 - MySQL source
Closes: 582955 605590 608885 611965
Changes: 
 mysql-5.1 (5.1.54-2) unstable; urgency=low
 .
   * Upload to unstable.
   * Add mysql-source-5.1 package, patch from Clint Byrum. (closes: #611965)
   * Update debconf translations:
     - Dutch, from Eric Spreen. (closes: #605590)
     - Slovak, from Slavko. (closes: #608885)
   * Fix minor grammar infelicity in debian-start script. (closes: #582955)
Checksums-Sha1: 
 b6472445bd9243299267f23719d7d963720ea9bf 1709 mysql-5.1_5.1.54-2.dsc
 77dd5fba250a41fd50c02f2b53b2351331723fc4 298577 mysql-5.1_5.1.54-2.diff.gz
 85aa612f5f7117d0f4999430178f814b6c19aad4 75768 mysql-common_5.1.54-2_all.deb
 e7861cacc131dc6e1cb2986beee18f43f2965b88 70206 mysql-server_5.1.54-2_all.deb
 b0cc00337ae486e8361c758f5ece262f31b9f279 70078 mysql-client_5.1.54-2_all.deb
 9a2125c8ee8d5020e36f91ef8356c674c4a5e398 1978986 
libmysqlclient16_5.1.54-2_amd64.deb
 cff3220fff6624047a98bf96674519436c29198c 4478896 
libmysqld-pic_5.1.54-2_amd64.deb
 0c9eb37cd470e782a1ad755ca9474f26442dc4d8 5726230 
libmysqld-dev_5.1.54-2_amd64.deb
 9e8ac835c4d16e426211d9b82f21d18132fc03a6 3207672 
libmysqlclient-dev_5.1.54-2_amd64.deb
 9d7abee01bffe1b7bb4d556e5d06958cc1a2ef17 10076010 
mysql-client-5.1_5.1.54-2_amd64.deb
 1f04065274270c428a1affe8b37faa3d39aaac94 4130174 
mysql-server-core-5.1_5.1.54-2_amd64.deb
 9d0e5057ccfbee327278a06ae67c2f3d89a7f529 6600508 
mysql-server-5.1_5.1.54-2_amd64.deb
 ad5b19ef5dfdf961602ffbedf832a940a6a27807 20765906 
mysql-source-5.1_5.1.54-2_amd64.deb
Checksums-Sha256: 
 1194fb3671035e790a81326bf7fe741c1af61673a698122618a6ce0bcc7d9643 1709 
mysql-5.1_5.1.54-2.dsc
 bc77c7adaab875bb80861b7911958ebd181baa3a21d6ea6c38a33958e56cd28d 298577 
mysql-5.1_5.1.54-2.diff.gz
 007bcf77a2a44d2998543c94d0f9ffa628bc4a408d517f67a0554878d0519271 75768 
mysql-common_5.1.54-2_all.deb
 7cb5dfd22b3255d75ef849e1c1a4e22a5a28936d4d893a5dae152fc9158a45a6 70206 
mysql-server_5.1.54-2_all.deb
 1d564c2d333dc17bc0e7aa304f3d4f05cab00ea9be66bb85623f21bd0da0c488 70078 
mysql-client_5.1.54-2_all.deb
 8252343d6d6342a42e616015619a11b6510e0640525ac2aa7e223b578399e870 1978986 
libmysqlclient16_5.1.54-2_amd64.deb
 4257fb0154c2bd6eb9e5b518af63f971e9ca1c5a902239f36e85d67eab590c72 4478896 
libmysqld-pic_5.1.54-2_amd64.deb
 68663682423d40610b15bdc1b6cb521c5e0db9b41276307700f0502e84aec479 5726230 
libmysqld-dev_5.1.54-2_amd64.deb
 e8d243ffb063b6d7e6d4a9db4059f6ef95ed8afbb5608f424642ec404e404b1d 3207672 
libmysqlclient-dev_5.1.54-2_amd64.deb
 4760a1300ec33a8d56b2312bbc62aa30e117a40aaa74d55d69bc53e6efe7253a 10076010 
mysql-client-5.1_5.1.54-2_amd64.deb
 4a4c1f302882b2bc197a95df30d9f84126000061b1f680bc2881f5b0bd579868 4130174 
mysql-server-core-5.1_5.1.54-2_amd64.deb
 3341c1cb1f7bea2bb35ef6115429fdcc70128de872a54c57ad0af9da2ded901b 6600508 
mysql-server-5.1_5.1.54-2_amd64.deb
 f0b8b62d03f4ae3fe03339c7564fa88ee5108ff2ff4132799072b6654b5bb813 20765906 
mysql-source-5.1_5.1.54-2_amd64.deb
Files: 
 3146dd6e1cdada59b5fa44b1cf889d6a 1709 misc optional mysql-5.1_5.1.54-2.dsc
 d05e6d94f70830df295c744a1de8701c 298577 misc optional 
mysql-5.1_5.1.54-2.diff.gz
 f87d36014d21beea3104c58638ef3ad5 75768 database optional 
mysql-common_5.1.54-2_all.deb
 7e174df9d022e3e1ed568762d48b9ca7 70206 database optional 
mysql-server_5.1.54-2_all.deb
 00ebf2ef08906493e1bca72d2deffd5c 70078 database optional 
mysql-client_5.1.54-2_all.deb
 471de5aa7e337a3d69895100d33aed00 1978986 libs optional 
libmysqlclient16_5.1.54-2_amd64.deb
 1daa1dd970cdaf5e926faec53441ff7e 4478896 libdevel optional 
libmysqld-pic_5.1.54-2_amd64.deb
 34ac766d4c52c97330ab79078e30f650 5726230 libdevel optional 
libmysqld-dev_5.1.54-2_amd64.deb
 14fab1d71c9f684f659e5292bed3a526 3207672 libdevel optional 
libmysqlclient-dev_5.1.54-2_amd64.deb
 75d951553edb1a4d30ad730ce00b6ce8 10076010 misc optional 
mysql-client-5.1_5.1.54-2_amd64.deb
 8ae1a59a3aa308236da127f712e34c6d 4130174 misc optional 
mysql-server-core-5.1_5.1.54-2_amd64.deb
 ac6f4cd03365221609733c3d08c694bd 6600508 misc optional 
mysql-server-5.1_5.1.54-2_amd64.deb
 769095dc8994ee9631727ae87834c6bd 20765906 misc optional 
mysql-source-5.1_5.1.54-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1OdRkACgkQr/RnCw96jQEUcQCgra91Vhdnh/jYKZyhzSzX3kXR
xHoAn3kPOVybBGJICS4jbvuX8L01sVnT
=i7q0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to