aarch64 Raspberry Pi Build Fails
See original GitHub issueAfter building my project for Raspberry Pi using aarch64, i get the following output (Error included):
pi@raspberrypi:~/streampi_client$ mvn clean client:build
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/g
uice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building StreamPiClient 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ StreamPiClient ---
[INFO] Deleting /home/pi/streampi_client/target
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building StreamPiClient 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- client-maven-plugin:0.1.18:build (default-cli) @ StreamPiClient ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/g
uice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building StreamPiClient 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> client-maven-plugin:0.1.18:compile (default-cli) > process-classes @ StreamPiClient >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ StreamPiClient ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ StreamPiClient ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /home/pi/streampi_client/target/classes
[INFO]
[INFO] <<< client-maven-plugin:0.1.18:compile (default-cli) < process-classes @ StreamPiClient <<<
[INFO]
[INFO] --- client-maven-plugin:0.1.18:compile (default-cli) @ StreamPiClient ---
[Fri Mar 27 08:03:48 UTC 2020][INFO] ==================== COMPILE TASK ====================
[Fri Mar 27 08:03:50 UTC 2020][INFO] We will now compile your code for aarch64-linux-linux. This may take some time.
Not a dir
java.lang.RuntimeException: Error downloading zips: Error downloading from https://download2.gluonhq.com/substrate/stati
cjdk/labs-staticjdk-linux-aarch64-gvm-14-ea+8.zip into /home/pi/.gluon/substrate/labs-staticjdk-linux-aarch64-gvm-14-ea+
8.zip: https://download2.gluonhq.com/substrate/staticjdk/labs-staticjdk-linux-aarch64-gvm-14-ea+8.zip, []
at com.gluonhq.substrate.util.FileDeps.setupDependencies(FileDeps.java:296)
at com.gluonhq.substrate.util.FileDeps.resolvePath(FileDeps.java:146)
at com.gluonhq.substrate.util.FileDeps.getJavaFXSDKLibsPath(FileDeps.java:109)
at com.gluonhq.substrate.target.LinuxTargetConfiguration.processClassPath(LinuxTargetConfiguration.java:158)
at com.gluonhq.substrate.target.AbstractTargetConfiguration.validateCompileRequirements(AbstractTargetConfigurat
ion.java:325)
at com.gluonhq.substrate.target.AbstractTargetConfiguration.compile(AbstractTargetConfiguration.java:121)
at com.gluonhq.substrate.target.LinuxTargetConfiguration.compile(LinuxTargetConfiguration.java:88)
at com.gluonhq.substrate.SubstrateDispatcher.nativeCompile(SubstrateDispatcher.java:337)
at com.gluonhq.NativeCompileMojo.execute(NativeCompileMojo.java:54)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.
java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] Total time: 42.780 s
[INFO] Finished at: 2020-03-27T08:04:00+00:00
[INFO] Final Memory: 22M/53M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:client-maven-plugin:0.1.18:compile (default-cli) on project StreamPiClient: E
rror: Error downloading zips: Error downloading from https://download2.gluonhq.com/substrate/staticjdk/labs-staticjdk-li
nux-aarch64-gvm-14-ea+8.zip into /home/pi/.gluon/substrate/labs-staticjdk-linux-aarch64-gvm-14-ea+8.zip: https://downloa
d2.gluonhq.com/substrate/staticjdk/labs-staticjdk-linux-aarch64-gvm-14-ea+8.zip, [] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:10 min
[INFO] Finished at: 2020-03-27T08:04:00+00:00
[INFO] Final Memory: 11M/25M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:client-maven-plugin:0.1.18:build (default-cli) on project StreamPiClient: Err
or, client:build failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Going to https://download2.gluonhq.com/substrate/stati cjdk/labs-staticjdk-linux-aarch64-gvm-14-ea+8.zip returns a 404 Not Found Error
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
aarch64 build failed on raspberry pi 4 #597 - GitHub
I used 2 ways. Way 1: git clone https://github.com/raspberrypi/userland.git cd userland mkdir build cd build cmake -DCMAKE_BUILD_TYPE= ...
Read more >Error compiling aarch64 assembly on raspberry pi 3
So I unpacked the entire compilation chain in the aarch64 directory of the raspberry and I'm trying to compile a 64-bit program.
Read more >Linker error when cross compiling for raspberry pi
1 Answer 1 ; Install cargo cross: cargo install cross; Create a file called Cross.toml in the root directory (where Cargo.toml is) with...
Read more >Qt6 Raspberry Pi cross compliation error. - Qt Forum
Hi, I tried to cross compile qt6 programs on Ubuntu virtual machine for Raspberry Pi 4B following this tutorial:.
Read more >2 - Raspberry Pi Stack Exchange
It is wrong architecture: you're trying to build arm64 code with an arm32 assembler. You need to install the toolchain which produces ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That should be fixed as well now.
Hi, https://download2.gluonhq.com/substrate/staticjdk/labs-staticjdk-linux-aarch64-gvm-14-ea+8.zip is available now