Skip to content
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

Build failures with v0.5.13 #170

Closed
leecalcote opened this issue Apr 6, 2022 · 0 comments · Fixed by #171
Closed

Build failures with v0.5.13 #170

leecalcote opened this issue Apr 6, 2022 · 0 comments · Fixed by #171
Assignees
Labels
kind/bug Something isn't working

Comments

@leecalcote
Copy link
Member

Description
Meshery Server fails to build.

logs

 meshery git:(leecalcote/godeps/meshkit) ✗ make server
cd cmd; go1.17.8 mod tidy -compat=1.17; \
        BUILD="v0.6.0-rc-5j" \
        PROVIDER_BASE_URLS="https://meshery.layer5.io" \
        PORT=9081 \
        DEBUG=true \
        ADAPTER_URLS="localhost:10000 localhost:10001 localhost:10002 localhost:10004 localhost:10005 localhost:10006 localhost:10007 localhost:10008 localhost:10009 localhost:10010 localhost:10012" \
        APP_PATH="../install/apps.json" \
        go1.17.8 run main.go;
# github.com/layer5io/meshkit/logger
../../go/pkg/mod/github.com/layer5io/meshkit@v0.5.13/logger/controller.go:23:9: cannot use &Controller{...} (type *Controller) as type logr.Logger in return argument
../../go/pkg/mod/github.com/layer5io/meshkit@v0.5.13/logger/controller.go:42:2: cannot use c (type *Controller) as type logr.Logger in return argument
../../go/pkg/mod/github.com/layer5io/meshkit@v0.5.13/logger/controller.go:47:2: cannot use c (type *Controller) as type logr.Logger in return argument
../../go/pkg/mod/github.com/layer5io/meshkit@v0.5.13/logger/controller.go:52:2: cannot use c (type *Controller) as type logr.Logger in return argument
# k8s.io/kubectl/pkg/util/openapi
../../go/pkg/mod/k8s.io/kubectl@v0.23.5/pkg/util/openapi/openapi.go:49:37: cannot use doc (type *"github.com/googleapis/gnostic/openapiv2".Document) as type *"github.com/google/gnostic/openapiv2".Document in argument to "k8s.io/kube-openapi/pkg/util/proto".NewOpenAPIData
# k8s.io/client-go/applyconfigurations/meta/v1
../../go/pkg/mod/k8s.io/client-go@v0.23.5/applyconfigurations/meta/v1/unstructured.go:64:37: cannot use doc (type *"github.com/googleapis/gnostic/openapiv2".Document) as type *"github.com/google/gnostic/openapiv2".Document in argument to "k8s.io/kube-openapi/pkg/util/proto".NewOpenAPIData
make: *** [server] Error 1

Environment:

  • OS: [e.g. Ubuntu]
  • Browser: [e.g. Chrome, Safari]
  • Version: [e.g. 22]
  • Device: [e.g. laptop, iPhone 8]

[Optional] To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[Optional] Additional Context

@leecalcote leecalcote added the kind/bug Something isn't working label Apr 6, 2022
This was referenced Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants