[Swan] compile on debian; git is a requirement?

Computerisms Corporation bob at computerisms.ca
Tue Mar 6 03:10:58 UTC 2018


Hi Guys,

Sorry for not responding sooner.  Confirmed that setting BRANCH=Master 
in the docker-targets.mk file worked, as did the commit pushed out.

Thank you so much for the response, truly appreciated...

On 2018-02-27 06:33 AM, Andrew Cagney wrote:
> It's a bug.  I suspect it is coming from this line:
> 
> mk/docker-targets.mk:BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
> 
> so try forcing that to something on the make line.
> 
> Andrew
> 
> 
> On 26 February 2018 at 22:04, Computerisms Corporation
> <bob at computerisms.ca> wrote:
>> Hello Gurus,
>>
>> Today I tried to compile libreswan-3.23 on debian testing (buster).  At the
>> end of the compile I got this:
>>
>> make[2]: Leaving directory '/usr/src/libreswan-3.23/testing/enumcheck'
>> make[2]: Nothing to be done for 'local-all'.
>> make[1]: Leaving directory '/usr/src/libreswan-3.23/testing'
>> /bin/bash: git: command not found
>> make[1]: Nothing to be done for 'local-all'.
>>
>> Seems strange, but I installed git and now I get:
>>
>> make[1]: Leaving directory '/usr/src/libreswan-3.23/testing'
>> fatal: Not a git repository (or any of the parent directories): .git
>> make[1]: Nothing to be done for 'local-all'.
>>
>> I am not really sure if it actually compiled or not?
>>
>> I compiled 3.23 on a debian Jessie box the other day and everything went
>> smoothly and didn't have any kind of git requirement.  Clearly something is
>> different here, but apart from the obvious reference to git I am not really
>> clear from the messages what it might be, wondering if anyone can point me
>> at a clue?
>>
>> --
>> Bob Miller
>> Cell: 867-334-7117
>> Office: 867-633-3760
>> www.computerisms.ca
>> _______________________________________________
>> Swan mailing list
>> Swan at lists.libreswan.org
>> https://lists.libreswan.org/mailman/listinfo/swan


More information about the Swan mailing list