[nama] Re: Development update

  • From: Joel Roth <joelz@xxxxxxxxx>
  • To: nama@xxxxxxxxxxxxx
  • Date: Fri, 9 Mar 2012 09:17:59 -1000

On Fri, Mar 09, 2012 at 01:45:39PM -0500, S. Massy wrote:
> Okay, now I get this:
>               Warning: Undefined (sub)rule "unset" used in a production.
> 
>               Warning: Undefined (sub)rule "idents" used in a
> production.

These have been there for a while, will clean up soon.
 
>                 ERROR: Internal error in generated parser code!
>                 (Hint: Set $::RD_HINT (or -RD_HINT if you're using "perl
> -s")
>                for hints on fixing these problems.)
> Bad grammar!

This shouldn't happen... here, at least, the grammar is
okay.

>  at /usr/local/bin/nama line 3
> Compilation failed in require at /usr/local/bin/nama line 3, <DATA> line
> 9528.
> BEGIN failed--compilation aborted at /usr/local/bin/nama line 3, <DATA>
> line 952
> 8.
> Config AUTOLOAD: call is DESTROY
> Use of uninitialized value $var in eval "string" at
> /usr/local/share/perl/5.10.1
> /Audio/Nama.pm line 317, <DATA> line 9528 during global destruction.
> 
> [...]
> > > Also, when building, the script complains it can't find Git::Repository,
> > > even though I installed it from cpan.
> > 
> > Is it something during the build, or is it Nama itself?
> The build, here is the warning:
> Warning: prerequisite Git::Respository 0 not found.

A typo, now fixed.
 
> > 
> > Does this succeed?
> > 
> > perl -MGit::Repository -e 1
> Yes.
> 
> > 
> > You should be able to track the problem down by
> > checking the result of "locate Git/Repository.pm"
> > against the contents of @INC, which a dying perl
> > should print out for you.
> It is where it should be. Maybe it's just a spurious warning.
> 
> BTW, I've no idea why my git won't track the remote branch
> automatically: I have to fetch and merge from origin by hand.

I think this might work:

    git -b checkout bypass2 # -b in case branch doesn't exist
    git pull

Thanks for testing this.
 
> Cheers,
> S.M.
> 

-- 
Joel Roth

Other related posts: