Bug#1012064: libsweble-common-java: FTBFS with OpenJDK 17: illegal escape character
Emmanuel Bourg
ebourg at apache.org
Sun May 29 17:12:10 BST 2022
Source: libsweble-common-java
Version: 3.0.8-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
libsweble-common-java fails to build with OpenJDK 17, it looks like the range
of valid unicode escape sequences is more restricted with Java 17:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Utils Parent POM [pom]
[INFO] Utils [jar]
[INFO] Parser Toolkit Parent POM [pom]
[INFO] PTK - Common [jar]
[INFO] Open Source Research Common Aggergator Project [pom]
[INFO]
[INFO] ------------------< de.fau.cs.osr.utils:utils-parent >------------------
[INFO] Building Utils Parent POM 3.0.8 [1/5]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] ---------------------< de.fau.cs.osr.utils:utils >----------------------
[INFO] Building Utils 3.0.8 [2/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/utils-parent/utils/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ utils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 46 source files to /<<PKGBUILDDIR>>/utils-parent/utils/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/utils-parent/utils/src/main/java/de/fau/cs/osr/utils/XmlGrammar.java:[41,51] illegal escape character
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Open Source Research Common Aggergator Project 3.0.8:
[INFO]
[INFO] Utils Parent POM ................................... SUCCESS [ 0.003 s]
[INFO] Utils .............................................. FAILURE [ 0.490 s]
[INFO] Parser Toolkit Parent POM .......................... SKIPPED
[INFO] PTK - Common ....................................... SKIPPED
[INFO] Open Source Research Common Aggergator Project ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.560 s
[INFO] Finished at: 2022-05-25T00:35:53Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project utils: Compilation failure
[ERROR] /<<PKGBUILDDIR>>/utils-parent/utils/src/main/java/de/fau/cs/osr/utils/XmlGrammar.java:[41,51] illegal escape character
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :utils
More information about the pkg-java-maintainers
mailing list