Bug#755344: openid4java: FTBFS: [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:18: error: package javax.servlet.http does not exist

David Suárez david.sephirot at gmail.com
Sat Jul 19 18:33:07 UTC 2014


Source: openid4java
Version: 0.9.6.662-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140718 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):
>  debian/rules build
> dh --with javahelper build
>    dh_testdir
>    dh_auto_configure
>    jh_linkjars
>    dh_auto_build
> Buildfile: /«PKGBUILDDIR»/build.xml
> 
> dist_type:
> 
> create_paths:
> 
> prepare:
>     [mkdir] Created dir: /«PKGBUILDDIR»/build
> 
> compile:
>     [mkdir] Created dir: /«PKGBUILDDIR»/build/classes
>     [javac] Compiling 90 source files to /«PKGBUILDDIR»/build/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:18: error: package javax.servlet.http does not exist
>     [javac] import javax.servlet.http.HttpServletRequest;
>     [javac]                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:19: error: package javax.servlet.http does not exist
>     [javac] import javax.servlet.http.HttpServletResponse;
>     [javac]                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:20: error: package javax.servlet.http does not exist
>     [javac] import javax.servlet.http.HttpSession;
>     [javac]                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:56: error: cannot find symbol
>     [javac]                               HttpServletRequest httpReq,
>     [javac]                               ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class SampleConsumer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:57: error: cannot find symbol
>     [javac]                               HttpServletResponse httpResp)
>     [javac]                               ^
>     [javac]   symbol:   class HttpServletResponse
>     [javac]   location: class SampleConsumer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:124: error: cannot find symbol
>     [javac]     public Identifier verifyResponse(HttpServletRequest httpReq)
>     [javac]                                      ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class SampleConsumer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:20: error: package javax.servlet.http does not exist
>     [javac] import javax.servlet.http.HttpServletRequest;
>     [javac]                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:21: error: package javax.servlet.http does not exist
>     [javac] import javax.servlet.http.HttpServletResponse;
>     [javac]                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:22: error: package javax.servlet does not exist
>     [javac] import javax.servlet.ServletOutputStream;
>     [javac]                     ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:50: error: cannot find symbol
>     [javac]     public String processRequest(HttpServletRequest httpReq,
>     [javac]                                  ^
>     [javac]   symbol:   class HttpServletRequest
>     [javac]   location: class SampleServer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:51: error: cannot find symbol
>     [javac]                                  HttpServletResponse httpResp)
>     [javac]                                  ^
>     [javac]   symbol:   class HttpServletResponse
>     [javac]   location: class SampleServer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:193: error: cannot find symbol
>     [javac]     private String directResponse(HttpServletResponse httpResp, String response)
>     [javac]                                   ^
>     [javac]   symbol:   class HttpServletResponse
>     [javac]   location: class SampleServer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:17: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac] import org.apache.http.client.params.AllClientPNames;
>     [javac]                                     ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:14: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac] import org.apache.http.client.params.AllClientPNames;
>     [javac]                                     ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:15: warning: [deprecation] ClientConnectionManager in org.apache.http.conn has been deprecated
>     [javac] import org.apache.http.conn.ClientConnectionManager;
>     [javac]                            ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:16: warning: [deprecation] ConnRoutePNames in org.apache.http.conn.params has been deprecated
>     [javac] import org.apache.http.conn.params.ConnRoutePNames;
>     [javac]                                   ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:17: warning: [deprecation] PlainSocketFactory in org.apache.http.conn.scheme has been deprecated
>     [javac] import org.apache.http.conn.scheme.PlainSocketFactory;
>     [javac]                                   ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:18: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated
>     [javac] import org.apache.http.conn.scheme.Scheme;
>     [javac]                                   ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:19: warning: [deprecation] SchemeRegistry in org.apache.http.conn.scheme has been deprecated
>     [javac] import org.apache.http.conn.scheme.SchemeRegistry;
>     [javac]                                   ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:20: warning: [deprecation] SSLSocketFactory in org.apache.http.conn.ssl has been deprecated
>     [javac] import org.apache.http.conn.ssl.SSLSocketFactory;
>     [javac]                                ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:22: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated
>     [javac] import org.apache.http.impl.client.DefaultHttpClient;
>     [javac]                                   ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:23: warning: [deprecation] SingleClientConnManager in org.apache.http.impl.conn has been deprecated
>     [javac] import org.apache.http.impl.conn.SingleClientConnManager;
>     [javac]                                 ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:24: warning: [deprecation] ThreadSafeClientConnManager in org.apache.http.impl.conn.tsccm has been deprecated
>     [javac] import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
>     [javac]                                       ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:25: warning: [deprecation] BasicHttpParams in org.apache.http.params has been deprecated
>     [javac] import org.apache.http.params.BasicHttpParams;
>     [javac]                              ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:26: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated
>     [javac] import org.apache.http.params.HttpParams;
>     [javac]                              ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:9: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac] import org.apache.http.client.params.AllClientPNames;
>     [javac]                                     ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/consumer/SampleConsumer.java:155: error: cannot find symbol
>     [javac]                 HttpSession session = httpReq.getSession(true);
>     [javac]                 ^
>     [javac]   symbol:   class HttpSession
>     [javac]   location: class SampleConsumer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/server/SampleServer.java:196: error: cannot find symbol
>     [javac]         ServletOutputStream os = httpResp.getOutputStream();
>     [javac]         ^
>     [javac]   symbol:   class ServletOutputStream
>     [javac]   location: class SampleServer
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:133: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]             get.getParams().setParameter(AllClientPNames.HANDLE_REDIRECTS, Boolean.TRUE);
>     [javac]                                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:133: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]             get.getParams().setParameter(AllClientPNames.HANDLE_REDIRECTS, Boolean.TRUE);
>     [javac]                ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:183: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]           post.getParams().setBooleanParameter(AllClientPNames.HANDLE_REDIRECTS, false);
>     [javac]                                                ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:183: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]           post.getParams().setBooleanParameter(AllClientPNames.HANDLE_REDIRECTS, false);
>     [javac]               ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:332: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]             head.getParams().setParameter(AllClientPNames.HANDLE_REDIRECTS, Boolean.TRUE);
>     [javac]                                           ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpCache.java:332: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]             head.getParams().setParameter(AllClientPNames.HANDLE_REDIRECTS, Boolean.TRUE);
>     [javac]                 ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:86: warning: [deprecation] HttpParams in org.apache.http.params has been deprecated
>     [javac]         HttpParams httpParams = new BasicHttpParams();
>     [javac]         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:86: warning: [deprecation] BasicHttpParams in org.apache.http.params has been deprecated
>     [javac]         HttpParams httpParams = new BasicHttpParams();
>     [javac]                                     ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:88: warning: [deprecation] SchemeRegistry in org.apache.http.conn.scheme has been deprecated
>     [javac]         SchemeRegistry registry = new SchemeRegistry();
>     [javac]         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:88: warning: [deprecation] SchemeRegistry in org.apache.http.conn.scheme has been deprecated
>     [javac]         SchemeRegistry registry = new SchemeRegistry();
>     [javac]                                       ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:90: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated
>     [javac]         registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
>     [javac]                               ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:90: warning: [deprecation] PlainSocketFactory in org.apache.http.conn.scheme has been deprecated
>     [javac]         registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
>     [javac]                                              ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:90: warning: [deprecation] Scheme(String,SocketFactory,int) in Scheme has been deprecated
>     [javac]         registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
>     [javac]                           ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:91: warning: [deprecation] SSLSocketFactory in org.apache.http.conn.ssl has been deprecated
>     [javac]         SSLSocketFactory sslSocketFactory;
>     [javac]         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:94: warning: [deprecation] SSLSocketFactory in org.apache.http.conn.ssl has been deprecated
>     [javac]         	sslSocketFactory = SSLSocketFactory.getSocketFactory();
>     [javac]         	                   ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:98: warning: [deprecation] SSLSocketFactory in org.apache.http.conn.ssl has been deprecated
>     [javac]         	sslSocketFactory = new SSLSocketFactory(sslContext);
>     [javac]         	                       ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:104: warning: [deprecation] Scheme in org.apache.http.conn.scheme has been deprecated
>     [javac]         registry.register(new Scheme("https", sslSocketFactory, 443));
>     [javac]                               ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:104: warning: [deprecation] Scheme(String,SocketFactory,int) in Scheme has been deprecated
>     [javac]         registry.register(new Scheme("https", sslSocketFactory, 443));
>     [javac]                           ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:106: warning: [deprecation] ClientConnectionManager in org.apache.http.conn has been deprecated
>     [javac]         ClientConnectionManager connManager;
>     [javac]         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:108: warning: [deprecation] ThreadSafeClientConnManager in org.apache.http.impl.conn.tsccm has been deprecated
>     [javac]             connManager = new ThreadSafeClientConnManager(httpParams, registry);
>     [javac]                               ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:108: warning: [deprecation] ThreadSafeClientConnManager(HttpParams,SchemeRegistry) in ThreadSafeClientConnManager has been deprecated
>     [javac]             connManager = new ThreadSafeClientConnManager(httpParams, registry);
>     [javac]                           ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:110: warning: [deprecation] SingleClientConnManager in org.apache.http.impl.conn has been deprecated
>     [javac]             connManager = new SingleClientConnManager(httpParams, registry);
>     [javac]                               ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:110: warning: [deprecation] SingleClientConnManager(HttpParams,SchemeRegistry) in SingleClientConnManager has been deprecated
>     [javac]             connManager = new SingleClientConnManager(httpParams, registry);
>     [javac]                           ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:112: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated
>     [javac]         DefaultHttpClient client = new DefaultHttpClient(connManager, httpParams);
>     [javac]         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:112: warning: [deprecation] DefaultHttpClient in org.apache.http.impl.client has been deprecated
>     [javac]         DefaultHttpClient client = new DefaultHttpClient(connManager, httpParams);
>     [javac]                                        ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:114: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         client.getParams().setParameter(AllClientPNames.MAX_REDIRECTS,
>     [javac]                                         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:116: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         client.getParams().setParameter(AllClientPNames.ALLOW_CIRCULAR_REDIRECTS,
>     [javac]                                         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:118: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         client.getParams().setParameter(AllClientPNames.SO_TIMEOUT,
>     [javac]                                         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:120: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         client.getParams().setParameter(AllClientPNames.CONNECTION_TIMEOUT,
>     [javac]                                         ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:129: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]             client.getParams().setParameter(AllClientPNames.COOKIE_POLICY,
>     [javac]                                             ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpClientFactory.java:140: warning: [deprecation] ConnRoutePNames in org.apache.http.conn.params has been deprecated
>     [javac] 	        client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
>     [javac] 	                                        ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:39: warning: [deprecation] consumeContent() in HttpEntity has been deprecated
>     [javac]                 entity.consumeContent();
>     [javac]                       ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:50: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.MAX_REDIRECTS,
>     [javac]                                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:50: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.MAX_REDIRECTS,
>     [javac]                ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:52: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.SO_TIMEOUT,
>     [javac]                                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:52: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.SO_TIMEOUT,
>     [javac]                ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:54: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.CONNECTION_TIMEOUT,
>     [javac]                                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:54: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.CONNECTION_TIMEOUT,
>     [javac]                ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:56: warning: [deprecation] AllClientPNames in org.apache.http.client.params has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.ALLOW_CIRCULAR_REDIRECTS,
>     [javac]                                          ^
>     [javac] /«PKGBUILDDIR»/src/org/openid4java/util/HttpUtils.java:56: warning: [deprecation] getParams() in AbstractHttpMessage has been deprecated
>     [javac]         request.getParams().setParameter(AllClientPNames.ALLOW_CIRCULAR_REDIRECTS,
>     [javac]                ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 14 errors
>     [javac] 55 warnings
> 
> BUILD FAILED
> /«PKGBUILDDIR»/build.xml:81: Compile failed; see the compiler error output for details.
> 
> Total time: 3 seconds
> dh_auto_build: ant returned exit code 1
> make: *** [build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/07/18/openid4java_0.9.6.662-1_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