Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 12472
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: gwolf [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.060
Fixed in: (no value)



Subject: On some installations some tests fail, test 43/01 gets stuck in loop
I am the maintainer for the Debian packages for your module. In my usual work enviroment, Mail::Box builds cleanly. However, I got this bug report filed against the package: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306002 The report can be reproduced using Debian's pbuilder - a tool that creates a minimal chroot with only the base packages installed (plus those specified in the package itself). The dependencies your Makefile.PL looks for are all present: -------------------------- Scalar::Util version 1.13 is ok (required is 1.13) File::Remove version 0.29 is ok (required is 0.2) IO::Scalar version 2.110 is ok (required is 0) Object::Realize::Later version 0.15 is ok (required is 0.14) File::Spec version 0.87 is ok (required is 0.7) Time::Zone version 2.22 is ok (required is 0) User::Identity version 0.90 is ok (required is 0.9) Digest::HMAC_MD5 version 1.01 is ok (required is 0) Mail::Address version 1.62 is ok (required is 0) Errno version 1.09 is ok (required is 0) Test::Harness version 2.40 is ok (required is 1.38) URI version 1.35 is ok (required is 1.23) MIME::Types version 1.15 is ok (required is 1.004) Date::Parse version 2.27 is ok (required is 0) Test::More version 0.47 is ok (required is 0.47) MIME::Base64 version 3.04 is ok (required is 0) Sys::Hostname version 1.11 is ok (required is 0) -------------------------- However, the tests fail to run. First, test 40/40 complains that: -------------------------- 40mbox/40append.....ERROR: Package Mail::Box::IMAP4 does not implement Mail::Box::foundIn. Please warn the author, this shouldn't happen. at ../lib/Mail/Reporter.pm line 196 Mail::Reporter::notImplemented('Mail::Box::IMAP4') called at ../lib/Mail/Box.pm line 155 Mail::Box::foundIn('Mail::Box::IMAP4', '=empty', 'create', 1, 'access', 'rw', 'folderdir', 'folders', 'extract', ...) called at ../lib/Mail/Box/Manager.pm line 208 Mail::Box::Manager::open('Mail::Box::Manager=HASH(0x814cd04)', 'folder', '=empty', 'folderdir', 'folders', 'lock_type', 'NONE', 'extract', 'LAZY', ...) called at 40mbox/40append.t line 107 # Looks like you planned 32 tests but only ran 13. # Looks like your test died just after 13. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 14-32 -------------------------- Shortly afterwards, in test 43/01, I get: -------------------------- 3pop3 -- 4 scripts; Mail::Box::POP3; pop3 folders 43pop3/01basic.........Use of uninitialized value in getprotobynumber at /usr/share/perl/5.8/IO/Socket/INET.pm line 133, <$server> line 1. Use of uninitialized value in hash element at /usr/share/perl/5.8/IO/Socket/INET.pm line 134, <$server> line 1. Use of uninitialized value in socket at /usr/lib/perl/5.8/IO/Socket.pm line 80, <$server> line 1. Use of uninitialized value in socket at /usr/lib/perl/5.8/IO/Socket.pm line 80, <$server> line 1. ERROR: Cannot connect to 127.0.0.1:33517 for POP3: Socket type not supported # Failed test (43pop3/01basic.t at line 42) # The object isn't defined Can't call method "socket" on an undefined value at 43pop3/01basic.t line 44, <$server> line 1. -------------------------- And the process just sits there, frozen - AFAICT, the server just waits for a client to talk to it.
From: judith [...] osdl.org
[guest - Fri Apr 29 21:27:16 2005]: Show quoted text
> I am the maintainer for the Debian packages for your module. > In my usual work enviroment, Mail::Box builds cleanly. However, I got > this bug report filed against the package: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306002 > The report can be reproduced using Debian's pbuilder - a tool that > creates a minimal chroot with only the base packages installed > (plus those specified in the package itself). The dependencies your > Makefile.PL looks for are all present: > -------------------------- > Scalar::Util version 1.13 is ok (required is 1.13) > File::Remove version 0.29 is ok (required is 0.2) > IO::Scalar version 2.110 is ok (required is 0) > Object::Realize::Later version 0.15 is ok (required is 0.14) > File::Spec version 0.87 is ok (required is 0.7) > Time::Zone version 2.22 is ok (required is 0) > User::Identity version 0.90 is ok (required is 0.9) > Digest::HMAC_MD5 version 1.01 is ok (required is 0) > Mail::Address version 1.62 is ok (required is 0) > Errno version 1.09 is ok (required is 0) > Test::Harness version 2.40 is ok (required is 1.38) > URI version 1.35 is ok (required is 1.23) > MIME::Types version 1.15 is ok (required is 1.004) > Date::Parse version 2.27 is ok (required is 0) > Test::More version 0.47 is ok (required is 0.47) > MIME::Base64 version 3.04 is ok (required is 0) > Sys::Hostname version 1.11 is ok (required is 0) > -------------------------- > However, the tests fail to run. First, test 40/40 complains that: > -------------------------- > 40mbox/40append.....ERROR: Package Mail::Box::IMAP4 does not implement > Mail::Box::foundIn. > Please warn the author, this shouldn't happen. at > ../lib/Mail/Reporter.pm line 196 > Mail::Reporter::notImplemented('Mail::Box::IMAP4') called at > ../lib/Mail/Box.pm line 155 > Mail::Box::foundIn('Mail::Box::IMAP4', '=empty', 'create', 1, > 'access', 'rw', 'folderdir', 'folders', 'extract', ...) called at > ../lib/Mail/Box/Manager.pm line 208 > Mail::Box::Manager::open('Mail::Box::Manager=HASH(0x814cd04)', > 'folder', '=empty', 'folderdir', 'folders', 'lock_type', 'NONE', > 'extract', 'LAZY', ...) called at 40mbox/40append.t line 107 > # Looks like you planned 32 tests but only ran 13. > # Looks like your test died just after 13. > dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 14-32
I got the same error as above, but once I installed Mail-IMAPClient-2.2.9 it went away. This was even though I had answered the question about the IMAP Client negatively in the configuration stage and it was therefore not supposed to be a requirement. Judith
RT-Send-CC: judith [...] osdl.org
Show quoted text
> I got the same error as above, but once I installed > Mail-IMAPClient-2.2.9 it went away. This was even though I had answered > the question about the IMAP Client negatively in the configuration stage > and it was therefore not supposed to be a requirement.
There are two errors reported. Which of both got away? Problems may get resolved by any randomly installed module, because they often have dependencies which overlap with the needs of MailBox. It's hard to figure-out what the simpelest solution is, the upgrade which really made it work.