Bug#1011814: javaparser: FTBFS: make: *** [debian/rules:4: build] Error 25

Lucas Nussbaum lucas at debian.org
Thu May 26 20:06:32 BST 2022


Source: javaparser
Version: 3.16.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibjavaparser-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] javaparser-parent                                                  [pom]
> [INFO] javaparser-core                                                    [jar]
> [INFO] 
> [INFO] --------------< com.github.javaparser:javaparser-parent >---------------
> [INFO] Building javaparser-parent 3.16.3                                  [1/2]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] ---------------< com.github.javaparser:javaparser-core >----------------
> [INFO] Building javaparser-core 3.16.3                                    [2/2]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- javacc-maven-plugin:2.6:javacc (javacc) @ javaparser-core ---
> Java Compiler Compiler Version 7.0.11 (Parser Generator)
> (type "javacc" with no arguments for help)
> Reading from file /<<PKGBUILDDIR>>/javaparser-core/src/main/javacc/java.jj . . .
> Warning: Choice conflict involving two expansions at
>          line 2090, column 13 and line 2096, column 13 respectively.
>          A common prefix is: "yield" "++"
>          Consider using a lookahead of 3 or more for earlier expansion.
> Warning: Line 98, Column 3: Non-ASCII characters used in regular expression.
> Please make sure you use the correct Reader when you create the parser, one that can handle your character set.
> File "Provider.java" does not exist.  Will create one.
> File "StringProvider.java" does not exist.  Will create one.
> File "StreamProvider.java" does not exist.  Will create one.
> File "TokenMgrException.java" does not exist.  Will create one.
> File "ParseException.java" does not exist.  Will create one.
> File "Token.java" does not exist.  Will create one.
> File "SimpleCharStream.java" does not exist.  Will create one.
> Parser generated with 0 errors and 2 warnings.
> [INFO] Processed 1 grammar
> [INFO] 
> [INFO] --- build-helper-maven-plugin:3.0.0:add-source (add-source) @ javaparser-core ---
> [INFO] Source directory: /<<PKGBUILDDIR>>/javaparser-core/src/main/javacc-support added.
> [INFO] 
> [INFO] --- templating-maven-plugin:1.0.0:filter-sources (filter-src) @ javaparser-core ---
> [INFO] Coping files with filtering to temporary directory.
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copied 1 files to output directory: /<<PKGBUILDDIR>>/javaparser-core/target/generated-sources/java-templates
> [INFO] Source directory: /<<PKGBUILDDIR>>/javaparser-core/target/generated-sources/java-templates added.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ javaparser-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/javaparser-core/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ javaparser-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 472 source files to /<<PKGBUILDDIR>>/javaparser-core/target/classes
> [INFO] /<<PKGBUILDDIR>>/javaparser-core/src/main/java/com/github/javaparser/JavaToken.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/javaparser-core/src/main/java/com/github/javaparser/JavaToken.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/javaparser-core/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/javaparser-core/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/javaparser-core/target/generated-sources/javacc/com/github/javaparser/SimpleCharStream.java:[231,3] java.lang.Deprecated is not a repeatable annotation type
> [ERROR] /<<PKGBUILDDIR>>/javaparser-core/target/generated-sources/javacc/com/github/javaparser/SimpleCharStream.java:[241,3] java.lang.Deprecated is not a repeatable annotation type
> [INFO] 2 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for javaparser-parent 3.16.3:
> [INFO] 
> [INFO] javaparser-parent .................................. SUCCESS [  0.005 s]
> [INFO] javaparser-core .................................... FAILURE [  7.066 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  7.168 s
> [INFO] Finished at: 2022-05-25T21:17:52Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project javaparser-core: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/javaparser-core/target/generated-sources/javacc/com/github/javaparser/SimpleCharStream.java:[231,3] java.lang.Deprecated is not a repeatable annotation type
> [ERROR] /<<PKGBUILDDIR>>/javaparser-core/target/generated-sources/javacc/com/github/javaparser/SimpleCharStream.java:[241,3] java.lang.Deprecated is not a repeatable annotation type
> [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 :javaparser-core
> dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/javaparser_3.16.3-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list