Bug#1033428: tycho: FTBFS in testing: make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25

Lucas Nussbaum lucas at debian.org
Fri Mar 24 19:43:36 GMT 2023


Source: tycho
Version: 1.6.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230323 ftbfs-bookworm

Hi,

During a rebuild of all packages in testing (bookworm), your package failed
to build on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- package -Dmaven.test.skip=true
> 	/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 -Dmaven.test.skip=true -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...
> [WARNING] The project org.eclipse.tycho:tycho:pom:1.6.0 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Tycho                                                              [pom]
> [INFO] Tycho OSGi Bundles Parent                                          [pom]
> [INFO] Tycho Embedder API Maven/OSGi Shared Classes                       [jar]
> [INFO] Tycho Core Maven/OSGi Shared Classes                               [jar]
> [INFO] Tycho p2 Resolver Maven/OSGi Shared Classes                        [jar]
> [INFO] Tycho p2 Tools Maven/OSGi Shared Classes                           [jar]
> [INFO] Tycho Maven/p2 Repository Integration                              [jar]
> [INFO] Tycho p2 Resolver Bundle                                           [jar]
> [INFO] Tycho p2 Tools Bundle                                              [jar]
> [INFO] Tycho OSGi Runtime External Bundles                                [jar]
> [INFO] Sisu Equinox/Plexus bridge                                         [pom]
> [INFO] Sisu Equinox Services API                                          [jar]
> [INFO] Sisu Equinox Embedder                                              [jar]
> [INFO] Tycho Eclipse Project Metadata Model                               [jar]
> [INFO] Tycho Embedder API                                                 [jar]
> [INFO] Tycho Core                                                         [jar]
> [INFO] Sisu Equinox Launching                                             [jar]
> [INFO] Tycho JVM Library Detector                                         [jar]
> [INFO] Tycho JDT Compiler Component                                       [jar]
> [INFO] Tycho OSGi Compiler Plugin                                [maven-plugin]
> [INFO] Tycho OSGi Packaging Plugin                               [maven-plugin]
> [INFO] Tycho Target Platform Configuration Plugin                [maven-plugin]
> [INFO] Tycho p2 Tools Parent                                              [pom]
> [INFO] Tycho p2 Resolver Component                                        [jar]
> [INFO] Tycho Maven Build Extension                               [maven-plugin]
> [INFO] Tycho Artifactor Comparator Plugin                                 [jar]
> [INFO] Tycho p2 Metadata Plugin                                  [maven-plugin]
> [INFO] Tycho p2 Publisher Plugin                                 [maven-plugin]
> [INFO] Tycho p2 Repository Plugin                                [maven-plugin]
> [INFO] 
> [INFO] ----------------------< org.eclipse.tycho:tycho >-----------------------
> [INFO] Building Tycho 1.6.0                                              [1/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] ------------------< org.eclipse.tycho:tycho-bundles >-------------------
> [INFO] Building Tycho OSGi Bundles Parent 1.6.0                          [2/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------< org.eclipse.tycho:org.eclipse.tycho.embedder.shared >---------
> [INFO] Building Tycho Embedder API Maven/OSGi Shared Classes 1.6.0       [3/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ org.eclipse.tycho.embedder.shared ---
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ org.eclipse.tycho.embedder.shared ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 9 source files to /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.embedder.shared/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ org.eclipse.tycho.embedder.shared ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ org.eclipse.tycho.embedder.shared ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ org.eclipse.tycho.embedder.shared ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ org.eclipse.tycho.embedder.shared ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.embedder.shared/target/org.eclipse.tycho.embedder.shared-1.6.0.jar
> [INFO] 
> [INFO] ----------< org.eclipse.tycho:org.eclipse.tycho.core.shared >-----------
> [INFO] Building Tycho Core Maven/OSGi Shared Classes 1.6.0               [4/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ org.eclipse.tycho.core.shared ---
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ org.eclipse.tycho.core.shared ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 32 source files to /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.core.shared/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ org.eclipse.tycho.core.shared ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ org.eclipse.tycho.core.shared ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ org.eclipse.tycho.core.shared ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ org.eclipse.tycho.core.shared ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.core.shared/target/org.eclipse.tycho.core.shared-1.6.0.jar
> [INFO] 
> [INFO] -------< org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared >-------
> [INFO] Building Tycho p2 Resolver Maven/OSGi Shared Classes 1.6.0        [5/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ org.eclipse.tycho.p2.resolver.shared ---
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ org.eclipse.tycho.p2.resolver.shared ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 26 source files to /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.resolver.shared/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ org.eclipse.tycho.p2.resolver.shared ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ org.eclipse.tycho.p2.resolver.shared ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ org.eclipse.tycho.p2.resolver.shared ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ org.eclipse.tycho.p2.resolver.shared ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.resolver.shared/target/org.eclipse.tycho.p2.resolver.shared-1.6.0.jar
> [INFO] 
> [INFO] --------< org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared >---------
> [INFO] Building Tycho p2 Tools Maven/OSGi Shared Classes 1.6.0           [6/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ org.eclipse.tycho.p2.tools.shared ---
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ org.eclipse.tycho.p2.tools.shared ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 16 source files to /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.tools.shared/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ org.eclipse.tycho.p2.tools.shared ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ org.eclipse.tycho.p2.tools.shared ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ org.eclipse.tycho.p2.tools.shared ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ org.eclipse.tycho.p2.tools.shared ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.tools.shared/target/org.eclipse.tycho.p2.tools.shared-1.6.0.jar
> [INFO] 
> [INFO] ------< org.eclipse.tycho:org.eclipse.tycho.p2.maven.repository >-------
> [INFO] Building Tycho Maven/p2 Repository Integration 1.6.0              [7/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ org.eclipse.tycho.p2.maven.repository ---
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ org.eclipse.tycho.p2.maven.repository ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 58 source files to /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/target/classes
> [INFO] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/repository/p2base/artifact/repository/AbstractArtifactRepository2.java: /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/repository/p2base/artifact/repository/AbstractArtifactRepository2.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/repository/p2base/artifact/repository/AbstractArtifactRepository2.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/repository/p2base/artifact/provider/formats/ArtifactTransferPolicy.java: Some input files use or override a deprecated API that is marked for removal.
> [INFO] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/repository/p2base/artifact/provider/formats/ArtifactTransferPolicy.java: Recompile with -Xlint:removal for details.
> [INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/p2/maven/repository/xmlio35/SimpleArtifactRepositoryIO.java:[247,19] incompatible types: org.osgi.framework.BundleContext cannot be converted to javax.xml.parsers.SAXParserFactory
> [ERROR] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/p2/maven/repository/xmlio/MetadataIO.java:[75,39] incompatible types: org.osgi.framework.BundleContext cannot be converted to javax.xml.parsers.SAXParserFactory
> [INFO] 2 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Tycho 1.6.0:
> [INFO] 
> [INFO] Tycho .............................................. SUCCESS [  0.001 s]
> [INFO] Tycho OSGi Bundles Parent .......................... SUCCESS [  0.001 s]
> [INFO] Tycho Embedder API Maven/OSGi Shared Classes ....... SUCCESS [  1.009 s]
> [INFO] Tycho Core Maven/OSGi Shared Classes ............... SUCCESS [  0.503 s]
> [INFO] Tycho p2 Resolver Maven/OSGi Shared Classes ........ SUCCESS [  0.206 s]
> [INFO] Tycho p2 Tools Maven/OSGi Shared Classes ........... SUCCESS [  0.147 s]
> [INFO] Tycho Maven/p2 Repository Integration .............. FAILURE [  0.568 s]
> [INFO] Tycho p2 Resolver Bundle ........................... SKIPPED
> [INFO] Tycho p2 Tools Bundle .............................. SKIPPED
> [INFO] Tycho OSGi Runtime External Bundles ................ SKIPPED
> [INFO] Sisu Equinox/Plexus bridge ......................... SKIPPED
> [INFO] Sisu Equinox Services API .......................... SKIPPED
> [INFO] Sisu Equinox Embedder .............................. SKIPPED
> [INFO] Tycho Eclipse Project Metadata Model ............... SKIPPED
> [INFO] Tycho Embedder API ................................. SKIPPED
> [INFO] Tycho Core ......................................... SKIPPED
> [INFO] Sisu Equinox Launching ............................. SKIPPED
> [INFO] Tycho JVM Library Detector ......................... SKIPPED
> [INFO] Tycho JDT Compiler Component ....................... SKIPPED
> [INFO] Tycho OSGi Compiler Plugin ......................... SKIPPED
> [INFO] Tycho OSGi Packaging Plugin ........................ SKIPPED
> [INFO] Tycho Target Platform Configuration Plugin ......... SKIPPED
> [INFO] Tycho p2 Tools Parent .............................. SKIPPED
> [INFO] Tycho p2 Resolver Component ........................ SKIPPED
> [INFO] Tycho Maven Build Extension ........................ SKIPPED
> [INFO] Tycho Artifactor Comparator Plugin ................. SKIPPED
> [INFO] Tycho p2 Metadata Plugin ........................... SKIPPED
> [INFO] Tycho p2 Publisher Plugin .......................... SKIPPED
> [INFO] Tycho p2 Repository Plugin ......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  2.662 s
> [INFO] Finished at: 2023-03-24T09:35:30Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project org.eclipse.tycho.p2.maven.repository: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/p2/maven/repository/xmlio35/SimpleArtifactRepositoryIO.java:[247,19] incompatible types: org.osgi.framework.BundleContext cannot be converted to javax.xml.parsers.SAXParserFactory
> [ERROR] /<<PKGBUILDDIR>>/tycho-bundles/org.eclipse.tycho.p2.maven.repository/src/main/java/org/eclipse/tycho/p2/maven/repository/xmlio/MetadataIO.java:[75,39] incompatible types: org.osgi.framework.BundleContext cannot be converted to javax.xml.parsers.SAXParserFactory
> [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 :org.eclipse.tycho.p2.maven.repository
> 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 -Dmaven.test.skip=true -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/03/23/tycho_1.6.0-3_testing.log

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