Re: [gentoo-dev] "Not a git repository" error on ebuild

2017-11-07 Thread Damo Brisbane
Thanks all, commenting out below line in source Makefile eems to have
removed error

GO = GOGC=off go
#GOFLAGS = -ldflags "-X main.version=$(shell git describe --tags)"
GOVENDOR = $(shell which govendor)


On Wed, Nov 8, 2017 at 7:45 AM, Damo Brisbane  wrote:

> We have this in the project makefile..
>
> GOFLAGS = -ldflags "-X main.version=$(shell git describe --tags)"
>
> ..
>
> On Wed, Nov 8, 2017 at 7:44 AM, Damo Brisbane 
> wrote:
>
>> attached, ok?
>>
>> On Wed, Nov 8, 2017 at 5:33 AM, Alan McKinnon 
>> wrote:
>>
>>> On 07/11/2017 21:10, Damo Brisbane wrote:
>>> > Hi,
>>> >
>>> > I am getting an error on custom fabio-1.5.2.ebuild
>>> > >> t-proxy/fabio/fabio-1.5.2.ebuild> -
>>> > "Not a git repository (or any of the parent directories)..." I've been
>>> > looking on web, trying some things, but still message is coming up,
>>> > appreciate suggestions. Note package is installing fine, just not sure
>>> > how to clean up this message.
>>> >
>>> >  Thanks in advance:
>>>
>>>
>>>
>>>
>>> Please post the ebuild. That's a git error (not a portage error) and it
>>> means you are trying to run "git " without running "git
>>> init" first
>>>
>>>
>>> >
>>> >
>>> >
>>>  Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay
>>> >  * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
>>>
>>> >  [ ok ]
>>> >  * Adding group 'fabio' to your system ...
>>> >  *  - Groupid: next available
>>> >  * Adding user 'fabio' to your system ...
>>> >  *  - Userid: 116
>>> >  *  - Shell: /sbin/nologin
>>> >  *  - Home: /var/lib/fabio
>>> >  *  - Groups: fabio
>>> >  *  - GECOS: added by portage for fabio
>>> >  *  - Creating /var/lib/fabio in /
>>>  Unpacking source...
>>>  Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work
>>>  Preparing source in
>>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>>>  Source prepared.
>>>  Configuring source in
>>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>>>  Source configured.
>>>  Compiling source in
>>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>>> > make -j5 -C
>>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/gith
>>> ub.com/fabiolb/fabio
>>> >  install
>>> > make: Entering directory
>>> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
>>> hub.com/fabiolb/fabio
>>> > '
>>> > *fatal: Not a git repository (or any of the parent directories): .git*
>>> > GOGC=off go install -ldflags "-X main.version="
>>> > make: Leaving directory
>>> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
>>> hub.com/fabiolb/fabio
>>> > '
>>>  Source compiled.
>>> >
>>>
>>>
>>> --
>>> Alan McKinnon
>>> alan.mckin...@gmail.com
>>>
>>>
>>>
>>
>


Re: [gentoo-dev] "Not a git repository" error on ebuild

2017-11-07 Thread Damo Brisbane
We have this in the project makefile..

GOFLAGS = -ldflags "-X main.version=$(shell git describe --tags)"

..

On Wed, Nov 8, 2017 at 7:44 AM, Damo Brisbane  wrote:

> attached, ok?
>
> On Wed, Nov 8, 2017 at 5:33 AM, Alan McKinnon 
> wrote:
>
>> On 07/11/2017 21:10, Damo Brisbane wrote:
>> > Hi,
>> >
>> > I am getting an error on custom fabio-1.5.2.ebuild
>> > > net-proxy/fabio/fabio-1.5.2.ebuild> -
>> > "Not a git repository (or any of the parent directories)..." I've been
>> > looking on web, trying some things, but still message is coming up,
>> > appreciate suggestions. Note package is installing fine, just not sure
>> > how to clean up this message.
>> >
>> >  Thanks in advance:
>>
>>
>>
>>
>> Please post the ebuild. That's a git error (not a portage error) and it
>> means you are trying to run "git " without running "git
>> init" first
>>
>>
>> >
>> >
>> >
>>  Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay
>> >  * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
>> >  [ ok ]
>> >  * Adding group 'fabio' to your system ...
>> >  *  - Groupid: next available
>> >  * Adding user 'fabio' to your system ...
>> >  *  - Userid: 116
>> >  *  - Shell: /sbin/nologin
>> >  *  - Home: /var/lib/fabio
>> >  *  - Groups: fabio
>> >  *  - GECOS: added by portage for fabio
>> >  *  - Creating /var/lib/fabio in /
>>  Unpacking source...
>>  Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work
>>  Preparing source in
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>>  Source prepared.
>>  Configuring source in
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>>  Source configured.
>>  Compiling source in
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>> > make -j5 -C
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/gith
>> ub.com/fabiolb/fabio
>> >  install
>> > make: Entering directory
>> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
>> hub.com/fabiolb/fabio
>> > '
>> > *fatal: Not a git repository (or any of the parent directories): .git*
>> > GOGC=off go install -ldflags "-X main.version="
>> > make: Leaving directory
>> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
>> hub.com/fabiolb/fabio
>> > '
>>  Source compiled.
>> >
>>
>>
>> --
>> Alan McKinnon
>> alan.mckin...@gmail.com
>>
>>
>>
>


Re: [gentoo-dev] "Not a git repository" error on ebuild

2017-11-07 Thread Damo Brisbane
attached, ok?

On Wed, Nov 8, 2017 at 5:33 AM, Alan McKinnon 
wrote:

