Bug#728171: plexus-containers1.5: FTBFS: Compilation errors (incompatible types)

Daniel Schepler dschepler at gmail.com
Tue Oct 29 02:22:35 UTC 2013


Source: plexus-containers1.5
Version: 1.5.5-5
Severity: serious

>From my pbuilder build log:

...
mvn-generate:

mvn-generate2:

compile:
    [mkdir] Created dir: /tmp/buildd/plexus-containers1.5-1.5.5/plexus-container-default/target/generated-sources
    [javac] /usr/share/maven-ant-helper/maven-build.xml:337: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 179 source files to /tmp/buildd/plexus-containers1.5-1.5.5/plexus-container-default/target/classes
    [javac] /tmp/buildd/plexus-containers1.5-1.5.5/plexus-container-default/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java:192: error: incompatible types
    [javac]                 roleClass = getRealm().loadClass( getRole() );
    [javac]                                                 ^
    [javac]   required: Class<T>
    [javac]   found:    Class<CAP#1>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class ComponentDescriptor
    [javac]   where CAP#1 is a fresh type-variable:
    [javac]     CAP#1 extends Object from capture of ?
    [javac] /tmp/buildd/plexus-containers1.5-1.5.5/plexus-container-default/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java:302: error: incompatible types
    [javac]                 implementationClass = getRealm().loadClass( getImplementation() );
    [javac]                                                           ^
    [javac]   required: Class<? extends T>
    [javac]   found:    Class<CAP#1>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class ComponentDescriptor
    [javac]   where CAP#1 is a fresh type-variable:
    [javac]     CAP#1 extends Object from capture of ?
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
/tmp/buildd/plexus-containers1.5-1.5.5/debian/build.xml:47: The following error occurred while executing this line:
/tmp/buildd/plexus-containers1.5-1.5.5/debian/build.xml:22: The following error occurred while executing this line:
/usr/share/maven-ant-helper/maven-build.xml:337: Compile failed; see the compiler error output for details.

Total time: 3 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-java-maintainers mailing list