audiveris icon indicating copy to clipboard operation
audiveris copied to clipboard

Build issues

Open topchyan opened this issue 1 year ago • 3 comments

Cloning into 'audiveris'... Switched to a new branch 'development' branch 'development' set up to track 'origin/development'. Already up to date.

Configure project :app hostOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0

Configure project :schemas theXsltTransformer: XsltProc

Task :app:clean UP-TO-DATE Task :flatpak:clean UP-TO-DATE Task :schemas:clean UP-TO-DATE Task :windows-installer:clean UP-TO-DATE

BUILD SUCCESSFUL in 894ms 4 actionable tasks: 4 up-to-date

Configure project :app hostOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0

Configure project :schemas theXsltTransformer: XsltProc

Task :app:git_build programBuild: 3e1f52441

Task :app:generateProgramId > Task :app:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileJava'.

error: invalid source release: 21

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

BUILD FAILED in 1s 3 actionable tasks: 3 executed

Configure project :app hostOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0

Configure project :schemas theXsltTransformer: XsltProc

Task :app:git_build programBuild: 3e1f52441

Task :app:generateProgramId > Task :app:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileJava'.

error: invalid source release: 21

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

BUILD FAILED in 1s 3 actionable tasks: 3 executed

Exit code: 1

topchyan avatar Dec 27 '24 18:12 topchyan

error: invalid source release: 21

Sounds like you have a too old Java version, not able to support the 21 version. Please check with:

java -version

hbitteur avatar Dec 28 '24 08:12 hbitteur

Configure project :app hostOS: linux-x86_64 targetOS: linux-x86_64 theMinJavaVersion: 21 version: 5.4 tag: 5.4 theTessdataTag: 4.1.0

Configure project :schemas theXsltTransformer: XsltProc

Task :app:git_build programBuild: c664e2bcc

Task :app:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileJava'.

error: invalid source release: 21

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

BUILD FAILED in 15s 3 actionable tasks: 3 executed

Configure project :app hostOS: linux-x86_64 targetOS: linux-x86_64 theMinJavaVersion: 21 version: 5.4 tag: 5.4 theTessdataTag: 4.1.0

Configure project :schemas theXsltTransformer: XsltProc

Task :app:git_build programBuild: c664e2bcc

Task :app:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileJava'.

error: invalid source release: 21

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

BUILD FAILED in 1s 3 actionable tasks: 3 executed

topchyan avatar Feb 09 '25 03:02 topchyan

Version 5.4 has just been released. Both master and development branches now require Java 21.

hbitteur avatar Feb 09 '25 17:02 hbitteur