1 |
On Sat, Jul 04, 2015 at 12:43:37PM -0700, Zac Medico wrote: |
2 |
> On 07/04/2015 12:32 PM, William Hubbs wrote: |
3 |
> > On Sat, Jul 04, 2015 at 12:19:28PM -0700, Zac Medico wrote: |
4 |
> >> On 06/30/2015 03:08 PM, William Hubbs wrote: |
5 |
> >>> The source code is where the compatibility between versions of Go is, |
6 |
> >>> not the static objects, so what if, for third-party go packages, we |
7 |
> >>> skip installing the static objects? |
8 |
> >>> |
9 |
> >>> The only down side of this would be that there might be longer rebuilds |
10 |
> >>> if the packages have multiple consumers, but it gets rid of the static |
11 |
> >>> objects. |
12 |
> >>> |
13 |
> >>> What do you think? |
14 |
> >> |
15 |
> >> I'll give real example involving go-tools. The go-tools build requires |
16 |
> >> go-net, which in turn requires go-text. If the go-net *.a files are |
17 |
> >> installed, then it is possible to build go-tools against go-net without |
18 |
> >> having go-text installed. If the go-net *.a files are not installed, |
19 |
> >> then you will have to install go-text before you can build go-tools. It |
20 |
> >> introduces an indirect build-time dependency between go-tools and go-text. |
21 |
> > |
22 |
> > Sure, but what I'm proposing is that we do not install any *.a files |
23 |
> > for Go software that is not part of dev-lang/go. |
24 |
> |
25 |
> Exactly the same type of situation can arise for packages that are not |
26 |
> part of dev-lang/go. For example, if consul's static api.a library is |
27 |
> not installed, then it will introduce indirect build-time dependencies |
28 |
> for the consul-template package. |
29 |
|
30 |
Hmm, I haven't looked at either consul or consul-template yet, but I'm |
31 |
thinking that if you use golang-build.eclass to install everything and |
32 |
make sure GOPATH is set correctly, consul-template will pick up |
33 |
everything it needs. |
34 |
|
35 |
What am I missing? |
36 |
|
37 |
William |