Bug#733379: libonemind-commons-java-java: FTBFS: [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:28: error: package javax.servlet does not exist
David Suárez
david.sephirot at gmail.com
Sat Dec 28 18:00:32 UTC 2013
Source: libonemind-commons-java-java
Version: 1.5.5-4
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64
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 -- jar javadoc
> Buildfile: /«PKGBUILDDIR»/build.xml
>
> init:
>
> get-deps:
>
> compile:
> [mkdir] Created dir: /«PKGBUILDDIR»/target/classes
> [javac] /«PKGBUILDDIR»/build.xml:48: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 58 source files to /«PKGBUILDDIR»/target/classes
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:28: error: package javax.servlet does not exist
> [javac] import javax.servlet.ServletConfig;
> [javac] ^
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:29: error: package javax.servlet.http does not exist
> [javac] import javax.servlet.http.HttpServletRequest;
> [javac] ^
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:30: error: package javax.servlet.http does not exist
> [javac] import javax.servlet.http.HttpSession;
> [javac] ^
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:32: warning: [deprecation] DiskFileUpload in org.apache.commons.fileupload has been deprecated
> [javac] import org.apache.commons.fileupload.DiskFileUpload;
> [javac] ^
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:54: error: cannot find symbol
> [javac] public static Map getRequestEnvironment(HttpServletRequest req)
> [javac] ^
> [javac] symbol: class HttpServletRequest
> [javac] location: class ServletUtils
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:89: error: cannot find symbol
> [javac] public static Map getExtraRequestEnvironment(HttpServletRequest req)
> [javac] ^
> [javac] symbol: class HttpServletRequest
> [javac] location: class ServletUtils
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:113: error: cannot find symbol
> [javac] public static Map getServletEnvironment(ServletConfig config)
> [javac] ^
> [javac] symbol: class ServletConfig
> [javac] location: class ServletUtils
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:125: error: cannot find symbol
> [javac] public static Map getRequestParameters(HttpServletRequest req, DiskFileUpload upload) throws FileUploadException
> [javac] ^
> [javac] symbol: class HttpServletRequest
> [javac] location: class ServletUtils
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:125: warning: [deprecation] DiskFileUpload in org.apache.commons.fileupload has been deprecated
> [javac] public static Map getRequestParameters(HttpServletRequest req, DiskFileUpload upload) throws FileUploadException
> [javac] ^
> [javac] /«PKGBUILDDIR»/src/java/org/onemind/commons/java/util/ServletUtils.java:128: error: cannot access HttpServletRequest
> [javac] if (FileUpload.isMultipartContent(req))
> [javac] ^
> [javac] class file for javax.servlet.http.HttpServletRequest not found
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 8 errors
> [javac] 2 warnings
>
> BUILD FAILED
> /«PKGBUILDDIR»/build.xml:48: Compile failed; see the compiler error output for details.
>
> Total time: 4 seconds
> dh_auto_build: ant jar javadoc returned exit code 1
> make[1]: *** [override_dh_auto_build] Error 2
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/12/26/libonemind-commons-java-java_1.5.5-4_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