RPM install misses Time::HiRes Perl dependency

Bug #1121573 reported by Ernie Souhrada
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Alexey Bychko
2.0
Fix Released
Medium
Alexey Bychko
2.1
Fix Released
Medium
Alexey Bychko

Bug Description

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/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/innobackupex line 22.
BEGIN failed--compilation aborted at /usr/bin/innobackupex line 22.

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.

Tags: i29642

Related branches

tags: added: i29642
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-617

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.