On Tue, Mar 20, 2018 at 6:30 AM, Ole Troan <otr...@employees.org> wrote:

> > I debugged this a bit further and it seems that sometimes when hopping
> branches, the json files corresponding to APIs are not regenerated properly.
> > What happens in vpp-papi is that if it founds a duplicate, it checks
> whether it's the same message and if so, there is no exception raised.
> > But I saw that after Neale's recent update to vnet_combined_counter_t,
> in stats.api.json, the message was defined as before, while in
> interface.api.json, it was updated.
> > Doing a
> >
> > git clean -d -f -x .
> > and rebuilding everything fixes the issue
> >
> > Let me know if you see a different issue...
>

Ooo, I see...  So, yeah, I have to hop between a local branch and the
upstream master,
so I may be being victimized by this problem.  I've been doing a "make
wipe" or "wipe-release"
and forgot about the industrial  'git clean'.  Drat.  I'll give that a
run...

Ah right. So I guess this is caused by the lack of dependency tracking from
> the vppapigen compiler, that is for included files in .apis.
> I can modify vppapigen to add a new -M to output dependencies like what a
> C compiler does.
> Anyone has good ideas for how to add this into the GNU autotools stuff?
>

I can't believe I've read a sentence with the words "good ideas" and "GNU
autotools" in it. :-)


> Cheers,
> Ole


Cheers,
jdl

Reply via email to