Re: [vpp-dev] Build failures on master

2017-06-07 Thread Tomas Brännström
Yeah that works fine. Also just adding any old tag works too it seems. Thanks! /Tomas On 5 June 2017 at 23:59, Burt Silverman wrote: > Here is a quick and dirty temporary fix that can get you through "make > build-release" when tags are missing from your shallow repository. I added > the 2>/dev

Re: [vpp-dev] Build failures on master

2017-06-05 Thread Burt Silverman
Here is a quick and dirty temporary fix that can get you through "make build-release" when tags are missing from your shallow repository. I added the 2>/dev/null parts so you won't be alarmed by fatal error messages. --Burt diff --git a/src/scripts/version b/src/scripts/version index d8728a9..d317

Re: [vpp-dev] Build failures on master

2017-06-05 Thread Burt Silverman
The problem is with TOP/src/scripts/version. That script calls git describe. Git describe is looking for a tag. The very shallow clone likely will not have any tags -- this is the case in my trial run. So the version script is throwing its hands in the air, but the build did not stop, unfortunately

Re: [vpp-dev] Build failures on master

2017-06-05 Thread Tomas Brännström
OK, so when doing a shallow clone I guess it skips some needed files somehow? But when doing a complete fork, I should get the whole history.. Are there submodules or something similar that might not get downloaded correctly when doing this? /Tomas On 2 June 2017 at 20:23, Ed Kern (ejk) wrote:

Re: [vpp-dev] Build failures on master

2017-06-02 Thread Ed Kern (ejk)
Tomas, Just another data point for you/whomever its not specific to forking.. If you do a shallow clone —depth=1 you will get the same error on build… Ed On Jun 2, 2017, at 12:49 AM, Tomas Brännström mailto:tomas.a.brannst...@tieto.com>> wrote: No it's the same :-( One thing though: when

Re: [vpp-dev] Build failures on master

2017-06-01 Thread Tomas Brännström
No it's the same :-( One thing though: when I get these errors I clone from a fork of the vpp repo that we made. Is there some kind of git-hook that creates these version files/update the .deb files with a version when cloning from the main vpp gerrit repository, that might not fire when cloning f

Re: [vpp-dev] Build failures on master

2017-06-01 Thread Florin Coras
Hi Tomas, That sure is weird. (backup everything that’s not in git) git clean -fdx make bootstrap make build Do you still see the issue? HTH, Florin > On Jun 1, 2017, at 6:18 AM, Tomas Brännström > wrote: > > Hi > I'm getting build errors when trying to build a recent commit on the maste

[vpp-dev] Build failures on master

2017-06-01 Thread Tomas Brännström
Hi I'm getting build errors when trying to build a recent commit on the master branch: /home/ubuntu/git/vpp/build-data/../src/vnet/tcp/builtin_client.c:25:29: fatal error: vpp/app/version.h: No such file or directory #include ^ compilation terminated. I'm building u