apache / apache/openwhisk-cli

Task :goI18n FAILED, on Aarch64

Open
#504 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
109
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Hi.

Unsure why - but I can't compile your project on an Aarch64 server.

> $ ./gradlew
> Downloading https://services.gradle.org/distributions/gradle-6.8.3-all.zip
> ..............10%..............20%...............30%..............40%..............50%...............60%..............70%..............80%...............90%..............100%
>
> Welcome to Gradle 6.8.3!
>
> Here are the highlights of this release:
> - Faster Kotlin DSL script compilation
> - Vendor selection for Java toolchains
> - Convenient execution of tasks in composite builds
> - Consistent dependency resolution
>
> For more details see https://docs.gradle.org/6.8.3/release-notes.html
>
> Starting a Gradle Daemon (subsequent builds will be faster)
>
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Build file '/home/oceanfish81/openwhisk-cli/build.gradle' line: 29
>
> * What went wrong:
> An exception occurred applying plugin request [id: 'com.github.blindpirate.gogradle', version: '0.10']
> > Failed to apply plugin 'com.github.blindpirate.gogradle'.
> > Could not create task ':goBuild'.
> > Could not create task of type 'GoBuild'.
> > Unrecognized architecture:aarch64
>
> * 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.

Here are some insights on my environment:

> $ mvn --version && gradle --version && java -version && javac -version && uname -a
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.2, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-arm64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-40-generic", arch: "aarch64", family: "unix"
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/share/java/groovy-all.jar) to method java.lang.Object.finalize()
> WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
>
> ------------------------------------------------------------
> Gradle 4.4.1
> ------------------------------------------------------------
>
> Build time: 2012-12-21 00:00:00 UTC
> Revision: none
>
> Groovy: 2.4.17
> Ant: Apache Ant(TM) version 1.10.7 compiled on October 24 2019
> JVM: 14.0.2 (Private Build 14.0.2+12-Ubuntu-120.04)
> OS: Linux 5.4.0-40-generic aarch64
>
> openjdk version "14.0.2" 2020-07-14
> OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
> OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
> javac 14.0.2
> Linux ord4-c2-large-arm-01 5.4.0-40-generic #44-Ubuntu SMP Mon Jun 22 23:59:48 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
>

Hope this helps.

P.S. Server was provided via https://www.worksonarm.com/ - CC @vielmetti

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.