You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "amitbatajoo (via GitHub)" <gi...@apache.org> on 2023/03/06 08:07:07 UTC

[GitHub] [openwhisk-cli] amitbatajoo opened a new issue, #522: openwhisk-cli Build failed

amitbatajoo opened a new issue, #522:
URL: https://github.com/apache/openwhisk-cli/issues/522

   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.
   
   * What went wrong:
   Execution failed for task ':buildDarwinAmd64'.
   > Build failed due to return code 2 of:
     Command:
      /usr/local/go/bin/go build -tags '' -ldflags -X main.CLI_BUILD_TIME=2023-03-06T08:01:27.021+0000 -o ./build/darwin-amd64/wsk github.com/apache/openwhisk-cli
     Env:
      GOEXE=
      GOPATH=/root/workspace/openwhisk-cli/.gogradle/project_gopath
      GOROOT=/usr/local/go
      GOOS=darwin
      GOARCH=amd64
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   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


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org