apache / apache/openwhisk-cli

Task :goI18n FAILED, on Aarch64

Aperta
#504 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
109
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dalla riga 29 di build.gradle e dai task Gradle :goBuild/:goI18n, quindi riproduci ./gradlew nell’ambiente Linux Aarch64 segnalato. Traccia la gestione dell’architettura del plugin com.github.blindpirate.gogradle; il lavoro è completato quando la build del progetto non fallisce più con “Unrecognized architecture:aarch64”.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.