Bug#713195: libstruts1.2-java: FTBFS: org.apache.struts.upload.MultipartRequestWrapper is not abstract and does not override abstract method getPart(java.lang.String) in javax.servlet.http.HttpServletRequest

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 12:02:29 UTC 2013


Source: libstruts1.2-java
Version: 1.2.9-5
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xml-apis.jar:/usr/share/java/xalan2.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true    -propertyfile /«PKGBUILDDIR»/debian/ant.properties 
> Buildfile: /«PKGBUILDDIR»/build.xml
> 
> init:
>      [echo] --------- struts 1.2.9 ---------
>      [echo] 
>      [echo] java.class.path = /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xml-apis.jar:/usr/share/java/xalan2.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/lib/jvm/default-java/lib/tools.jar
>      [echo] java.home = /usr/lib/jvm/java-6-openjdk-amd64/jre
>      [echo] user.home = /sbuild-nonexistent
> 
> prepare.library:
>     [mkdir] Created dir: /«PKGBUILDDIR»/target/library/classes/META-INF
>     [mkdir] Created dir: /«PKGBUILDDIR»/target/library/classes/META-INF/tlds
>     [mkdir] Created dir: /«PKGBUILDDIR»/target/library/classes/org/apache/struts/resources
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library/classes/META-INF
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library/classes/META-INF
>      [copy] Copying 6 files to /«PKGBUILDDIR»/target/library/classes/org/apache/struts/resources
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/conf
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
>      [copy] Copying 1 file to /«PKGBUILDDIR»/target/library
> 
> compile.library:
>     [javac] /«PKGBUILDDIR»/build.xml:402: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 277 source files to /«PKGBUILDDIR»/target/library/classes
>     [javac] 
>     [javac]           WARNING
>     [javac] 
>     [javac] The -source switch defaults to 1.5 in JDK 1.5 and 1.6.
>     [javac] If you specify -target 1.3 you now must also specify -source 1.3.
>     [javac] Ant will implicitly add -source 1.3 for you.  Please change your build file.
>     [javac] /«PKGBUILDDIR»/src/share/org/apache/struts/tiles/ComponentDefinition.java:276: warning: unmappable character for encoding ASCII
>     [javac]      * @param content Attribute value ???
>     [javac]                                       ^
>     [javac] /«PKGBUILDDIR»/src/share/org/apache/struts/tiles/ComponentDefinition.java:276: warning: unmappable character for encoding ASCII
>     [javac]      * @param content Attribute value ???
>     [javac]                                        ^
>     [javac] /«PKGBUILDDIR»/src/share/org/apache/struts/tiles/ComponentDefinition.java:276: warning: unmappable character for encoding ASCII
>     [javac]      * @param content Attribute value ???
>     [javac]                                         ^
>     [javac] /«PKGBUILDDIR»/src/share/org/apache/struts/upload/MultipartRequestWrapper.java:56: org.apache.struts.upload.MultipartRequestWrapper is not abstract and does not override abstract method getPart(java.lang.String) in javax.servlet.http.HttpServletRequest
>     [javac] public class MultipartRequestWrapper implements HttpServletRequest {
>     [javac]        ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 error
>     [javac] 3 warnings
> 
> BUILD FAILED
> /«PKGBUILDDIR»/build.xml:402: Compile failed; see the compiler error output for details.
> 
> Total time: 8 seconds
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/libstruts1.2-java_1.2.9-5_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