Bug#828822: httpcomponents-asyncclient: FTBFS: Cannot find symbol org.apache.http.annotation.ThreadSafe

Daniel Schepler dschepler at gmail.com
Tue Jun 28 07:12:06 UTC 2016


Source: httpcomponents-asyncclient
Version: 4.1-1
Severity: serious

>From my pbuilder build log:

...
[INFO] Reactor Summary:
[INFO]
[INFO] Apache HttpComponents AsyncClient .................. SUCCESS [  0.003 s]
[INFO] Apache HttpAsyncClient ............................. FAILURE [  1.743 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.862 s
[INFO] Finished at: 2016-06-27T19:38:08+00:00
[INFO] Final Memory: 12M/159M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
(default-compile) on project httpasyncclient: Compilation failure:
Compilation failure:
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/CloseableHttpAsyncClient.java:[36,34]
cannot find symbol
[ERROR] symbol:   class ThreadSafe
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/CloseableHttpAsyncClient.java:[55,2]
cannot find symbol
[ERROR] symbol: class ThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/CloseableHttpPipeliningClient.java:[36,34]
cannot find symbol
[ERROR] symbol:   class ThreadSafe
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/CloseableHttpPipeliningClient.java:[52,2]
cannot find symbol
[ERROR] symbol: class ThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java:[38,34]
cannot find symbol
[ERROR] symbol:   class NotThreadSafe
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java:[45,2]
cannot find symbol
[ERROR] symbol: class NotThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolEntry.java:[34,34]
cannot find symbol
[ERROR] symbol:   class ThreadSafe
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolEntry.java:[39,2]
cannot find symbol
[ERROR] symbol: class ThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/conn/AsyncSchemeRegistryFactory.java:[29,34]
cannot find symbol
[ERROR] symbol:   class ThreadSafe
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java-deprecated/org/apache/http/impl/nio/conn/AsyncSchemeRegistryFactory.java:[35,2]
cannot find symbol
[ERROR] symbol: class ThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/MinimalHttpAsyncClientBuilder.java:[58,2]
cannot find symbol
[ERROR] symbol: class NotThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClients.java:[30,34]
cannot find symbol
[ERROR] symbol:   class Immutable
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClients.java:[42,2]
cannot find symbol
[ERROR] symbol: class Immutable
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java:[145,2]
cannot find symbol
[ERROR] symbol: class NotThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/DefaultAsyncUserTokenHandler.java:[58,2]
cannot find symbol
[ERROR] symbol: class Immutable
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java:[33,34]
cannot find symbol
[ERROR] symbol:   class ThreadSafe
[ERROR] location: package org.apache.http.annotation
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java:[42,2]
cannot find symbol
[ERROR] symbol: class ThreadSafe
[ERROR] /build/httpcomponents-asyncclient-4.1/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java:[91,2]
cannot find symbol
[ERROR] symbol: class ThreadSafe
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :httpasyncclient
/usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-java-maintainers mailing list