Red Hat Bugzilla – Bug 447800
Missing Perl dependencies in imapsync
Last modified: 2008-06-21 13:53:19 EDT
Description of problem:
imapsync doesn't install all of the Perl packages it needs for operation. It
needs at least perl-Date-Manip and perl-IO-Socket-SSL ...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. imapsync --dry --host1 host1 --user1 mef --ssl1 --host2 host2 --user2 mef
-ssl2 --noauthmd5 --syncinternaldates --delete2
Can't locate Date/Manip.pm in @INC [ ... ]
Then if I install perl-Date-Manip, I get:
Can't locate IO/Socket/SSL.pm in @INC [ ... ]
Install perl-IO-Socket-SSL and then it works.
All dependencies should be installed initially
There may be other perl packages that are needed that I coincidentally had
installed before, but these two were clearly absent.
I can reproduce this bug and also perl-TermReadKey is missing. Here are the
error messages I get:
Can't locate Date/Manip.pm in @INC (@INC contains: ...) at /usr/bin/imapsync
Can't locate Term/ReadKey.pm in @INC (@INC contains: ...) at /usr/bin/imapsync
Can't locate IO/Socket/SSL.pm in @INC (@INC contains: ...) at /usr/bin/imapsync
Giving a quick look to imapsync source code it seems that the modules listed
above are called by a "require" statement inside the code but not listed at the
beginning with a "use" statement so they are not automatically discovered
Created attachment 306786 [details]
patch for imapsync's spec file
Proposed patch to add the missing dependencies listed in comment #1 to the spec
Thank you :) updates should be in testing soon.
This has been fixed and it's in stable now.