1 |
We have this in the project makefile.. |
2 |
|
3 |
GOFLAGS = -ldflags "-X main.version=$(shell git describe --tags)" |
4 |
|
5 |
.. |
6 |
|
7 |
On Wed, Nov 8, 2017 at 7:44 AM, Damo Brisbane <dhatchett2@×××××.com> wrote: |
8 |
|
9 |
> attached, ok? |
10 |
> |
11 |
> On Wed, Nov 8, 2017 at 5:33 AM, Alan McKinnon <alan.mckinnon@×××××.com> |
12 |
> wrote: |
13 |
> |
14 |
>> On 07/11/2017 21:10, Damo Brisbane wrote: |
15 |
>> > Hi, |
16 |
>> > |
17 |
>> > I am getting an error on custom fabio-1.5.2.ebuild |
18 |
>> > <https://github.com/damobrisbane/damo-overlay/blob/master/ |
19 |
>> net-proxy/fabio/fabio-1.5.2.ebuild> - |
20 |
>> > "Not a git repository (or any of the parent directories)..." I've been |
21 |
>> > looking on web, trying some things, but still message is coming up, |
22 |
>> > appreciate suggestions. Note package is installing fine, just not sure |
23 |
>> > how to clean up this message. |
24 |
>> > |
25 |
>> > Thanks in advance: |
26 |
>> |
27 |
>> |
28 |
>> |
29 |
>> |
30 |
>> Please post the ebuild. That's a git error (not a portage error) and it |
31 |
>> means you are trying to run "git <some_function>" without running "git |
32 |
>> init" first |
33 |
>> |
34 |
>> |
35 |
>> > |
36 |
>> > |
37 |
>> > |
38 |
>> >>>> Emerging (2 of 2) net-proxy/fabio-1.5.2::damo-overlay |
39 |
>> > * fabio-1.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... |
40 |
>> > [ ok ] |
41 |
>> > * Adding group 'fabio' to your system ... |
42 |
>> > * - Groupid: next available |
43 |
>> > * Adding user 'fabio' to your system ... |
44 |
>> > * - Userid: 116 |
45 |
>> > * - Shell: /sbin/nologin |
46 |
>> > * - Home: /var/lib/fabio |
47 |
>> > * - Groups: fabio |
48 |
>> > * - GECOS: added by portage for fabio |
49 |
>> > * - Creating /var/lib/fabio in / |
50 |
>> >>>> Unpacking source... |
51 |
>> >>>> Source unpacked in /tmp/portage/net-proxy/fabio-1.5.2/work |
52 |
>> >>>> Preparing source in |
53 |
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ... |
54 |
>> >>>> Source prepared. |
55 |
>> >>>> Configuring source in |
56 |
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ... |
57 |
>> >>>> Source configured. |
58 |
>> >>>> Compiling source in |
59 |
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2 ... |
60 |
>> > make -j5 -C |
61 |
>> > /tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/gith |
62 |
>> ub.com/fabiolb/fabio |
63 |
>> > <http://github.com/fabiolb/fabio> install |
64 |
>> > make: Entering directory |
65 |
>> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git |
66 |
>> hub.com/fabiolb/fabio |
67 |
>> > <http://github.com/fabiolb/fabio>' |
68 |
>> > *fatal: Not a git repository (or any of the parent directories): .git* |
69 |
>> > GOGC=off go install -ldflags "-X main.version=" |
70 |
>> > make: Leaving directory |
71 |
>> > '/tmp/portage/net-proxy/fabio-1.5.2/work/fabio-1.5.2/src/git |
72 |
>> hub.com/fabiolb/fabio |
73 |
>> > <http://github.com/fabiolb/fabio>' |
74 |
>> >>>> Source compiled. |
75 |
>> > |
76 |
>> |
77 |
>> |
78 |
>> -- |
79 |
>> Alan McKinnon |
80 |
>> alan.mckinnon@×××××.com |
81 |
>> |
82 |
>> |
83 |
>> |
84 |
> |