-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi Ziggy developers. I'm trying to build Ziggy and quickly ran into a problem.
Note that I am not a Java developer and don't know anything about Gradle. First thing I needed to do was install JDK. Looks like OpenJDK is the standard on Linux, so I installed that with:
sudo apt install default-jdk
Then I set the three environment variables JAVA_HOME, CC and CXX. This is on Ubuntu 20.04.6. Then I tried to build and got the below error. Not being a Java developer I figure I better just send the error to you. It looks like there is an error in interpreting the Java code.
(base) bohr@stan:~/dev_TOLIMAN/ziggy$ ./gradlew
Downloading https://services.gradle.org/distributions/gradle-8.12-bin.zip
.............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
Welcome to Gradle 8.12!
Here are the highlights of this release:
- Enhanced error and warning reporting with the Problems API
- File-system watching support on Alpine Linux
- Build and test Swift 6 libraries and apps
For more details see https://docs.gradle.org/8.12/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:compileJava FAILED
[Incubating] Problems report is available at: file:///home/bohr/dev_toliman/ziggy/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileJava'.
> Compilation failed; see the compiler output below.
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:67: error: : expected
case LINUX_INTEL -> "mexa64";
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:68: error: : expected
case MAC_M1 -> "mexmaca64";
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:69: error: : expected
case MAC_INTEL -> "mexmaci64";
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:80: error: : expected
case LINUX_INTEL -> "glnxa64";
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:81: error: : expected
case MAC_M1 -> "maca64";
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:82: error: : expected
case MAC_INTEL -> "maci64";
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/SystemArchitecture.java:87: error: : expected
case LINUX_INTEL -> linuxIntelObject;
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/SystemArchitecture.java:88: error: : expected
case MAC_INTEL -> macIntelObject;
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/SystemArchitecture.java:89: error: : expected
case MAC_M1 -> macM1Object;
^/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:66: error: illegal start of expression
return switch (getArchitecture()) {
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/ZiggyCppMexPojo.java:79: error: illegal start of expression
return switch (getArchitecture()) {
^
/home/bohr/dev_toliman/ziggy/buildSrc/src/main/java/gov/nasa/ziggy/buildutil/SystemArchitecture.java:86: error: illegal start of expression
return switch (architecture()) {
^
12 errors
* Try:
> Check your code and dependencies to fix the compilation error(s)
> Run with --scan to get full insights.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 22s
1 actionable task: 1 executed
(base) bohr@stan:~/dev_TOLIMAN/ziggy$
Metadata
Metadata
Assignees
Labels
No labels