No dependency check in RPM package for Perl Digest::MD5

Bug #1644018 reported by Sveta Smirnova on 2016-11-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to
Status tracked in 2.4
Fix Released
Fix Released

Bug Description

If Perl module Digest::MD5 is not installed innobackupex will generate error:

sveta@Thinkie:~/issues/152604$ ./usr/bin/innobackupex --host= --port=13001 --user=root backup
161123 00:45:41 innobackupex: Starting the backup operation

IMPORTANT: Please check that the backup run completes successfully.
           At the end of a successful backup run innobackupex
           prints "completed OK!".

Can't locate Digest/ in @INC (you may need to install the Digest::MD5 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at - line 693.
BEGIN failed--compilation aborted at - line 693.
161123 00:45:41 Connecting to MySQL server host:, user: root, password: not set, port: 13001, socket: (null)
Using server version 5.6.32-78.0-debug-log
./usr/bin/innobackupex version 2.3.5 based on MySQL server 5.6.24 Linux (x86_64) (revision id: 45cda89)
xtrabackup: uses posix_fadvise().

Thought backup will continue.

But RPM package does not list this dependency:

sveta@Thinkie:~/issues/152604$ rpm -qpR percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm | grep -i md5
warning: percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
sveta@Thinkie:~/issues/152604$ rpm -qpR percona-xtrabackup-2.3.5-1.el7.x86_64.rpm | grep -i md5
warning: percona-xtrabackup-2.3.5-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY

Suggested fix: add dependency into RPM package

It is needed for varsion_check I suppose. It doesn't affect the backup functionality. If one just want to get rid of error message he can simply add --no-version-check.

Version_check feature added to several Percona tools

tags: added: pkg
EvgeniyPatlan (evgeniy-patlan) wrote :

Dependencies has been added.

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers