ipolyzos commented on issue #869: make images fail on resolve of camel-k-maven-plugin URL: https://github.com/apache/camel-k/issues/869#issuecomment-514979902 A new issue later on the compilation of _pkg/trait/knative.go_ stops from completing the images-dev build please see the log below > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2.670 s > [INFO] Finished at: 2019-07-25T10:54:47+01:00 > [INFO] ------------------------------------------------------------------------ > mkdir -p build/_maven_output > mkdir -p build/_output/bin > cp builder build/_output/bin > operator-sdk build docker.io/apache/camel-k:1.0.0-M1-SNAPSHOT > # github.com/apache/camel-k/pkg/trait > pkg/trait/knative.go:301:52: cannot use *status.RouteStatusFields.Address (type "knative.dev/pkg/apis/duck/v1alpha1".Addressable) as type "github.com/knative/pkg/apis/duck/v1alpha1".Addressable in argument to buildServiceDefinition > pkg/trait/knative.go:309:16: addressable.URL undefined (type "github.com/knative/pkg/apis/duck/v1alpha1".Addressable has no field or method URL) > pkg/trait/knative.go:310:88: addressable.URL undefined (type "github.com/knative/pkg/apis/duck/v1alpha1".Addressable has no field or method URL) > pkg/trait/knative_service.go:209:7: cannot use "github.com/knative/serving/pkg/apis/serving/v1beta1".RevisionSpec literal (type "github.com/knative/serving/pkg/apis/serving/v1beta1".RevisionSpec) as type "knative.dev/serving/pkg/apis/serving/v1beta1".RevisionSpec in field value > Error: failed to build operator binary: (failed to exec []string{"go", "build", "-o", "/home/ipolyzos/repositories/camel-k/build/_output/bin/camel-k", "-gcflags", "all=-trimpath=/home/ipolyzos/repositories", "-asmflags", "all=-trimpath=/home/ipolyzos/repositories", "-mod=vendor", "github.com/apache/camel-k/cmd/manager"}: exit status 2) > Usage: > operator-sdk build <image> [flags] > > Flags: > --go-build-args string Extra Go build arguments as one string such as "-ldflags -X=main.xyz=abc" > -h, --help help for build > --image-build-args string Extra image build arguments as one string such as "--build-arg https_proxy=$https_proxy" > --image-builder string Tool to build OCI images. One of: [docker, podman, buildah] (default "docker") > > Global Flags: > --verbose Enable verbose logging > > make: *** [Makefile:170: images-dev] Error 1 >
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services