-=| gregor herrmann, 29.11.2013 14:54:09 +0100 |=- > On Thu, 28 Nov 2013 18:26:42 -0500, The Wanderer wrote: > > > Package: dizzy > > Version: 0.3-1 > > Severity: grave > > Justification: renders package unusable > > > > When I launch dizzy, it briefly displays a black window, then > > exits. The following is printed to the console: > > > > ======== > > Smartmatch is experimental at /usr/share/perl5/Dizzy/Perl2GLSL.pm line 17. > > Smartmatch is experimental at /usr/share/perl5/Dizzy/Perl2GLSL.pm > > line 183. > > GPU features: [x] GLSL [x] FBOs > > Can't use string ("# op description list of private"...) as an ARRAY > > ref while "strict refs" in use at > > /usr/share/perl5/Dizzy/Perl2GLSL.pm line 160. > > ======== > > Thanks, I can confirm this bug, and I've forwarded your report to the > upstream author.
I seem to have a patch that fixes this. It seems a bit intrusive to me, ignoring all seemingly unknown OPs, not just 'pushmark' and 'null'. However, it seems to make dizzy run. I haven't seen dizzy before, so I cannot tell if something went wrong. Perhaps the author (in Cc) can comment? I am eager to upload the package with this patch if there is no major breakage on the grounds that a slightly broken package is better than completely unusable one. Cheers, dam
Description: fix "Can't use string..." as an ARRAY ref at line 160 Not sure what other problems this creates, but it seems to fix the problem at hand, which was making dizzy completely unusable. Author: Damyan Ivanov <d...@debian.org> Bug-Debian: https://bugs.debian.org/730737 Forwarded: yes --- a/lib/Dizzy/Perl2GLSL.pm +++ b/lib/Dizzy/Perl2GLSL.pm @@ -50,10 +50,8 @@ sub walk_optree { } elsif ($optype eq "OP") { if ($op->name eq "padsv") { return "var" . $op->targ; - } elsif ($op->name eq "pushmark" or $op->name eq "null") { - return (); } else { - return "# op description " . $op->desc; + return (); } } elsif ($optype eq "COP") { return ();