Skip Menu |

This queue is for tickets about the Parse-RecDescent CPAN distribution.

Report information
The Basics
Id: 75480
Status: resolved
Priority: 0/
Queue: Parse-RecDescent

People
Owner: Nobody in particular
Requestors: sethnobaka [...] gmail.com
Cc:
AdminCc:

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



Subject: Can't call method "at" on unblessed reference
Date: Fri, 2 Mar 2012 11:10:28 -0500
To: bug-Parse-RecDescent [...] rt.cpan.org
From: Seth Baka <sethnobaka [...] gmail.com>
I was attempting to install PLOBBES/Mail-IMAPClient-3.30.tar.gz, but it failed with the unblessed reference message. A google search reveals another package<http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg994323.html>with a similar problem, which might indicate that this is actually a Parse::RecDescent failure. cpan[40]> install PLOBBES/Mail-IMAPClient-3.30.tar.gz Running make for P/PL/PLOBBES/Mail-IMAPClient-3.30.tar.gz Has already been unwrapped into directory /home/seth/.cpan/build/Mail-IMAPClient-3.30-jyhy_Y Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl5.12.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic.t .......... skipped: test parameters not provided in test.txt t/body_string.t .... ok t/bodystructure.t .. 1/41 Can't call method "at" on unblessed reference at /usr/lib64/perl5/site_perl/5.12.4/Parse/RecDescent.pm line 3109. # Looks like you planned 41 tests but ran 1. # Looks like your test exited with 255 just after 1. t/bodystructure.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 40/41 subtests t/fetch_hash.t ..... ok t/messageset.t ..... ok t/pod.t ............ ok t/simple.t ......... ok t/thread.t ......... 1/7 Can't call method "at" on unblessed reference at /usr/lib64/perl5/site_perl/5.12.4/Parse/RecDescent.pm line 3109. # 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 I have noticed a seeming inconsistency on CPAN's version numbers. On the CPAN page<http://search.cpan.org/%7Ejtbraun/Parse-RecDescent/lib/Parse/RecDescent.pm>it says the "Latest Release" is "Parse-RecDescent-1.967_007" while the Download link reports "Parse-RecDescent-1.967006.tar.gz". Likewise the cpan program on my system reports, after a reload, that 1.967006 is the latest.
This is a duplicate of 74593. The root problem for Mail-IMAPClient (and other modules like it) is that they distribute a pre-compiled parser. This parser depends on the exact version of Parse::RecDescent that the parser was compiled against. I've made fixes for other bugs, and in the process changed the interface(s) that these precompiled parsers rely on. I continue to try to figure out exactly which set of change(s) broke precompiled parsers. In the interim, I've made some changes to allow module authors to no longer depend on Parse::RecDescent after compilation. While this doesn't fix your immediate problem, there is a workaround: install an earlier version of P::RD (before 1.966_002, I believe). Regarding the "latest release" issue: CPAN Releases with an underscore in their $VERSION number are considered "developer" releases, and do not become the default CPAN version. Once I address this issue I'll be releasing a new non-development release.
CC: bug-Parse-RecDescent [...] rt.cpan.org
Subject: Re: [rt.cpan.org #75480] Can't call method "at" on unblessed reference
Date: Tue, 13 Mar 2012 22:51:00 -0700
To: sethnobaka [...] gmail.com
From: jtbraun [...] CPAN.org
1.967_008 of Parse::RecDescent allows Mail::IMAPClient to "make test" cleanly. Please try it at your earliest opportunity. I will make an "official" release (presumably 1.968000) once this passes through CPAN Testers (and I hear back from users that it addresses their problems). Thank you for the heads-up! Jeremy On 03/02/2012 08:10 AM, Seth Baka via RT wrote: Show quoted text
> Fri Mar 02 11:10:38 2012: Request 75480 was acted upon. > Transaction: Ticket created by sethnobaka@gmail.com > Queue: Parse-RecDescent > Subject: Can't call method "at" on unblessed reference > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: sethnobaka@gmail.com > Status: new > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=75480> > > > I was attempting to install PLOBBES/Mail-IMAPClient-3.30.tar.gz, but it > failed with the unblessed reference message. A google search reveals another > package<http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg994323.html>with > a similar problem, which might indicate that this is actually a > Parse::RecDescent failure. > > cpan[40]> install PLOBBES/Mail-IMAPClient-3.30.tar.gz > Running make for P/PL/PLOBBES/Mail-IMAPClient-3.30.tar.gz > Has already been unwrapped into directory > /home/seth/.cpan/build/Mail-IMAPClient-3.30-jyhy_Y > Has already been made > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl5.12.4 "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/basic.t .......... skipped: test parameters not provided in test.txt > t/body_string.t .... ok > t/bodystructure.t .. 1/41 Can't call method "at" on unblessed reference at > /usr/lib64/perl5/site_perl/5.12.4/Parse/RecDescent.pm line 3109. > # Looks like you planned 41 tests but ran 1. > # Looks like your test exited with 255 just after 1. > t/bodystructure.t .. Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 40/41 subtests > t/fetch_hash.t ..... ok > t/messageset.t ..... ok > t/pod.t ............ ok > t/simple.t ......... ok > t/thread.t ......... 1/7 Can't call method "at" on unblessed reference at > /usr/lib64/perl5/site_perl/5.12.4/Parse/RecDescent.pm line 3109. > # 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 > > I have noticed a seeming inconsistency on CPAN's version numbers. On the CPAN > page<http://search.cpan.org/%7Ejtbraun/Parse-RecDescent/lib/Parse/RecDescent.pm>it > says the "Latest Release" is "Parse-RecDescent-1.967_007" while the > Download link reports "Parse-RecDescent-1.967006.tar.gz". Likewise the > cpan program on my system reports, after a reload, that 1.967006 is the > latest. >
I just pushed v1.967009 to CPAN which should address this.