RPM install misses Time::HiRes Perl dependency
XtraBackup 2.0.5 installs via RPM / Yum repository on a fairly minimal installation of CentOS 6.3 without any problems (minimal / base CentOS 6.3 installation, add Percona Server). However, when attempting to run innobackupex, the following error is produced:
(root@test-02 17:46:47)# innobackupex
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/
BEGIN failed--compilation aborted at /usr/bin/
So there's obviously a dependency here; if I do a "yum install" of perl-Time-HiRes the problem goes away and innobackupex runs without issue - so I would expect that if i do a yum install of the percona-xtrabackup package that it should recognize that I didn't have the perl-Time-HiRes module and automatically add it to the list of installation dependencies.
The fix for this ought to be simple enough - just add perl-Time-HiRes to the Requires: section of the spec file.