RPM install misses Time::HiRes Perl dependency
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/
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.
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 11 lines (+0/-1)1 file modifiedutils/xtrabackup.spec (+0/-1)
- Alexey Kopytov (community): Approve
-
Diff: 11 lines (+0/-1)1 file modifiedutils/xtrabackup.spec (+0/-1)
tags: | added: i29642 |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-617