Bug 447800

Summary: Missing Perl dependencies in imapsync
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: imapsyncAssignee: Marek Mahut <mmahut>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: self
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-21 17:53:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for imapsync's spec file none

Description Mary Ellen Foster 2008-05-21 20:51:09 UTC
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):
imapsync-1.249-1.fc8

How reproducible:
Every time

Steps to Reproduce:
1. imapsync --dry --host1 host1 --user1 mef --ssl1 --host2 host2 --user2 mef
-ssl2 --noauthmd5 --syncinternaldates --delete2
  
Actual results:
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.

Expected results:
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.

Comment 1 Matteo Castellini 2008-05-27 14:45:10 UTC
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
line 573.

Can't locate Term/ReadKey.pm in @INC (@INC contains: ...) at /usr/bin/imapsync
line 618.

Can't locate IO/Socket/SSL.pm in @INC (@INC contains: ...) at /usr/bin/imapsync
line 670.

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



Comment 2 Matteo Castellini 2008-05-27 14:48:29 UTC
Created attachment 306786 [details]
patch for imapsync's spec file

Proposed patch to add the missing dependencies listed in comment #1 to the spec
file.

Comment 3 Marek Mahut 2008-05-28 05:07:03 UTC
Thank you :) updates should be in testing soon.

Comment 4 Marek Mahut 2008-06-21 17:53:19 UTC
This has been fixed and it's in stable now.