> On 07/11/2017 21:10, Damo Brisbane wrote:
> > Hi,
> >
> > I am getting an error on custom fabio-1.5.2.ebuild
> >  blob/master/net-proxy/fabio/fabio-1.5.2.ebuild> -
> > "Not a git repository (or any of the parent directories)..." I've been
> > looking on web, trying some things, but still message is coming up,
> > appreciate suggestions. Note package is installing fine, just not sure
> > how to clean up this message.
> >
> >  Thanks in advance:
>
>
>
>
> Please post the ebuild. That's a git error (not a portage error) and it
> means you are trying to run "git " without running "git
> init" first
>
>
> >
> >
> >
>  Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay
> >  * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
> >  [ ok ]
> >  * Adding group 'fabio' to your system ...
> >  *  - Groupid: next available
> >  * Adding user 'fabio' to your system ...
> >  *  - Userid: 116
> >  *  - Shell: /sbin/nologin
> >  *  - Home: /var/lib/fabio
> >  *  - Groups: fabio
> >  *  - GECOS: added by portage for fabio
> >  *  - Creating /var/lib/fabio in /
>  Unpacking source...
>  Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work
>  Preparing source in
> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>  Source prepared.
>  Configuring source in
> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>  Source configured.
>  Compiling source in
> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
> > make -j5 -C
> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
> hub.com/fabiolb/fabio
> >  install
> > make: Entering directory
> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
> hub.com/fabiolb/fabio
> > '
> > *fatal: Not a git repository (or any of the parent directories): .git*
> > GOGC=off go install -ldflags "-X main.version="
> > make: Leaving directory
> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git
> hub.com/fabiolb/fabio
> > '
>  Source compiled.
> >
>
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>
>


fabio-1.5.2.ebuild
Description: Binary data


Re: [gentoo-dev] "Not a git repository" error on ebuild

2017-11-07 Thread Fabian Groffen
On 07-11-2017 21:33:41 +0200, Alan McKinnon wrote:
> On 07/11/2017 21:10, Damo Brisbane wrote:
> > Hi,
> > 
> > I am getting an error on custom fabio-1.5.2.ebuild
> > 
> >  -
> > "Not a git repository (or any of the parent directories)..." I've been
> > looking on web, trying some things, but still message is coming up,
> > appreciate suggestions. Note package is installing fine, just not sure
> > how to clean up this message.
> > 
> >  Thanks in advance:
> 
> 
> 
> 
> Please post the ebuild. That's a git error (not a portage error) and it
> means you are trying to run "git " without running "git
> init" first

Chances are git is called from the Makefile.

Thanks,
Fabian

-- 
Fabian Groffen
Gentoo on a different level


signature.asc
Description: Digital signature


Re: [gentoo-dev] "Not a git repository" error on ebuild

2017-11-07 Thread Alan McKinnon
On 07/11/2017 21:10, Damo Brisbane wrote:
> Hi,
> 
> I am getting an error on custom fabio-1.5.2.ebuild
> 
>  -
> "Not a git repository (or any of the parent directories)..." I've been
> looking on web, trying some things, but still message is coming up,
> appreciate suggestions. Note package is installing fine, just not sure
> how to clean up this message.
> 
>  Thanks in advance:




Please post the ebuild. That's a git error (not a portage error) and it
means you are trying to run "git " without running "git
init" first


> 
> 
> 
 Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay
>  * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...              
>                                              [ ok ]
>  * Adding group 'fabio' to your system ...
>  *  - Groupid: next available
>  * Adding user 'fabio' to your system ...
>  *  - Userid: 116
>  *  - Shell: /sbin/nologin
>  *  - Home: /var/lib/fabio
>  *  - Groups: fabio
>  *  - GECOS: added by portage for fabio
>  *  - Creating /var/lib/fabio in /
 Unpacking source...
 Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work
 Preparing source in
> /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
 Source prepared.
 Configuring source in
> /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
 Source configured.
 Compiling source in
> /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
> make -j5 -C
> /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/github.com/fabiolb/fabio
>  install 
> make: Entering directory
> '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/github.com/fabiolb/fabio
> '
> *fatal: Not a git repository (or any of the parent directories): .git*
> GOGC=off go install -ldflags "-X main.version="
> make: Leaving directory
> '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/github.com/fabiolb/fabio
> '
 Source compiled.
> 


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-dev] "Not a git repository" error on ebuild

2017-11-07 Thread Damo Brisbane
Hi,

I am getting an error on custom fabio-1.5.2.ebuild

 - "Not a git repository (or any of the parent directories)..." I've been
looking on web, trying some things, but still message is coming up,
appreciate suggestions. Note package is installing fine, just not sure how
to clean up this message.

 Thanks in advance:



>>> Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay
 * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
   [ ok ]
 * Adding group 'fabio' to your system ...
 *  - Groupid: next available
 * Adding user 'fabio' to your system ...
 *  - Userid: 116
 *  - Shell: /sbin/nologin
 *  - Home: /var/lib/fabio
 *  - Groups: fabio
 *  - GECOS: added by portage for fabio
 *  - Creating /var/lib/fabio in /
>>> Unpacking source...
>>> Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work
>>> Preparing source in /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2
...
>>> Source prepared.
>>> Configuring source in
/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
>>> Source configured.
>>> Compiling source in /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2
...
make -j5 -C /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/
github.com/fabiolb/fabio install
make: Entering directory
'/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/
github.com/fabiolb/fabio'
*fatal: Not a git repository (or any of the parent directories): .git*
GOGC=off go install -ldflags "-X main.version="
make: Leaving directory
'/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/
github.com/fabiolb/fabio'
>>> Source compiled.