Skip Menu |

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

Report information
The Basics
Id: 74733
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: PLOBBES [...] cpan.org
Requestors: ANDK [...] cpan.org
nine [...] detonation.org
Cc: NBEBOUT [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 3.32



Subject: Fails with Parse::RecDescent >= 1.966_002
In case anyone else runs into this before it's fixed: Downgrading Parse::RecDescent should allow the current version of Mail::IMAPClient to install cleanly, obviously before running this it'd be worth checking whether any other installed modules are dependent on the changes in Parse::RecDescent. cpan D/DC/DCONWAY/Parse-RecDescent-1.965001.tar.gz Tom
This turned out to be an (unintended) bug with Parse::RecDescent causing backwards compatibility issues. Version 1.967009 of Parse::RecDescent should fix this. Reference: - #74593: Recent changes break Module::ExtractUse and its dependents https://rt.cpan.org/Ticket/Display.html?id=74593
Subject: Tests fail with outdated Parse::Recdescent
Can't call method "at" on unblessed reference at /usr/lib/perl5/vendor_perl/5.12.3/Parse/RecDescent.pm line 3110. # Looks like you planned 7 tests but ran 3. # Looks like your test exited with 255 just after 3. t/thread.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/7 subtests Installing current Parse::Recdescent fixed it for me so Mail::IMAPClient's dependencies should be updated.
This (dup of #74733) is the result of an (unintended) bug 74593 with Parse::RecDescent causing backwards compatibility issues. Version 1.967009 of Parse::RecDescent should fix this to be compatible. Closing as invalid as Mail::IMAPClient does not require a newer version of Parse::RecDescent, it just requires a non-broken version (older or newer). The tests rightfully fail due to the problems with that module.
On 2012-03-28 13:56:04, PLOBBES wrote: Show quoted text
> This (dup of #74733) is the result of an (unintended) bug 74593 with > Parse::RecDescent causing backwards compatibility issues. > > Version 1.967009 of Parse::RecDescent should fix this to be compatible. > > Closing as invalid as Mail::IMAPClient does not require a newer
version of Show quoted text
> Parse::RecDescent, it just requires a non-broken version (older or
newer). Show quoted text
> The tests rightfully fail due to the problems with that module.
The Makefile.PL could try to be smart and set a minimum Parse::RecDescent version only if it detects a broken version, e.g. by doing something like $min_parse_recdescent_version = undef; if (eval { require Parse::RecDescent; $Parse::RecDescent::VERSION is broken }) { $min_parse_recdescent_version = non broken version; } ... PREREQ_PM => { ... Parse::RecDescent => $min_parse_recdescent_version, ... } (Just stumbled over the issue today) Regards, Slaven
I have patched the source with fix/workaround for this bug. This will be included in the next version release (v3.32). You are welcome to pull the latest code from git if you're interested in seeing what I have checked in and want to test: http://sourceforge.net/p/mail-imapclient/git/ Otherwise, I will try to get a full release out soon-ish. Thank you for taking the time to report this issue!