Skip to content

debian: fix building on eoan by tweaking golang build-deps#6964

Merged
bboozzoo merged 1 commit intocanonical:masterfrom
mvo5:eoan-depwait
Jun 10, 2019
Merged

debian: fix building on eoan by tweaking golang build-deps#6964
bboozzoo merged 1 commit intocanonical:masterfrom
mvo5:eoan-depwait

Conversation

@mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jun 7, 2019

The go build dependencies in eoan need to be tweaked because eoan
does not ship golang-1.10 anymore. This will fix a dependency wait
in eoan.

Details for the b-d- line:

   golang-go (>=2:1.10)  [!powerpc] | golang-1.10 [!powerpc],

The first part is for 18.04+ that has go-1.10 or higher as the
default golang. The second part is for trusty,xenial where the
default golang is go-1.6 so we need to explicitly need to select
the version we want.

The go build dependencies in eoan need to be tweaked because eoan
does not ship golang-1.10 anymore. This will fix a dependency wait
in eoan.

Details for the b-d- line:
```
   golang-go (>=2:1.10)  [!powerpc] | golang-1.10 [!powerpc],
```
The first part is for 18.04+ that has go-1.10 or higher as the
default golang. The second part is for trusty,xenial where the
default golang is go-1.6 so we need to explicitly need to select
the version we want.
Copy link
Contributor

@zyga zyga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice explanation, thank you!

@bboozzoo bboozzoo merged commit 4d417e8 into canonical:master Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants