Bug#809619: apache-log4j2: FTBFS: web/Log4jServletContainerInitializer.java:[21, 20] error: cannot find symbol: DispatcherType

2016-01-09 Thread Markus Koschany
Control: owner -1 !

On Fri, 01 Jan 2016 23:03:33 + Chris Lamb  wrote:
> Source: apache-log4j2
> Version: 2.4-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> apache-log4j2 fails to build from source in unstable/amd64:
> 

I'll take care of this.

Markus



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#809619: apache-log4j2: FTBFS: web/Log4jServletContainerInitializer.java:[21, 20] error: cannot find symbol: DispatcherType

2016-01-01 Thread Chris Lamb
Source: apache-log4j2
Version: 2.4-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

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
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)
location: variable servletContext of type ServletContext
  
/home/lamby/temp/cdt.20160101225