Skip Menu |

This queue is for tickets about the Dancer-Template-Mason2 CPAN distribution.

Report information
The Basics
Id: 71175
Status: resolved
Priority: 0/
Queue: Dancer-Template-Mason2

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Mason 2.14 breaks Dancer-Template-Mason2-0.02
As per subject. I just had this encounter with D:T:M. I noticed that my smoker with perl 5.15.3 failed to test Dancer-Template-Mason2-0.02 with this message: syntax error at /home/sand/.cpan/build/Dancer-Template-Mason2-0.02-iZEQvf/t/data/obj//index.mc.mobj line 8, near ") {" syntax error at /Users/swartz/git/dancer-template-mason2.git/t/views/index.mc line 8, near "for " syntax error at /Users/swartz/git/dancer-template-mason2.git/t/views/index.mc line 16, near "}" # Looks like you planned 2 tests but ran 1. # Looks like your test exited with 255 just after 1. t/02-basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests I downgraded to Mason 2.13. Then I could install Dancer-Template-Mason2-0.02 just fine. After upgrading to Mason 2.14 I re-tested D:T:M 0.02 and it failed again. HTH && Regards,
I believe this is a failure to clear out the object files at the beginning of the test. Can you try installing latest Mason, then rm -fR home/sand/.cpan/build/Dancer-Template-Mason2-0.02-iZEQvf/t/data/obj and rerun the test? If this works (as it did on my system) then I just have to make sure the test deletes the object files, which can be incompatible between Mason versions. On Thu Sep 22 18:24:34 2011, ANDK wrote: Show quoted text
> As per subject. > > I just had this encounter with D:T:M. I noticed that my smoker with > perl > 5.15.3 failed to test Dancer-Template-Mason2-0.02 with this message: > > syntax error at > /home/sand/.cpan/build/Dancer-Template-Mason2-0.02- > iZEQvf/t/data/obj//index.mc.mobj > line 8, near ") {" > syntax error at > /Users/swartz/git/dancer-template-mason2.git/t/views/index.mc line 8, > near "for " > syntax error at > /Users/swartz/git/dancer-template-mason2.git/t/views/index.mc line 16, > near "}" > # Looks like you planned 2 tests but ran 1. > # Looks like your test exited with 255 just after 1. > t/02-basic.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/2 subtests > > > I downgraded to Mason 2.13. Then I could install > Dancer-Template-Mason2-0.02 just fine. After upgrading to Mason 2.14 I > re-tested D:T:M 0.02 and it failed again. > > HTH && Regards,
Even after rm -rf ~/.cpan/build/Dancer-Template-Mason2-0.02-* I can reproduce the fail. Running in a new cpan shell process. Error message contains syntax error at /home/sand/.cpan/build/Dancer-Template-Mason2-0.02-HqAJMj/t/data/obj//index.mc.mobj line 8, near ") {" And the line 8 contains: method _set_class_cmeta ($interp) { This was with 5.15.3 and Moose 2.0205. Retrying with 5.12.4 and Mason 2.13 all tests pass. Now rm-rf as above. Upgrading Mason. Testing D:T:M => syntax error. Moose is 2.0205 here too. Let me know if I can describe more of what's happening here.
Subject: Re: [rt.cpan.org #71175] Mason 2.14 breaks Dancer-Template-Mason2-0.02
Date: Fri, 23 Sep 2011 09:07:48 -0700
To: bug-Dancer-Template-Mason2 [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
I reproduced it. Silly me, the object files were actually in the Dancer-Template-Mason2-0.02 distribution too. I've released Dancer-Template-Mason2-0.03 without the object files. It should install without trouble - I'll try it after it makes it to CPAN. On Sep 22, 2011, at 9:20 PM, Andreas Koenig via RT wrote: Show quoted text
> Queue: Dancer-Template-Mason2 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71175 > > > Even after > > rm -rf ~/.cpan/build/Dancer-Template-Mason2-0.02-* > > I can reproduce the fail. Running in a new cpan shell process. Error > message contains > > syntax error at > /home/sand/.cpan/build/Dancer-Template-Mason2-0.02-HqAJMj/t/data/obj//index.mc.mobj > line 8, near ") {" > > And the line 8 contains: > > method _set_class_cmeta ($interp) { > > This was with 5.15.3 and Moose 2.0205. > > Retrying with 5.12.4 and Mason 2.13 all tests pass. Now rm-rf as above. > Upgrading Mason. Testing D:T:M => syntax error. Moose is 2.0205 here too. > > Let me know if I can describe more of what's happening here. > >
Subject: Re: [rt.cpan.org #71175] Mason 2.14 breaks Dancer-Template-Mason2-0.02
Date: Fri, 23 Sep 2011 11:16:25 -0700
To: bug-Dancer-Template-Mason2 [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
Yup, it seems to work now. Let me know if otherwise. On Sep 23, 2011, at 9:08 AM, Jonathan Swartz via RT wrote: Show quoted text
> Queue: Dancer-Template-Mason2 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71175 > > > I reproduced it. Silly me, the object files were actually in the Dancer-Template-Mason2-0.02 distribution too. > > I've released Dancer-Template-Mason2-0.03 without the object files. It should install without trouble - I'll try it after it makes it to CPAN. > > On Sep 22, 2011, at 9:20 PM, Andreas Koenig via RT wrote: >
>> Queue: Dancer-Template-Mason2 >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71175 > >> >> Even after >> >> rm -rf ~/.cpan/build/Dancer-Template-Mason2-0.02-* >> >> I can reproduce the fail. Running in a new cpan shell process. Error >> message contains >> >> syntax error at >> /home/sand/.cpan/build/Dancer-Template-Mason2-0.02-HqAJMj/t/data/obj//index.mc.mobj >> line 8, near ") {" >> >> And the line 8 contains: >> >> method _set_class_cmeta ($interp) { >> >> This was with 5.15.3 and Moose 2.0205. >> >> Retrying with 5.12.4 and Mason 2.13 all tests pass. Now rm-rf as above. >> Upgrading Mason. Testing D:T:M => syntax error. Moose is 2.0205 here too. >> >> Let me know if I can describe more of what's happening here. >> >>
> >
test issue - fixed in Dancer-Template-Mason2-0.03