Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301836 - Please stabilize net-mail/imapsync-1.303 and dev-perl/Mail-IMAPClient-3.23
Summary: Please stabilize net-mail/imapsync-1.303 and dev-perl/Mail-IMAPClient-3.23
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 302022
Blocks:
  Show dependency tree
 
Reported: 2010-01-22 13:15 UTC by kfm
Modified: 2010-06-26 17:08 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 kfm 2010-01-22 13:15:40 UTC
The current 'stable' version in portage is anything but. In one of my projects, it dies upon login():

my $authmech = "LOGIN";

if ($imap->has_capability("AUTH=$authmech")) {
    print "Switching to $authmech authentication\n";
    $imap->Authmechanism($authmech);
} else {
    die "Server lacks $authmech capability";
}

$imap->login or die "Could not login: $@\n";

This results in:

Switching to LOGIN authentication
Undefined subroutine &main:: called at /usr/lib64/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 3490.

Upgrading to 3.21 resolved the issue. In fact, I would prefer for 3.22 to be added as that fixes a few bugs also:

version 3.22: Thu Jan 21 15:25:54 EST 2010
	- rt.cpan.org#52313: Getting read errors if Fast_io is set to 1
	  [Jukka Huhta]
	- updated Maxttemperrors docs related to EAGAIN handling
	- new starttls() method and Starttls attribute to support STARTTLS
	- update parse_headers to try harder to find UID in fetch response
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-01-22 13:37:25 UTC
Bug 232277 is the reason why I never tried to stabilize a newer version.

It looks like a newer (not in the tree) version imapsync works with Mail-IMAPClient-3*.
Comment 2 kfm 2010-01-22 14:03:39 UTC
Thanks Torsten, I'll investigate. I do use imapsync from time to time.
Comment 3 kfm 2010-01-24 09:27:01 UTC
I've asked net-mail to update imapsync (which will continue to work with Mail-IMAPClient-2.2.9) so we'll see what happens.

I see you've added 3.22 - thanks - but I think there may be an issue with the ebuild. The META.yml file in the upstream module states that IO::Socket::INET v1.26 is a minimum requirement.

Well, perl-5.10.1 gives us 1.31 out of the box. However, in the event that we're not using the newer version of perl, and unless I'm very much mistaken, we would need to depend on virtual/perl-IO-1.26 which does not yet exist. More to the point, the dependency is missing in the ebuild.

http://cpansearch.perl.org/src/PLOBBES/Mail-IMAPClient-3.22/META.yml

Also, why does it depend on virtual/libnet? It seems that Mail::IMAPClient does not use any modules under the "Net" namespace:

$ ack -o '^use [^\s]+' IMAPClient.pm | sort -u
use Carp
use Errno
use Fcntl
use File::Spec
use IO::File
use IO::Select
use IO::Socket
use List::Util
use MIME::Base64
use Mail::IMAPClient::MessageSet;
use constant
use strict;
use warnings;

The above is from 3.21.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-01-24 11:37:46 UTC
(In reply to comment #3)
> I see you've added 3.22 - thanks - but I think there may be an issue with the
> ebuild. The META.yml file in the upstream module states that IO::Socket::INET
> v1.26 is a minimum requirement.

$ corelist -v 5.008008 IO::Socket::INET
IO::Socket::INET 1.29

Version 1.29 is in perl-5.8.8. IO is a dist where the modules' versions don't match the dist's version.

> Also, why does it depend on virtual/libnet? It seems that Mail::IMAPClient does
> not use any modules under the "Net" namespace:

Mistake, I guess. I'll remove it from the latest version.
Comment 5 kfm 2010-01-24 12:00:34 UTC
Thanks for the explanation.
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2010-04-23 08:33:49 UTC
Please stabilize

@amd64,ppc,x86:
=net-mail/imapsync-1.303
@all:
=dev-perl/Mail-IMAPClient-3.23
Comment 7 Christoph Mende (RETIRED) gentoo-dev 2010-06-07 09:09:03 UTC
amd64 stable
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2010-06-20 17:41:41 UTC
alpha/arm/ia64/s390/sh/sparc/x86 stable
Comment 9 nixnut (RETIRED) gentoo-dev 2010-06-26 17:08:11 UTC
ppc stable