New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin build failing with 2.0 #439
Comments
Check my Issue #437 and you need update xxhash to version v2.1.2 to solve it |
Hi @henrisokka can you share some plugin example to trigger this error? With my current plugins I cannot reproduce it. |
I'm running into this issue as well after upgrading to v2.0.0. Running the following command in this repo points to $ go mod why github.com/cespare/xxhash/v2
# github.com/cespare/xxhash/v2
github.com/devopsfaith/krakend-ce/v2
github.com/devopsfaith/krakend-opencensus/v2/exporter/prometheus
github.com/prometheus/client_golang/prometheus
github.com/cespare/xxhash/v2 In my case, a plugin I built is using the $ go mod why github.com/cespare/xxhash/v2
# github.com/cespare/xxhash/v2
github.com/my-org/my-project/plugins/my-plugin
github.com/go-redis/redis/v8
github.com/cespare/xxhash/v2 Adding the following
|
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
This issue was closed because it has been marked as stalled for 15 days with no activity. |
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link. |
When trying to build plugins for 2.0 with it's dependencies we got following error:
The dependency
klauspost/compress
has already patched the bug (klauspost/compress#430) but you're InfluxDB-library seems to be still using old version through it'sgithub.com/influxdata/influxdb
-dependencyWe were able to workaround the issue by just editing go.mod to
github.com/klauspost/compress v1.13.6
and build a new Docker image.Steps to reproduce:
git checkout tags/v2.0.0
krakend-ce/plugins
go build -buildmode=plugin plugins/plugin.go
The text was updated successfully, but these errors were encountered: