Package: src:powermock Version: 1.6.6-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure mh_patchpoms -plibpowermock-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 -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 -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] powermock [pom] [INFO] powermock-reflect [jar] [INFO] powermock-core [jar] [INFO] powermock-api [pom] [INFO] powermock-api-support [jar] [INFO] powermock-api-easymock [jar] [INFO] powermock-api-mockito-common [jar] [INFO] powermock-api-mockito [jar] [INFO] powermock-modules [pom] [INFO] powermock-module-junit4-common [jar] [INFO] powermock-module-junit4 [jar] [INFO] powermock-classloading-base [jar] [INFO] powermock-module-junit4-rule [jar] [INFO] powermock-module-javaagent [jar] [INFO] powermock-module-junit4-rule-agent [jar] [INFO] powermock-module-testng-common [jar] [INFO] powermock-module-testng [jar] [INFO] powermock-module-testng-agent [jar] [INFO] powermock-modules-impl [pom] [INFO] powermock-classloading-module [pom] [INFO] powermock-classloading-objenesis [jar] [INFO] powermock-classloading-xstream [jar] [INFO] [INFO] ----------------------< org.powermock:powermock >----------------------- [INFO] Building powermock 1.6.6 [1/22] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ powermock --- [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] ------------------< org.powermock:powermock-reflect >------------------- [INFO] Building powermock-reflect 1.6.6 [2/22] [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 [INFO] [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ powermock-reflect --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/reflect/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ powermock-reflect --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 27 source files to /<<PKGBUILDDIR>>/reflect/target/classes Use of target 1.6 is no longer supported, switching to 7 Use of source 1.6 is no longer supported, switching to 7 [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java: /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java uses or overrides a deprecated API. [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java: Recompile with -Xlint:deprecation for details. [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java: /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java uses or overrides a deprecated API that is marked for removal. [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java: Recompile with -Xlint:removal for details. [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/Whitebox.java: /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/Whitebox.java uses unchecked or unsafe operations. [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/Whitebox.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ powermock-reflect --- [INFO] [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ powermock-reflect --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ powermock-reflect --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ powermock-reflect --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ powermock-reflect --- [INFO] Building jar: /<<PKGBUILDDIR>>/reflect/target/powermock-reflect-1.6.6.jar [INFO] [INFO] --------------------< org.powermock:powermock-core >-------------------- [INFO] Building powermock-core 1.6.6 [3/22] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian [INFO] [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ powermock-core --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/core/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ powermock-core --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 85 source files to /<<PKGBUILDDIR>>/core/target/classes Use of target 1.6 is no longer supported, switching to 7 Use of source 1.6 is no longer supported, switching to 7 [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/core/classloader/MockClassLoader.java: Some input files use or override a deprecated API. [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/core/classloader/MockClassLoader.java: Recompile with -Xlint:deprecation for details. [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/tests/utils/impl/MockClassLoaderFactory.java: Some input files use or override a deprecated API that is marked for removal. [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/tests/utils/impl/MockClassLoaderFactory.java: Recompile with -Xlint:removal for details. [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/tests/utils/ArrayMerger.java: /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/tests/utils/ArrayMerger.java uses unchecked or unsafe operations. [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/tests/utils/ArrayMerger.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/core/ClassReplicaCreator.java:[99,36] incompatible types: java.lang.Class<capture#1 of ?> cannot be converted to java.lang.Class<T> [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for powermock 1.6.6: [INFO] [INFO] powermock .......................................... SUCCESS [ 0.513 s] [INFO] powermock-reflect .................................. SUCCESS [ 2.494 s] [INFO] powermock-core ..................................... FAILURE [ 0.770 s] [INFO] powermock-api ...................................... SKIPPED [INFO] powermock-api-support .............................. SKIPPED [INFO] powermock-api-easymock ............................. SKIPPED [INFO] powermock-api-mockito-common ....................... SKIPPED [INFO] powermock-api-mockito .............................. SKIPPED [INFO] powermock-modules .................................. SKIPPED [INFO] powermock-module-junit4-common ..................... SKIPPED [INFO] powermock-module-junit4 ............................ SKIPPED [INFO] powermock-classloading-base ........................ SKIPPED [INFO] powermock-module-junit4-rule ....................... SKIPPED [INFO] powermock-module-javaagent ......................... SKIPPED [INFO] powermock-module-junit4-rule-agent ................. SKIPPED [INFO] powermock-module-testng-common ..................... SKIPPED [INFO] powermock-module-testng ............................ SKIPPED [INFO] powermock-module-testng-agent ...................... SKIPPED [INFO] powermock-modules-impl ............................. SKIPPED [INFO] powermock-classloading-module ...................... SKIPPED [INFO] powermock-classloading-objenesis ................... SKIPPED [INFO] powermock-classloading-xstream ..................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.993 s [INFO] Finished at: 2024-05-24T23:47:51Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project powermock-core: Compilation failure [ERROR] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/core/ClassReplicaCreator.java:[99,36] incompatible types: java.lang.Class<capture#1 of ?> cannot be converted to java.lang.Class<T> [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 :powermock-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 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 make: *** [debian/rules:6: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202405/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.