Dear MySQL Maintainers, On 2015-09-07 23:27, Aurelien Jarno wrote: > control: severity -1 important > control: tag -1 + patch > > On 2015-09-06 06:27, YunQiang Su wrote: > > Package: mysql-5.6 > > > > mysql-5.6 doesn't include the patch fix-mips64el-ftbfs.diff in mysql-5.5. > > So it FTBFS on mips64el. > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719196 > > > > there is a problem in extra/yassl/taocrypt/src/integer.cpp, > > where a wrong register name is used. > > mysql-5.6 is about to block bootstrapping the mips64el port in the > Debian archive as a lot of packages build-depends on it (qt4, qt5, > net-snmp, exim, ...). Now that the RC bug #793099 has a patch in the > BTS, would it be possible to schedule an upload with at least these > two patches applied? That would also help mysql-5.6 to migrate to > testing. > > You'll find the patch for this bug in the mysql-5.5 bug report, that is > here: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=719196;att=1;filename=fix-mips64el-ftbfs.diff
I have seen that the patch hasn't been included in the latest upload. I believe it was not clear enough which patch should be applied. Therefore please find attached a patch which applies directly to the version in sid. It would be really appreciated if you can include this patch in the next upload. Don't hesitate to ask if you need more details. Thanks, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://www.aurel32.net
diff -Nru mysql-5.6-5.6.25/debian/changelog mysql-5.6-5.6.25/debian/changelog --- mysql-5.6-5.6.25/debian/changelog 2015-09-09 10:24:14.000000000 +0200 +++ mysql-5.6-5.6.25/debian/changelog 2015-09-19 01:38:59.000000000 +0200 @@ -1,3 +1,12 @@ +mysql-5.6 (5.6.25-4.1) unstable; urgency=medium + + [ Aurelien Jarno ] + * Non-maintainer upload. + * Add debian/patches/mips64el.patch to fix FTBFS on mips64el (Closes: + #798126). + + -- Aurelien Jarno <[email protected]> Sat, 19 Sep 2015 01:38:03 +0200 + mysql-5.6 (5.6.25-4) unstable; urgency=medium * Update debian/copyright (Closes: #793099). Thanks to Lars Tangvald. diff -Nru mysql-5.6-5.6.25/debian/patches/mips64el.patch mysql-5.6-5.6.25/debian/patches/mips64el.patch --- mysql-5.6-5.6.25/debian/patches/mips64el.patch 1970-01-01 01:00:00.000000000 +0100 +++ mysql-5.6-5.6.25/debian/patches/mips64el.patch 2015-09-19 01:37:26.000000000 +0200 @@ -0,0 +1,15 @@ +http://stackoverflow.com/questions/3652153/impossible-constraint-in-asm + +Index: mysql-5.6/extra/yassl/taocrypt/src/integer.cpp +=================================================================== +--- mysql-5.6.orig/extra/yassl/taocrypt/src/integer.cpp ++++ mysql-5.6/extra/yassl/taocrypt/src/integer.cpp +@@ -192,7 +192,7 @@ + "a" (a), "rm" (b) : "cc"); + + #elif defined(__mips64) +- __asm__("dmultu %2,%3" : "=h" (r.halfs_.high), "=l" (r.halfs_.low) ++ __asm__("dmultu %2,%3" : "=d" (r.halfs_.high), "=lc" (r.halfs_.low) + : "r" (a), "r" (b)); + + #elif defined(_M_IX86) diff -Nru mysql-5.6-5.6.25/debian/patches/series mysql-5.6-5.6.25/debian/patches/series --- mysql-5.6-5.6.25/debian/patches/series 2015-09-03 12:47:46.000000000 +0200 +++ mysql-5.6-5.6.25/debian/patches/series 2015-09-19 01:37:48.000000000 +0200 @@ -6,3 +6,4 @@ kfreebsd_tests.patch spelling.patch fix-mysqlhotcopy-test-failure.patch +mips64el.patch

