Bug#1026695: undertow: FTBFS: make: *** [debian/rules:4: build] Error 25

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:39:28 GMT 2022


Source: undertow
Version: 2.2.21-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 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 --buildsystem=maven
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_autoreconf -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
> 	mh_patchpoms -plibundertow-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build -O--buildsystem=maven
> 	/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 -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Undertow                                                           [pom]
> [INFO] Undertow Parser Generator                                          [jar]
> [INFO] Undertow Core                                                      [jar]
> [INFO] Undertow Servlet                                                   [jar]
> [INFO] Undertow WebSockets JSR356 implementations                         [jar]
> [INFO] 
> [INFO] --------------------< io.undertow:undertow-parent >---------------------
> [INFO] Building Undertow 2.2.21.Final                                     [1/5]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ undertow-parent ---
> [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ undertow-parent ---
> [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] 
> [INFO] ---------------< io.undertow:undertow-parser-generator >----------------
> [INFO] Building Undertow Parser Generator 2.2.21.Final                    [2/5]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.0
> [WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ undertow-parser-generator ---
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ undertow-parser-generator ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 6 source files to /<<PKGBUILDDIR>>/parser-generator/target/classes
> [INFO] /<<PKGBUILDDIR>>/parser-generator/src/main/java/io/undertow/annotationprocessor/AbstractParserGenerator.java: /<<PKGBUILDDIR>>/parser-generator/src/main/java/io/undertow/annotationprocessor/AbstractParserGenerator.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/parser-generator/src/main/java/io/undertow/annotationprocessor/AbstractParserGenerator.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ undertow-parser-generator ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ undertow-parser-generator ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ undertow-parser-generator ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ undertow-parser-generator ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/parser-generator/target/undertow-parser-generator-2.2.21.Final.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ undertow-parser-generator ---
> [INFO] Adding the --ignore-source-errors option
> [WARNING] Javadoc Warnings
> [WARNING] Loading source files for package io.undertow.annotationprocessor...
> [WARNING] Constructing Javadoc information...
> [WARNING] Building index for all the packages and classes...
> [WARNING] Standard Doclet version 17.0.5+8-Debian-2
> [WARNING] Building tree for all the packages and classes...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/AbstractParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/AbstractParserGenerator.CustomStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/HttpParserAnnotationProcessor.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/HttpParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/HttpResponseParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/RequestParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/RequestParserGenerator.HeaderStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/RequestParserGenerator.VersionStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/ResponseParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/package-summary.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/package-tree.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/constant-values.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/HttpParserAnnotationProcessor.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/AbstractParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/AbstractParserGenerator.CustomStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/HttpParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/HttpResponseParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/ResponseParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/RequestParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/RequestParserGenerator.VersionStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/RequestParserGenerator.HeaderStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/package-use.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/overview-tree.html...
> [WARNING] Building index for all classes...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/allclasses-index.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/allpackages-index.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/index-all.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/index.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/help-doc.html...
> [WARNING] Note: Custom tags that could override future standard tags:  @implNote. To avoid potential overrides, use at least one period character (.) in custom tag names.
> [WARNING] Note: Custom tags that were not seen:  @implNote
> [INFO] Building jar: /<<PKGBUILDDIR>>/parser-generator/target/undertow-parser-generator-2.2.21.Final-javadoc.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ undertow-parser-generator ---
> [INFO] Adding the --ignore-source-errors option
> [WARNING] Javadoc Warnings
> [WARNING] Loading source files for package io.undertow.annotationprocessor...
> [WARNING] Constructing Javadoc information...
> [WARNING] Building index for all the packages and classes...
> [WARNING] Standard Doclet version 17.0.5+8-Debian-2
> [WARNING] Building tree for all the packages and classes...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/AbstractParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/AbstractParserGenerator.CustomStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/HttpParserAnnotationProcessor.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/HttpParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/HttpResponseParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/RequestParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/RequestParserGenerator.HeaderStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/RequestParserGenerator.VersionStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/ResponseParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/package-summary.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/package-tree.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/constant-values.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/HttpParserAnnotationProcessor.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/AbstractParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/AbstractParserGenerator.CustomStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/HttpParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/HttpResponseParserConfig.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/ResponseParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/RequestParserGenerator.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/RequestParserGenerator.VersionStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/class-use/RequestParserGenerator.HeaderStateMachine.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/io/undertow/annotationprocessor/package-use.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/overview-tree.html...
> [WARNING] Building index for all classes...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/allclasses-index.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/allpackages-index.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/index-all.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/index.html...
> [WARNING] Generating /<<PKGBUILDDIR>>/parser-generator/target/apidocs/help-doc.html...
> [WARNING] Note: Custom tags that could override future standard tags:  @implNote. To avoid potential overrides, use at least one period character (.) in custom tag names.
> [WARNING] Note: Custom tags that were not seen:  @implNote
> [INFO] Building jar: /<<PKGBUILDDIR>>/parser-generator/target/undertow-parser-generator-2.2.21.Final-javadoc.jar
> [WARNING] artifact io.undertow:undertow-parser-generator:javadoc:javadoc:2.2.21.Final already attached, replace previous instance
> [INFO] 
> [INFO] ---------------------< io.undertow:undertow-core >----------------------
> [INFO] Building Undertow Core 2.2.21.Final                                [3/5]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 has been relocated to org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ undertow-core ---
> [INFO] Copying 7 resources
> [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ undertow-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 659 source files to /<<PKGBUILDDIR>>/core/target/classes
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping Undertow
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Undertow 2.2.21.Final:
> [INFO] 
> [INFO] Undertow ........................................... SUCCESS [  0.494 s]
> [INFO] Undertow Parser Generator .......................... SUCCESS [  4.861 s]
> [INFO] Undertow Core ...................................... FAILURE [  2.219 s]
> [INFO] Undertow Servlet ................................... SKIPPED
> [INFO] Undertow WebSockets JSR356 implementations ......... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  7.782 s
> [INFO] Finished at: 2022-12-20T09:39:44Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project undertow-core: Fatal error compiling: java.lang.ExceptionInInitializerError: Cannot initialize org.jboss.classfilewriter.DefaultClassFactory: module java.base does not open java.lang to unnamed module @1b814d51 -> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :undertow-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 -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 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 javadoc:jar javadoc:aggregate -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/12/20/undertow_2.2.21-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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 mark 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