Bug#733364: libjxp-java: FTBFS: [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:29: error: package javax.servlet does not exist

David Suárez david.sephirot at gmail.com
Sat Dec 28 17:59:38 UTC 2013


Source: libjxp-java
Version: 1.6.1-3
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»'
> DISPLAY="" 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 170 source files to /«PKGBUILDDIR»/target/classes
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:29: error: package javax.servlet does not exist
>     [javac] import javax.servlet.ServletConfig;
>     [javac]                     ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:30: error: package javax.servlet does not exist
>     [javac] import javax.servlet.ServletException;
>     [javac]                     ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:31: error: package javax.servlet.http does not exist
>     [javac] import javax.servlet.http.*;
>     [javac] ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.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/jxp/servlet/JxpServlet.java:41: error: cannot find symbol
>     [javac] public class JxpServlet extends HttpServlet
>     [javac]                                 ^
>     [javac]   symbol: class HttpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:62: error: cannot find symbol
>     [javac]     protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
>     [javac]                          ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:62: error: cannot find symbol
>     [javac]     protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
>     [javac]                                                  ^
>     [javac]   symbol:   class HttpServletResponse
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:62: error: cannot find symbol
>     [javac]     protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
>     [javac]                                                                                   ^
>     [javac]   symbol:   class ServletException
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:82: error: cannot find symbol
>     [javac]     private JxpProcessor getProcessor(HttpServletRequest req) throws Exception
>     [javac]                                       ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:108: error: cannot find symbol
>     [javac]     protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
>     [javac]                           ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:108: error: cannot find symbol
>     [javac]     protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
>     [javac]                                                   ^
>     [javac]   symbol:   class HttpServletResponse
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:108: error: cannot find symbol
>     [javac]     protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
>     [javac]                                                                                    ^
>     [javac]   symbol:   class ServletException
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:164: error: cannot find symbol
>     [javac]     private void dumpDebugInfo(HttpServletRequest req, HttpServletResponse resp, Map env) throws IOException
>     [javac]                                ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:164: error: cannot find symbol
>     [javac]     private void dumpDebugInfo(HttpServletRequest req, HttpServletResponse resp, Map env) throws IOException
>     [javac]                                                        ^
>     [javac]   symbol:   class HttpServletResponse
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:180: error: cannot find symbol
>     [javac]     public void init(ServletConfig config) throws ServletException
>     [javac]                      ^
>     [javac]   symbol:   class ServletConfig
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:180: error: cannot find symbol
>     [javac]     public void init(ServletConfig config) throws ServletException
>     [javac]                                                   ^
>     [javac]   symbol:   class ServletException
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/ant/JxpAntTask.java:77: warning: [deprecation] project in ProjectComponent has been deprecated
>     [javac]         env.putAll(project.getProperties());
>     [javac]                    ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:57: warning: [deprecation] DiskFileUpload in org.apache.commons.fileupload has been deprecated
>     [javac]     private DiskFileUpload _uploadRepository;
>     [javac]             ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:110: error: cannot find symbol
>     [javac]         Map env = ServletUtils.getServletEnvironment(getServletConfig());
>     [javac]                                                      ^
>     [javac]   symbol:   method getServletConfig()
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:182: error: cannot find symbol
>     [javac]         super.init(config);
>     [javac]         ^
>     [javac]   symbol:   variable super
>     [javac]   location: class JxpServlet
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:186: warning: [deprecation] DiskFileUpload in org.apache.commons.fileupload has been deprecated
>     [javac]         _uploadRepository = new DiskFileUpload();
>     [javac]                                 ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:186: warning: [deprecation] DiskFileUpload() in DiskFileUpload has been deprecated
>     [javac]         _uploadRepository = new DiskFileUpload();
>     [javac]                             ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:188: warning: [deprecation] setRepositoryPath(String) in DiskFileUpload has been deprecated
>     [javac]         _uploadRepository.setRepositoryPath(System.getProperty("java.io.tmpdir"));
>     [javac]                          ^
>     [javac] /«PKGBUILDDIR»/src/java/org/onemind/jxp/servlet/JxpServlet.java:189: warning: [deprecation] setSizeThreshold(int) in DiskFileUpload has been deprecated
>     [javac]         _uploadRepository.setSizeThreshold(1000000); //file > 1 meg write to disk
>     [javac]                          ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 17 errors
>     [javac] 7 warnings
> 
> BUILD FAILED
> /«PKGBUILDDIR»/build.xml:48: Compile failed; see the compiler error output for details.
> 
> Total time: 8 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/libjxp-java_1.6.1-3_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