On Mon, Mar 05, 2012 at 01:09:29PM +0100, Gilles LAMIRAL wrote: > >>> t/bodystructure.t .. 1/41 Can't call method "at" on unblessed reference > >>> at /usr/share/perl5/Parse/RecDescent.pm line 3109. > > > > More likely Parse::RecDescent changes. > > https://rt.cpan.org/Public/Bug/Display.html?id=74733 > > We have to discover what change in Parse::RecDescent breaks the > Mail-IMAPClient code.
Just recompiling the grammars seems to fix this. perl -MParse::RecDescent - lib/Mail/IMAPClient/Thread.grammar \ Mail::IMAPClient::Thread && \ mv Thread.pm lib/Mail/IMAPClient/ perl -MParse::RecDescent - lib/Mail/IMAPClient/BodyStructure/Parse.grammar \ Mail::IMAPClient::BodyStructure::Parse && \ mv Parse.pm lib/Mail/IMAPClient/BodyStructure/ It might be a good idea to either do this during the Debian build or use the -standalone parameter to PreCompile(), which embeds Parse::RecDescent into the compiled grammar .pm file. I think I prefer the first approach, as it makes sure regressions are found before users run into them (for example, when they want to modify the grammar for their own purposes and only then find out it can't be compiled with current versions of Parse::RecDescent.) -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org