Bug#971193: mina2: FTBFS: Bundle org.apache.mina:mina-core:bundle:2.0.19 : package info for org.apache.mina.util attribute [version~='2.0.19'], key must be an EXTENDED (CORE1.3.2 [-.\w]+). From null
Lucas Nussbaum
lucas at debian.org
Sun Sep 27 20:09:27 BST 2020
Source: mina2
Version: 2.0.19-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- -f src/pom.xml package javadoc:aggregate
> /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 -f src/pom.xml package javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [WARNING] The project org.apache.mina:mina-parent:pom:2.0.19 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] Apache MINA [pom]
> [INFO] Apache MINA Core [bundle]
> [INFO] Apache MINA APR Transport [bundle]
> [INFO] Apache MINA Compression Filter [bundle]
> [INFO] Apache MINA JavaBeans Integration [bundle]
> [INFO] Apache MINA XBean Integration [jar]
> [INFO] Apache MINA OGNL Integration [bundle]
> [INFO] Apache MINA JMX Integration [bundle]
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.1.0 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.1.0 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:3.1.0 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-changes-plugin:jar:2.12.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-changes-plugin:2.12.1: Plugin org.apache.maven.plugins:maven-changes-plugin:2.12.1 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-changes-plugin:jar:2.12.1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-checkstyle-plugin:jar:2.17 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-checkstyle-plugin:2.17: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-checkstyle-plugin:jar:2.17 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.0.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.0.2: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.0.2 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:3.0.2 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-docck-plugin:jar:1.1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-docck-plugin:1.1: Plugin org.apache.maven.plugins:maven-docck-plugin:1.1 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-docck-plugin:jar:1.1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-eclipse-plugin:jar:2.10 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-eclipse-plugin:2.10: Plugin org.apache.maven.plugins:maven-eclipse-plugin:2.10 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-eclipse-plugin:jar:2.10 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-enforcer-plugin:jar:3.0.0-M1 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1: Plugin org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-enforcer-plugin:jar:3.0.0-M1 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-gpg-plugin:jar:1.6 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-gpg-plugin:1.6: Plugin org.apache.maven.plugins:maven-gpg-plugin:1.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-gpg-plugin:jar:1.6 has not been downloaded from it before.
> [INFO]
> [INFO] --------------------< org.apache.mina:mina-parent >---------------------
> [INFO] Building Apache MINA 2.0.19 [1/8]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] ---------------------< org.apache.mina:mina-core >----------------------
> [INFO] Building Apache MINA Core 2.0.19 [2/8]
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ mina-core ---
> [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/mina-core/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mina-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 299 source files to /<<PKGBUILDDIR>>/src/mina-core/target/classes
> [INFO] /<<PKGBUILDDIR>>/src/mina-core/src/main/java/org/apache/mina/core/filterchain/DefaultIoFilterChainBuilder.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/mina-core/src/main/java/org/apache/mina/core/filterchain/DefaultIoFilterChainBuilder.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/src/mina-core/src/main/java/org/apache/mina/core/service/AbstractIoService.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/mina-core/src/main/java/org/apache/mina/core/service/AbstractIoService.java: Recompile with -Xlint:unchecked for details.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ mina-core ---
> [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
> [INFO] Copying 5 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mina-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 66 source files to /<<PKGBUILDDIR>>/src/mina-core/target/test-classes
> [INFO] /<<PKGBUILDDIR>>/src/mina-core/src/test/java/org/apache/mina/filter/stream/AbstractStreamWriteFilterTest.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/mina-core/src/test/java/org/apache/mina/filter/stream/AbstractStreamWriteFilterTest.java: Recompile with -Xlint:deprecation for details.
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ mina-core ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ mina-core ---
> [ERROR] Bundle org.apache.mina:mina-core:bundle:2.0.19 : package info for org.apache.mina.util attribute [version~='2.0.19'], key must be an EXTENDED (CORE1.3.2 [-.\w]+). From null
> [ERROR] Bundle org.apache.mina:mina-core:bundle:2.0.19 : package info for org.apache.mina.util attribute [-noimport:~='true'], key must be an EXTENDED (CORE1.3.2 [-.\w]+). From null
> [ERROR] Error(s) found in bundle configuration
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping Apache MINA
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache MINA 2.0.19:
> [INFO]
> [INFO] Apache MINA ........................................ SUCCESS [ 0.002 s]
> [INFO] Apache MINA Core ................................... FAILURE [ 4.467 s]
> [INFO] Apache MINA APR Transport .......................... SKIPPED
> [INFO] Apache MINA Compression Filter ..................... SKIPPED
> [INFO] Apache MINA JavaBeans Integration .................. SKIPPED
> [INFO] Apache MINA XBean Integration ...................... SKIPPED
> [INFO] Apache MINA OGNL Integration ....................... SKIPPED
> [INFO] Apache MINA JMX Integration ........................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.224 s
> [INFO] Finished at: 2020-09-27T11:17:24Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:3.5.1:bundle (default-bundle) on project mina-core: Error(s) found in bundle configuration -> [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 :mina-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 -f src/pom.xml package javadoc:aggregate -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/2020/09/26/mina2_2.0.19-2_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-java-maintainers
mailing list