Skip to content

Fix broken build#160

Open
faust64 wants to merge 2 commits into
optiopay:masterfrom
faust64:patch-1
Open

Fix broken build#160
faust64 wants to merge 2 commits into
optiopay:masterfrom
faust64:patch-1

Conversation

@faust64

@faust64 faust64 commented Nov 22, 2019

Copy link
Copy Markdown

Following on #159

@annieweng points out we now need Go >= 1.9 to build klar.

Following on optiopay#159

@annieweng points out we now need Go >= 1.9 to build klar.

@NexoMichael NexoMichael left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@faust64

faust64 commented Aug 1, 2020

Copy link
Copy Markdown
Author

Lately, I've had further issues building Klar.
Using the Dockerfile previously proposed in this PR, it would fail with the following error:

+ go get -d github.com/optiopay/klar
+ go build ./src/github.com/optiopay/klar
# github.com/stretchr/testify/assert
src/github.com/stretchr/testify/assert/assertions.go:1703:5: undefined: errors.Is
src/github.com/stretchr/testify/assert/assertions.go:1726:6: undefined: errors.Is
src/github.com/stretchr/testify/assert/assertions.go:1749:5: undefined: errors.As
src/github.com/stretchr/testify/assert/assertions.go:1766:7: undefined: errors.Unwrap
src/github.com/stretchr/testify/assert/assertions.go:1770:7: undefined: errors.Unwrap

Not quite understanding what was going on, I just tried to re-upgrade Go.
Arbitrarily picked 1.13.
"works on my laptop".

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.

2 participants