Source: apache-log4j2 Version: 2.4-1 Severity: serious Justification: fails to build from source User: [email protected] Usertags: ftbfs X-Debbugs-Cc: [email protected]
Dear Maintainer,
apache-log4j2 fails to build from source in unstable/amd64:
[..]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Log4j Web 2.4
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
log4j-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ log4j-web ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] symbol: class ServletContainerInitializer
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java:[165,89]
[unchecked] unchecked conversion
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[21,20]
error: cannot find symbol
[ERROR] symbol: class DispatcherType
location: package javax.servlet
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[22,20]
error: cannot find symbol
[ERROR] symbol: class FilterRegistration
location: package javax.servlet
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[23,20]
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
location: package javax.servlet
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[35,57]
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[21,20]
error: cannot find symbol
[ERROR] symbol: class DispatcherType
location: package javax.servlet
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[22,20]
error: cannot find symbol
[ERROR] symbol: class FilterRegistration
location: package javax.servlet
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[23,20]
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
location: package javax.servlet
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[35,57]
error: cannot find symbol
[ERROR] required: Set<String>
found: Set
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java:[258,38]
error: cannot find symbol
[ERROR] symbol: method getClassLoader()
location: variable servletContext of type ServletContext
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[41,66]
error: cannot find symbol
[ERROR] symbol: method getEffectiveMajorVersion()
location: variable servletContext of type ServletContext
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[47,36]
error: package FilterRegistration does not exist
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[48,34]
error: cannot find symbol
[ERROR] symbol: method addFilter(String,Class<Log4jServletFilter>)
location: variable servletContext of type ServletContext
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[60,26]
error: cannot find symbol
[ERROR] symbol: method addListener(Log4jServletContextListener)
location: variable servletContext of type ServletContext
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[63,58]
error: cannot find symbol
[ERROR] symbol: class DispatcherType
location: class Log4jServletContainerInitializer
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[39,4]
error: method does not override or implement a method from a supertype
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java:[83,37]
error: cannot find symbol
[ERROR] symbol: method getEffectiveMajorVersion()
location: variable ctx of type ServletContext
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java:[87,37]
error: cannot find symbol
[INFO] 17 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 0.003
s]
[INFO] Apache Log4j API ................................... SUCCESS [ 4.472
s]
[INFO] Apache Log4j Core .................................. SUCCESS [ 10.534
s]
[INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [ 1.412
s]
[INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [ 1.010
s]
[INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [ 0.778
s]
[INFO] Apache Log4j BOM ................................... SUCCESS [ 0.001
s]
[INFO] Apache Log4j NoSQL ................................. SUCCESS [ 2.465
s]
[INFO] Apache Log4j Web ................................... FAILURE [ 1.204
s]
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23.106 s
[INFO] Finished at: 2016-01-01T23:00:09+00:00
[INFO] Final Memory: 18M/674M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
project log4j-web: Compilation failure: Compilation failure:
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[21,20]
error: cannot find symbol
[ERROR] symbol: class DispatcherType
[ERROR] location: package javax.servlet
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[22,20]
error: cannot find symbol
[ERROR] symbol: class FilterRegistration
[ERROR] location: package javax.servlet
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[23,20]
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
[ERROR] location: package javax.servlet
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[35,57]
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[21,20]
error: cannot find symbol
[ERROR] symbol: class DispatcherType
[ERROR] location: package javax.servlet
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[22,20]
error: cannot find symbol
[ERROR] symbol: class FilterRegistration
[ERROR] location: package javax.servlet
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[23,20]
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
[ERROR] location: package javax.servlet
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[35,57]
error: cannot find symbol
[ERROR] required: Set<String>
[ERROR] found: Set
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java:[258,38]
error: cannot find symbol
[ERROR] symbol: method getClassLoader()
[ERROR] location: variable servletContext of type ServletContext
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[41,66]
error: cannot find symbol
[ERROR] symbol: method getEffectiveMajorVersion()
[ERROR] location: variable servletContext of type ServletContext
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[47,36]
error: package FilterRegistration does not exist
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[48,34]
error: cannot find symbol
[ERROR] symbol: method addFilter(String,Class<Log4jServletFilter>)
[ERROR] location: variable servletContext of type ServletContext
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[60,26]
error: cannot find symbol
[ERROR] symbol: method addListener(Log4jServletContextListener)
[ERROR] location: variable servletContext of type ServletContext
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[63,58]
error: cannot find symbol
[ERROR] symbol: class DispatcherType
[ERROR] location: class Log4jServletContainerInitializer
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletContainerInitializer.java:[39,4]
error: method does not override or implement a method from a supertype
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java:[83,37]
error: cannot find symbol
[ERROR] symbol: method getEffectiveMajorVersion()
[ERROR] location: variable ctx of type ServletContext
[ERROR]
/home/lamby/temp/cdt.20160101225527.9vWG2lDEkx/apache-log4j2-2.4/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java:[87,37]
error: cannot find symbol
[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 :log4j-web
/usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
apache-log4j2.2.4-1.unstable.amd64.log.txt.gz
Description: Binary data

