RPM compilation still requires bzr

Bug #1466888 reported by Julien Pivotto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.6
Triaged
Medium
Unassigned
5.7
Triaged
Medium
Unassigned
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Tomislav Plavcic
2.2
Fix Released
Medium
Tomislav Plavcic
2.3
Fix Released
Medium
Tomislav Plavcic

Bug Description

when running percona-xtrabackup/storage/innobase/xtrabackup/utils/build-rpm.sh

++ cd /root/percona-xtrabackup
++ bzr revno
++ cat REVNO
cat: REVNO: No such file or directory

Tags: pkg
Revision history for this message
Julien Pivotto (roidelapluie) wrote :
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

This is easy to confirm:

openxs@ao756:~/git/percona-xtrabackup$ cd /tmp
openxs@ao756:/tmp$ mkdir xb
openxs@ao756:/tmp$ cd xb
openxs@ao756:/tmp/xb$ ~/git/percona-xtrabackup/storage/innobase/xtrabackup/utils/build-rpm.sh
+ set -ue
+ TARGET=
+ TARGET_CFLAGS=
+ TARGET_ARG=
+ SIGN=--sign
+ TEST=no
+ DUMMY=
+ getopt --test
+++ basename /home/openxs/git/percona-xtrabackup/storage/innobase/xtrabackup/utils/build-rpm.sh
++ getopt --options=iKtn --longoptions=i686,nosign,test,dummy --name=build-rpm.sh --
+ go_out=' --'
+ test 0 -eq 0
+ eval set -- --
++ set -- --
+ for arg in '"$@"'
+ case "$arg" in
+ shift
+ break
+ test 0 -eq 0
++ pwd
+ WORKDIR=/tmp/xb
++ echo '*'
+ test 'x*' '!=' 'x*'
++ cd /tmp/xb
++ pwd
+ WORKDIR_ABS=/tmp/xb
+++ dirname /home/openxs/git/percona-xtrabackup/storage/innobase/xtrabackup/utils/build-rpm.sh
++ readlink -f /home/openxs/git/percona-xtrabackup/storage/innobase/xtrabackup/utils/../../../..
+ SOURCEDIR=/home/openxs/git/percona-xtrabackup
+ test -e /home/openxs/git/percona-xtrabackup/XB_VERSION
+ . /home/openxs/git/percona-xtrabackup/XB_VERSION
++ XB_VERSION_MAJOR=2
++ XB_VERSION_MINOR=2
++ XB_VERSION_PATCH=11
++ XB_VERSION_EXTRA=
+ XTRABACKUP_VERSION=2.2.11
++ grep -o 'release [0-9][0-9]*' /etc/redhat-release
++ cut -d ' ' -f 2
grep: /etc/redhat-release: No such file or directory
+ REDHAT_RELEASE=
+ '[' -z '' ']'
++ cd /home/openxs/git/percona-xtrabackup
++ bzr revno
++ cat REVNO
cat: REVNO: No such file or directory
+ REVISION=

Changed in percona-xtrabackup:
status: New → Confirmed
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Same happens with Percona Server as well. Hit it while trying ot build 5.6.25 RPM on Fedora, then just checked the code:

openxs@ao756:/tmp/xb$ grep bzr ~/git/percona-server/build-ps/build-rpm.sh
REVISION="$(cd "$SOURCEDIR"; bzr revno)"

summary: - RPM compilation still requires git
+ RPM compilation still requires bzr
tags: added: pkg
Revision history for this message
Tomislav Plavcic (tplavcic) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-729

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1633

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.