I’m seeing in the source code, in utils/build.sh, that xtrabackup it’s ready to building for MySQL 5.5.8. I’m traying to compile for 5.5.9, but I get an error when the patch it’s applied.
There are patches ready to 5.5.9 version (or comming soon) or have I to change it manually?
$ bzr branch lp:percona-xtrabackup
percona-xtrabackup$ vi utils/build.sh
replace mysql_version=5.5.8 by mysql_version=5.5.9
percona-xtrabackup$ wget ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.5/mysql-5 .5.9.tar.gz
percona-xtrabackup$ utils/build.sh 5.5
–2011-03-11 13:04:49-- http://www.percona.com/downloads/community//libtar-1.2.11.ta r.gz
Resolviendo www.percona.com… 65.49.72.130
Connecting to www.percona.com|65.49.72.130|:80… conectado.
Petición HTTP enviada, esperando respuesta… 200 OK
Longitud: 145354 (142K) [application/x-gzip]
Saving to: `libtar-1.2.11.tar.gz’
100%[======================================================= ============================================================ >] 145.354 143K/s in 1,0s
2011-03-11 13:04:51 (143 KB/s) - `libtar-1.2.11.tar.gz’ saved [145354/145354]
Prepare sources
patching file storage/innobase/btr/btr0btr.c
patching file storage/innobase/buf/buf0buf.c
Hunk #2 succeeded at 4056 (offset 1 line).
patching file storage/innobase/buf/buf0rea.c
patching file storage/innobase/fil/fil0fil.c
Hunk #2 succeeded at 299 with fuzz 2.
Hunk #3 succeeded at 338 (offset 28 lines).
Hunk #4 succeeded at 663 (offset 28 lines).
Hunk #5 succeeded at 698 (offset 28 lines).
Hunk #6 succeeded at 795 (offset 28 lines).
Hunk #7 succeeded at 847 (offset 28 lines).
Hunk #8 succeeded at 1474 (offset 28 lines).
Hunk #9 succeeded at 1531 (offset 28 lines).
Hunk #10 succeeded at 2201 (offset 28 lines).
Hunk #11 succeeded at 2364 (offset 28 lines).
Hunk #12 succeeded at 2665 (offset 28 lines).
Hunk #13 succeeded at 2856 (offset 28 lines).
Hunk #14 succeeded at 3111 (offset 28 lines).
Hunk #15 succeeded at 3433 (offset 28 lines).
Hunk #16 succeeded at 3574 (offset 28 lines).
Hunk #17 succeeded at 3873 (offset 28 lines).
Hunk #18 succeeded at 4352 (offset 28 lines).
Hunk #19 succeeded at 4372 (offset 28 lines).
Hunk #20 succeeded at 4391 (offset 28 lines).
Hunk #21 succeeded at 4577 (offset 28 lines).
patching file storage/innobase/ibuf/ibuf0ibuf.c
Hunk #1 succeeded at 1160 with fuzz 2 (offset 35 lines).
Hunk #2 succeeded at 2694 (offset 78 lines).
patching file storage/innobase/include/srv0srv.h
patching file storage/innobase/include/srv0start.h
patching file storage/innobase/log/log0log.c
patching file storage/innobase/log/log0recv.c
patching file storage/innobase/os/os0file.c
Hunk #1 succeeded at 656 (offset 25 lines).
Hunk #2 succeeded at 1456 (offset 25 lines).
Hunk #3 succeeded at 1517 (offset 25 lines).
Hunk #4 succeeded at 2699 (offset 25 lines).
Hunk #5 succeeded at 2826 (offset 25 lines).
patching file storage/innobase/os/os0thread.c
patching file storage/innobase/row/row0merge.c
patching file storage/innobase/srv/srv0srv.c
Hunk #1 succeeded at 396 (offset 2 lines).
Hunk #2 succeeded at 1097 (offset 34 lines).
Hunk #3 succeeded at 1108 (offset 34 lines).
Hunk #4 succeeded at 1122 (offset 34 lines).
Hunk #5 succeeded at 1718 (offset 34 lines).
patching file storage/innobase/srv/srv0start.c
Hunk #4 FAILED at 1381.
Hunk #5 succeeded at 1708 (offset 76 lines).
Hunk #6 FAILED at 1807.
Hunk #7 succeeded at 1950 (offset 118 lines).
Hunk #8 succeeded at 2063 (offset 135 lines).
2 out of 8 hunks FAILED – saving rejects to file storage/innobase/srv/srv0start.c.rej