Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225089 - net-mail/imapsync - Can't locate Digest/HMAC_MD5.pm in @INC
Summary: net-mail/imapsync - Can't locate Digest/HMAC_MD5.pm in @INC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 08:14 UTC by Julian Golderer
Modified: 2008-08-28 21:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Golderer 2008-06-06 08:14:33 UTC
imapsync can't be installed because dev-perl/Digest-HMAC is missing as dependency.

Reproducible: Always

Actual Results:  
>>> Install imapsync-1.217 into /var/tmp/portage/net-mail/imapsync-1.217/image/ category net-mail
perl -c imapsync
Can't locate Digest/HMAC_MD5.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 2521.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 2521.
Compilation failed in require at imapsync line 384.
BEGIN failed--compilation aborted at imapsync line 384.
make: *** [testp] Fehler 2
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2008-06-09 10:38:11 UTC
Fixed in imapsync-1.217. Thanks.
Comment 2 Dieter P 2008-08-28 21:45:51 UTC
This still gives problems (although it's at runtime, not during installation)

dieter@server ~ $ imapsync --ssl1 --dry --host1 XXX --user1 dieter --passfile1 XXX --host2 XXXX --user2 dieter --passfile2 XXX
$RCSfile: imapsync,v $ $Revision: 1.182 $ $Date: 2006/08/01 23:07:42 $ 
Mail::IMAPClient version used here is 2.2.9
will try to use CRAM-MD5 authentication on host1
will try to use CRAM-MD5 authentication on host2
From imap server [xxx] port [993] user [dieter]
To   imap server [xxx] port [143] user [dieter]
Banner : No banner
xxx: no support for AUTHENTICATE CRAM-MD5, using LOGIN
Banner : * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
Internal CRAM-MD5 implementation not available: Can't locate Digest/HMAC_MD5.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 124.
 at /usr/bin/imapsync line 628
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 3490.
Undefined subroutine &main:: called at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 3490.

server ~ # equery list imapsync
[ Searching for package 'imapsync' in all categories among: ]
 * installed packages
[I--] [  ] net-mail/imapsync-1.182 (0)

I even emerged perl-digest-base and perl-Digest-MD5, to no avail.
A locate HMAC_MD5.pm on my system yielded no result at all.

Probably not the most Gentoo-ish way, but this solved it for me:

perl -MCPAN -e shell;
install Digest::MD5
install Digest::HMAC_MD5
exit


My use flags:
USE="aac -gnome -gtk -gtk2 -kde -qt -qt3 -qt4 -alsa apache2 apm -arts avi -cups -eds -emboss -encode -esd -foomaticdb \
ffmpeg gdbm -gif -gpm -gstreamer -imlib jpeg libg++ libwww -mad -mikmod -motif mp3 mpeg nptl nptlonly ogg -opengl \
-oss -pdflib php -png -quicktime -sdl -spell theora -truetype threads udev vorbis vhost win32codecs xvid -X xml -xmms -xv"