Bug 447800 - Missing Perl dependencies in imapsync
Summary: Missing Perl dependencies in imapsync
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: imapsync
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marek Mahut
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-21 20:51 UTC by Mary Ellen Foster
Modified: 2008-06-21 17:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-06-21 17:53:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch for imapsync's spec file (409 bytes, patch)
2008-05-27 14:48 UTC, Matteo Castellini
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.