building lp:percona-xtrabackup/2.1 from src,
cd percona-xtrabackup
bzr log | head
------------------------------------------------------------
revno: 721 [merge]
committer: Alexey Kopytov <akopytov@gmail.com>
branch nick: 2.1
timestamp: Fri 2014-01-24 16:15:45 +0400
message:
Merged lp:~hrvojem/percona-xtrabackup/rn-2.1.7-update-2.1.
------------------------------------------------------------
revno: 720
committer: Alexey Kopytov <akopytov@gmail.com>
per directions @
http://www.percona.com/doc/percona-xtrabackup/2.1/installation/compiling_xtrabackup.html
exec of build.sh fails,
AUTO_DOWNLOAD="yes" sh -x ./utils/build.sh mariadb100
...
+ local src=innobackupex.pl
+ local dst=innobackupex
+ echo 'Configuring innobackupex.pl to innobackupex'
Configuring innobackupex.pl to innobackupex
+ sed 's|@XB_DISTRIBUTION@|opensuse' 'project|g' innobackupex.pl
sed: -e expression #1, char 28: unterminated `s' command
checking in the script, the source of the error is,
...
XB_DISTRIBUTION=`lsb_release -i | \
sed -e 's/Distributor ID:[[:space:]]//' | \
tr '[:upper:]' '[:lower:]'`
...
echo "Configuring $src to $dst"
sed 's|@XB_DISTRIBUTION@|'$XB_DISTRIBUTION'|g' $src > $dst
...
where XB_DISTRIBTION, on my platform, ==
"opensuse project"
for,
lsb_release -a
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: openSUSE project
Description: openSUSE 12.3 (x86_64)
Release: 12.3
Codename: Dartmouth
should be a simple fix; not clear what $XB_DISTRIBUTION needs to be …