apache / openwhisk-cli

Apache OpenWhisk Command Line Interface (CLI)
https://openwhisk.apache.org/
Apache License 2.0
103 stars 99 forks source link

openwhisk-cli Build failed #522

Open amitbatajoo opened 1 year ago

amitbatajoo commented 1 year ago

OS: Ubuntu 20.04 Gradle: 7.4.2 Java: 1.8 Go: go1.16.5 Install guide: https://github.com/apache/openwhisk-cli

Unable to build the cli successfully. Any one can help me?

~/workspace/openwhisk-cli# ./gradlew goBuild

Configure project : Found go 1.16.5 in /usr/local/go/bin/go, use it.

Task :goPrepare Use project GOPATH: /root/workspace/openwhisk-cli/.gogradle/project_gopath

github.com/apache/openwhisk-cli/wski18n

wski18n/i18n.go:98:16: undefined: Asset

Task :buildDarwinAmd64 FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s 2 actionable tasks: 2 executed

heywoodlh commented 2 months ago

wski18n/i18n.go:98:16: undefined: Asset

I ran into this as well, fixed with the following command:

go-bindata -pkg wski18n -o wski18n/i18n_resources.go wski18n/resources