Your message dated Tue, 17 Jan 2006 14:34:58 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#348182: fixed in mysql-dfsg-5.0 5.0.18-6
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jan 2006 13:54:39 +0000
>From [EMAIL PROTECTED] Sun Jan 15 05:54:39 2006
Return-path: <[EMAIL PROTECTED]>
Received: from mail.gmx.de ([213.165.64.21] helo=mail.gmx.net)
by spohr.debian.org with smtp (Exim 4.50)
id 1Ey8L8-0001lz-SI
for [EMAIL PROTECTED]; Sun, 15 Jan 2006 05:54:39 -0800
Received: (qmail invoked by alias); 15 Jan 2006 13:54:06 -0000
Received: from ppp-82-135-10-31.mnet-online.de (EHLO localhost.localdomain)
[82.135.10.31]
by mail.gmx.net (mp001) with SMTP; 15 Jan 2006 14:54:06 +0100
X-Authenticated: #686195
Received: from mbanck by localhost.localdomain with local (Exim 4.52)
id 1Ey8Ka-0003qe-Lx
for [EMAIL PROTECTED]; Sun, 15 Jan 2006 14:54:04 +0100
Date: Sun, 15 Jan 2006 14:54:04 +0100
From: Michael Banck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: mysql-dfsg-5.0: FTBFS on hurd-i386: Several issues
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="aM3YZ0Iwxop3KEKx"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Y-GMX-Trusted: 0
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02
--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: mysql-dfsg-5.0
Version: 5.0.18-4
Severity: important
Tags: patch
Hi,
mysql-dfsg-5.0 FTBFS on hurd-i386 due to the following issues:
- The check for /proc/1 in debian/rules' configure target fails as there
is no /proc on the Hurd. The Build-Depends say procps | hurd, so I
suggest not doing that check on hurd-i386.
- The configure check on how to run ps to get mysqld's $PID does not
work on the Hurd, as the PPID is prepended with a - for login shells,
thus making grep look for -bash, which it complains as an invalid
argument. Filtering out '-' from the ps output makes this work fine.
- There are some occurances of PATH_MAX in the code which are used
unconditionally. As there is no system limit on path names on GNU,
PATH_MAX is not defined. A work-around is to define PATH_MAX in the
source to some arbitrary value.
The attached patch fixes all these issues, changing debian/rules and
introducing two more dpatches. I verified it still builds fine on
GNU/Linux.
An alternative solution for the first two would be to hardcode the
FIND_PROC command on Linux similar to how it is done on e.g. FreeBSD.
This would also remove the Build-Depends on procps I guess.
cheers,
Michael
--
Michael Banck
Debian Developer
[EMAIL PROTECTED]
http://www.advogato.org/person/mbanck/diary.html
--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mysql.diff"
diff -u mysql-dfsg-5.0-5.0.18/debian/patches/00list
mysql-dfsg-5.0-5.0.18/debian/patches/00list
--- mysql-dfsg-5.0-5.0.18/debian/patches/00list
+++ mysql-dfsg-5.0-5.0.18/debian/patches/00list
@@ -19,0 +20,2 @@
+86_PATH_MAX.dpatch
+87_ps_Hurd.dpatch
diff -u mysql-dfsg-5.0-5.0.18/debian/rules mysql-dfsg-5.0-5.0.18/debian/rules
--- mysql-dfsg-5.0-5.0.18/debian/rules
+++ mysql-dfsg-5.0-5.0.18/debian/rules
@@ -10,6 +10,7 @@
TMP=$(PWD)/debian/tmp/
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ARCH_OS = $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEBVERSION = $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' |
sed 's/^.*-//' )
@@ -44,7 +45,9 @@
@echo "RULES.configure-stamp"
dh_testdir
+ifneq ($(ARCH_OS),hurd)
if [ ! -d /proc/1 ]; then echo "/proc IS NEEDED" 1>&2; exit 1; fi
+endif
sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/bin:/usr/bin"} \
CC=$${MYSQL_BUILD_CC:-gcc} \
only in patch2:
unchanged:
--- mysql-dfsg-5.0-5.0.18.orig/debian/patches/86_PATH_MAX.dpatch
+++ mysql-dfsg-5.0-5.0.18/debian/patches/86_PATH_MAX.dpatch
@@ -0,0 +1,112 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 86_PATH_MAX.dpatch by <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch to define PATH_MAX on systems which do not.
+
[EMAIL PROTECTED]@
+
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/common/logger/FileLogHandler.cpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/common/logger/FileLogHandler.cpp
+@@ -18,6 +18,10 @@
+ #include <FileLogHandler.hpp>
+ #include <File.hpp>
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ //
+ // PUBLIC
+ //
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
+@@ -64,6 +64,10 @@
+ #define WRITEBUFFERSIZE 262144
+ #endif
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ const char *actionName[] = {
+ "open",
+ "close",
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/kernel/blocks/ndbfs/Filename.cpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/kernel/blocks/ndbfs/Filename.cpp
+@@ -25,6 +25,10 @@
+
+ #include <signaldata/FsOpenReq.hpp>
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ static const char* fileExtension[] = {
+ ".Data",
+ ".FragLog",
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/kernel/blocks/ndbfs/Filename.hpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/kernel/blocks/ndbfs/Filename.hpp
+@@ -17,6 +17,10 @@
+ #ifndef Filename_H
+ #define Filename_H
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ //===========================================================================
+ //
+ // .DESCRIPTION
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/kernel/vm/Configuration.cpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/kernel/vm/Configuration.cpp
+@@ -39,6 +39,10 @@
+ #include <LogLevel.hpp>
+ #include <NdbSleep.h>
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ extern "C" {
+ void ndbSetOwnVersion();
+ }
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/cw/cpcd/CPCD.cpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/cw/cpcd/CPCD.cpp
+@@ -24,6 +24,10 @@
+
+ #include "common.hpp"
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ extern const ParserRow<CPCDAPISession> commands[];
+
+
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/src/cw/cpcd/Process.cpp
++++ mysql-dfsg-5.0-5.0.18/ndb/src/cw/cpcd/Process.cpp
+@@ -27,6 +27,10 @@
+ #include <sys/resource.h>
+ #endif
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ void
+ CPCD::Process::print(FILE * f){
+ fprintf(f, "define process\n");
+--- mysql-dfsg-5.0-5.0.18.orig/ndb/tools/restore/Restore.hpp
++++ mysql-dfsg-5.0-5.0.18/ndb/tools/restore/Restore.hpp
+@@ -26,6 +26,10 @@
+ #include <ndb_version.h>
+ #include <version.h>
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ static const char * delimiter = ";"; // Delimiter in file dump
+
+ const int FileNameLenC = 256;
only in patch2:
unchanged:
--- mysql-dfsg-5.0-5.0.18.orig/debian/patches/87_ps_Hurd.dpatch
+++ mysql-dfsg-5.0-5.0.18/debian/patches/87_ps_Hurd.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 87_ps_hurd.dpatch by <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch to make the configure check work with the Hurd's ps.
+
[EMAIL PROTECTED]@
+
+--- mysql-dfsg-5.0-5.0.18/configure.in.orig 2006-01-14 20:38:43.000000000
+0100
++++ mysql-dfsg-5.0-5.0.18/configure.in 2006-01-14 20:40:00.000000000 +0100
+@@ -434,7 +434,7 @@
+ AC_MSG_CHECKING("how to check if pid exists")
+ PS=$ac_cv_path_PS
+ # Linux style
+-if $PS p $$ 2> /dev/null | grep $0 > /dev/null
++if $PS p $$ 2> /dev/null | grep `echo $0 | sed s/\-//` > /dev/null
+ then
+ FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
+ # Solaris
+--- mysql-dfsg-5.0-5.0.18/configure.orig 2006-01-14 20:56:37.000000000
+0100
++++ mysql-dfsg-5.0-5.0.18/configure 2006-01-14 20:56:51.000000000 +0100
+@@ -21975,7 +21930,7 @@
+ echo $ECHO_N "checking \"how to check if pid exists\"... $ECHO_C" >&6
+ PS=$ac_cv_path_PS
+ # Linux style
+-if $PS p $$ 2> /dev/null | grep $0 > /dev/null
++if $PS p $$ 2> /dev/null | grep `echo $0 | sed s/\-//` > /dev/null
+ then
+ FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
+ # Solaris
--aM3YZ0Iwxop3KEKx--
---------------------------------------
Received: (at 348182-close) by bugs.debian.org; 17 Jan 2006 22:45:30 +0000
>From [EMAIL PROTECTED] Tue Jan 17 14:45:30 2006
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1EyzPm-0003vN-Kl; Tue, 17 Jan 2006 14:34:58 -0800
From: Christian Hammers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#348182: fixed in mysql-dfsg-5.0 5.0.18-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 17 Jan 2006 14:34:58 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2
Source: mysql-dfsg-5.0
Source-Version: 5.0.18-6
We believe that the bug you reported is fixed in the latest version of
mysql-dfsg-5.0, which is due to be installed in the Debian FTP archive:
libmysqlclient15-dev_5.0.18-6_i386.deb
to pool/main/m/mysql-dfsg-5.0/libmysqlclient15-dev_5.0.18-6_i386.deb
libmysqlclient15_5.0.18-6_i386.deb
to pool/main/m/mysql-dfsg-5.0/libmysqlclient15_5.0.18-6_i386.deb
mysql-client-5.0_5.0.18-6_i386.deb
to pool/main/m/mysql-dfsg-5.0/mysql-client-5.0_5.0.18-6_i386.deb
mysql-client_5.0.18-6_all.deb
to pool/main/m/mysql-dfsg-5.0/mysql-client_5.0.18-6_all.deb
mysql-common_5.0.18-6_all.deb
to pool/main/m/mysql-dfsg-5.0/mysql-common_5.0.18-6_all.deb
mysql-dfsg-5.0_5.0.18-6.diff.gz
to pool/main/m/mysql-dfsg-5.0/mysql-dfsg-5.0_5.0.18-6.diff.gz
mysql-dfsg-5.0_5.0.18-6.dsc
to pool/main/m/mysql-dfsg-5.0/mysql-dfsg-5.0_5.0.18-6.dsc
mysql-server-5.0_5.0.18-6_i386.deb
to pool/main/m/mysql-dfsg-5.0/mysql-server-5.0_5.0.18-6_i386.deb
mysql-server_5.0.18-6_all.deb
to pool/main/m/mysql-dfsg-5.0/mysql-server_5.0.18-6_all.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.
Christian Hammers <[EMAIL PROTECTED]> (supplier of updated mysql-dfsg-5.0
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.7
Date: Tue, 17 Jan 2006 19:25:59 +0100
Source: mysql-dfsg-5.0
Binary: libmysqlclient15-dev libmysqlclient15 mysql-client mysql-client-5.0
mysql-server mysql-server-5.0 mysql-common
Architecture: source all i386
Version: 5.0.18-6
Distribution: unstable
Urgency: low
Maintainer: Christian Hammers <[EMAIL PROTECTED]>
Changed-By: Christian Hammers <[EMAIL PROTECTED]>
Description:
libmysqlclient15 - mysql database client library
libmysqlclient15-dev - mysql database development files
mysql-client - mysql database client (current version)
mysql-client-5.0 - mysql database client binaries
mysql-common - mysql database common files (e.g. /etc/mysql/my.cnf)
mysql-server - mysql database server (current version)
mysql-server-5.0 - mysql database server binaries
Closes: 345895 348182
Changes:
mysql-dfsg-5.0 (5.0.18-6) unstable; urgency=low
.
* Added version comment (thanks to Daniel van Eeden).
* Added two patches to build on GNU/Hurd (thanks to Michael Bank).
Closes: #348182
* Abort upgrade if old and now unsupported ISAM tables are present
(thanks to David Coe). Closes: #345895
Files:
7b1209622b47937261b5c7e700a1d814 1088 misc optional mysql-dfsg-5.0_5.0.18-6.dsc
08c65bc2ecb9f3d54449b965d5c7c0a7 116888 misc optional
mysql-dfsg-5.0_5.0.18-6.diff.gz
5cd2d7f57ee461326ccc456942a5e68c 38742 misc optional
mysql-common_5.0.18-6_all.deb
8c7913b01289fd05d9096c60a0966302 36302 misc optional
mysql-server_5.0.18-6_all.deb
7bfa786093bde64217a131a3d2d0e83a 36296 misc optional
mysql-client_5.0.18-6_all.deb
8d98217819ee31f262e2b8b9d9fe7408 1359374 libs optional
libmysqlclient15_5.0.18-6_i386.deb
398e6af95915cdd207a837849bb17e2f 5959826 libdevel optional
libmysqlclient15-dev_5.0.18-6_i386.deb
f1212a78e2528a2c371acb313472e1b0 6467004 misc optional
mysql-client-5.0_5.0.18-6_i386.deb
32e6b3edf747df2984483115a0a873f2 14807452 misc optional
mysql-server-5.0_5.0.18-6_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iEYEARECAAYFAkPNZBIACgkQkR9K5oahGOYiUgCg1Ek5dNaQmEapl8ZNG4ZtFrLy
ABgAnRMEfOyRzbrzneFah8VsDsSIEqzV
=Hx1U
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]