Gentoo Archives: gentoo-dev

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] "Not a git repository" error on ebuild
Date: Tue, 07 Nov 2017 19:39:07
Message-Id: d6578b44-f472-9bc5-fde9-dbe5374a1bd4@gmail.com
In Reply to: [gentoo-dev] "Not a git repository" error on ebuild by Damo Brisbane
1 On 07/11/2017 21:10, Damo Brisbane wrote:
2 > Hi,
3 >
4 > I am getting an error on custom fabio-1.5.2.ebuild
5 > <https://github.com/damobrisbane/damo-overlay/blob/master/net-proxy/fabio/fabio-1.5.2.ebuild> -
6 > "Not a git repository (or any of the parent directories)..." I've been
7 > looking on web, trying some things, but still message is coming up,
8 > appreciate suggestions. Note package is installing fine, just not sure
9 > how to clean up this message.
10 >
11 >  Thanks in advance:
12
13
14
15
16 Please post the ebuild. That's a git error (not a portage error) and it
17 means you are trying to run "git <some_function>" without running "git
18 init" first
19
20
21 >
22 >
23 >
24 >>>> Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay
25 >  * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...              
26 >                                              [ ok ]
27 >  * Adding group 'fabio' to your system ...
28 >  *  - Groupid: next available
29 >  * Adding user 'fabio' to your system ...
30 >  *  - Userid: 116
31 >  *  - Shell: /sbin/nologin
32 >  *  - Home: /var/lib/fabio
33 >  *  - Groups: fabio
34 >  *  - GECOS: added by portage for fabio
35 >  *  - Creating /var/lib/fabio in /
36 >>>> Unpacking source...
37 >>>> Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work
38 >>>> Preparing source in
39 > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
40 >>>> Source prepared.
41 >>>> Configuring source in
42 > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
43 >>>> Source configured.
44 >>>> Compiling source in
45 > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ...
46 > make -j5 -C
47 > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/github.com/fabiolb/fabio
48 > <http://github.com/fabiolb/fabio> install 
49 > make: Entering directory
50 > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/github.com/fabiolb/fabio
51 > <http://github.com/fabiolb/fabio>'
52 > *fatal: Not a git repository (or any of the parent directories): .git*
53 > GOGC=off go install -ldflags "-X main.version="
54 > make: Leaving directory
55 > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/github.com/fabiolb/fabio
56 > <http://github.com/fabiolb/fabio>'
57 >>>> Source compiled.
58 >
59
60
61 --
62 Alan McKinnon
63 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-dev] "Not a git repository" error on ebuild Fabian Groffen <grobian@g.o>
Re: [gentoo-dev] "Not a git repository" error on ebuild Damo Brisbane <dhatchett2@×××××.com>