Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876778 - dev-java/logback-classic-1.2.11 - bad class file: /usr/share/tomcat-servlet-api-3.1/lib/tomcat-servlet-api.jar(javax/servlet/Servl
Summary: dev-java/logback-classic-1.2.11 - bad class file: /usr/share/tomcat-servlet-a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-11 17:10 UTC by Toralf Förster
Modified: 2022-10-12 06:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.21 KB, text/plain)
2022-10-11 17:10 UTC, Toralf Förster
Details
dev-java:logback-classic-1.2.11:20221011-160602.log (dev-java:logback-classic-1.2.11:20221011-160602.log,5.61 KB, text/plain)
2022-10-11 17:10 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,79.28 KB, application/x-bzip)
2022-10-11 17:10 UTC, Toralf Förster
Details
environment (environment,92.24 KB, text/plain)
2022-10-11 17:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.42 KB, application/x-bzip)
2022-10-11 17:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-11 17:10:42 UTC
                  ^
src/main/java/ch/qos/logback/classic/servlet/LogbackServletContextListener.java:3: error: cannot access ServletContextEvent
import javax.servlet.ServletContextEvent;
                    ^
  bad class file: /usr/share/tomcat-servlet-api-3.1/lib/tomcat-servlet-api.jar(javax/servlet/ServletContextEvent.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20221008-190004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.345_p01"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4 *
  [2]   php8.0
  [3]   php8.1
GNU Make 4.3

  HEAD of ::gentoo
commit 0c72bcbae928f3fe353c30c3624d41aa1b917ce4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 11 14:03:33 2022 +0000

    2022-10-11 14:03:32 UTC

emerge -qpvO dev-java/logback-classic
[ebuild  N    ] dev-java/logback-classic-1.2.11  USE="-doc -source"
Comment 1 Toralf Förster gentoo-dev 2022-10-11 17:10:43 UTC
Created attachment 823630 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-11 17:10:44 UTC
Created attachment 823633 [details]
dev-java:logback-classic-1.2.11:20221011-160602.log
Comment 3 Toralf Förster gentoo-dev 2022-10-11 17:10:45 UTC
Created attachment 823636 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-11 17:10:47 UTC
Created attachment 823639 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-11 17:10:48 UTC
Created attachment 823642 [details]
etc.portage.tar.bz2
Comment 6 Larry the Git Cow gentoo-dev 2022-10-12 04:40:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4968d05997739fced0b5fda7b2dfc8d63fc440d8

commit 4968d05997739fced0b5fda7b2dfc8d63fc440d8
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2022-10-12 04:35:38 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2022-10-12 04:35:38 +0000

    dev-java/tomcat-servlet-api: fixed min java version on < 10.1
    
    Closes: https://bugs.gentoo.org/876778
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 ...ervlet-api-10.0.27.ebuild => tomcat-servlet-api-10.0.27-r1.ebuild} | 4 ++--
 ...-servlet-api-8.5.83.ebuild => tomcat-servlet-api-8.5.83-r1.ebuild} | 4 ++--
 ...-servlet-api-9.0.68.ebuild => tomcat-servlet-api-9.0.68-r1.ebuild} | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)