[debian-mysql] Bug#575246: mysql-proxy: Patch for FTBFS for 0.8.0 on Sparc
James Bromberger
jeb at debian.org
Wed Mar 24 13:27:38 UTC 2010
Package: mysql-proxy
Version: 0.8.0
Severity: grave
Justification: renders package unusable
Having looked at the testing migration for 0.8.0 I saw that this is being held up by a build error on Sparc. I lodged a bug report today against MySQL proxy and have had a patch sent back (see bug MySQL Bug #52327):
It appears that src/my_rdtsc.h is missing the typedef for ulong. That type is only used
with GCC for SPARC, so we've never hit this bug before (we use SunStudio for compiling on
Solaris, not sure we even have a build machine with Linux/SPARC).
Please try this patch:
=== modified file 'src/my_rdtsc.h'
--- src/my_rdtsc.h 2009-06-24 15:37:10 +0000
+++ src/my_rdtsc.h 2010-03-24 11:52:43 +0000
@@ -30,7 +30,7 @@
#define C_MODE_START G_BEGIN_DECLS
#define C_MODE_END G_END_DECLS
typedef guint64 ulonglong;
-
+typedef guint32 ulong;
/**
This structure contains the characteristics of all the supported timers.
http://bugs.mysql.com/bug.php?id=52327
I dont have time to compile this myself - can you test this and see if this is helps solve the build problem?
Thanks
JEB
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (900, 'stable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.7-kvm-i386-20100201
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the pkg-mysql-maint
mailing list