Bug#880829: plexus-containers FTBFS: ComponentDescriptor.java:[192, 44] incompatible types: java.lang.Class<capture#1 of ?> cannot be converted to java.lang.Class<? extends T>

Adrian Bunk bunk at debian.org
Sat Nov 4 22:42:28 UTC 2017


Source: plexus-containers
Version: 1.0~beta3.0.7-9
Severity: serious

Some recent change in unstable makes plexus-containers FTBFS:

https://tests.reproducible-builds.org/debian/history/plexus-containers.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/plexus-containers.html

...
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/1st/plexus-containers-1.0~beta3.0.7/plexus-container-default/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java:[192,44] incompatible types: java.lang.Class<capture#1 of ?> cannot be converted to java.lang.Class<? extends T>
[ERROR] /build/1st/plexus-containers-1.0~beta3.0.7/plexus-container-default/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java:[302,54] incompatible types: java.lang.Class<capture#2 of ?> cannot be converted to java.lang.Class<? extends T>
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Parent :: Plexus Containers
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Parent :: Plexus Containers ........................ SUCCESS [  1.047 s]
[INFO] Plexus :: Component Annotations .................... SUCCESS [  3.817 s]
[INFO] Plexus :: Default Container ........................ FAILURE [  1.620 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.915 s
[INFO] Finished at: 2017-11-02T20:56:22-12:00
[INFO] Final Memory: 24M/667M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project plexus-container-default: Compilation failure: Compilation failure: 
[ERROR] /build/1st/plexus-containers-1.0~beta3.0.7/plexus-container-default/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java:[192,44] incompatible types: java.lang.Class<capture#1 of ?> cannot be converted to java.lang.Class<? extends T>
[ERROR] /build/1st/plexus-containers-1.0~beta3.0.7/plexus-container-default/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java:[302,54] incompatible types: java.lang.Class<capture#2 of ?> cannot be converted to java.lang.Class<? extends 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 <goals> -rf :plexus-container-default
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/plexus-containers-1.0\~beta3.0.7 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/plexus-containers-1.0\~beta3.0.7/debian -Dmaven.repo.local=/build/1st/plexus-containers-1.0\~beta3.0.7/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2



More information about the pkg-java-maintainers mailing list