Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857753 - dev-java/slf4j-ext-1.7.36 - bad class file: /usr/share/javassist-3/lib/javassist.jar(javassist/CannotCompileException.class) - class file has wrong version 55.0, should be 52.0
Summary: dev-java/slf4j-ext-1.7.36 - bad class file: /usr/share/javassist-3/lib/javass...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-12 07:19 UTC by Toralf Förster
Modified: 2022-07-16 14:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.32 KB, text/plain)
2022-07-12 07:19 UTC, Toralf Förster
Details
dev-java:slf4j-ext-1.7.36:20220712-041254.log (dev-java:slf4j-ext-1.7.36:20220712-041254.log,2.97 KB, text/plain)
2022-07-12 07:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.21 KB, text/plain)
2022-07-12 07:19 UTC, Toralf Förster
Details
environment (environment,89.09 KB, text/plain)
2022-07-12 07:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.33 KB, application/x-bzip)
2022-07-12 07:19 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-07-12 07:19:37 UTC
javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/cal10n/lib/cal10n.jar:/usr/share/commons-lang-2.1/lib/commons-lang.jar:/usr/share/javassist-3/lib/javassist.jar:/usr/share/slf4j-api/lib/slf4j-api.jar @sources.lst
src/main/java/org/slf4j/instrumentation/LogTransformer.java:36: error: cannot access CannotCompileException
import javassist.CannotCompileException;
                ^
  bad class file: /usr/share/javassist-3/lib/javassist.jar(javassist/CannotCompileException.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_hardened-j4-20220712-000052

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.0 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.332_p09"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 36997c5b9ec5ac59e9cd9a4ad94ee416573de501
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jul 12 03:31:31 2022 +0000

    2022-07-12 03:31:31 UTC

emerge -qpvO dev-java/slf4j-ext
[ebuild  N    ] dev-java/slf4j-ext-1.7.36  USE="-doc -source"
Comment 1 Toralf Förster gentoo-dev 2022-07-12 07:19:38 UTC
Created attachment 791159 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-12 07:19:39 UTC
Created attachment 791162 [details]
dev-java:slf4j-ext-1.7.36:20220712-041254.log
Comment 3 Toralf Förster gentoo-dev 2022-07-12 07:19:41 UTC
Created attachment 791165 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-07-12 07:19:42 UTC
Created attachment 791168 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-12 07:19:43 UTC
Created attachment 791171 [details]
etc.portage.tar.bz2
Comment 6 Volkmar W. Pogatzki 2022-07-12 11:42:50 UTC
According to dependency:tree it seems to need an older version of javassist


[INFO] org.slf4j:slf4j-ext:jar:1.7.36
[INFO] +- org.slf4j:slf4j-api:jar:1.7.36:compile
[INFO] +- org.slf4j:slf4j-reload4j:jar:1.7.36:test
[INFO] |  \- ch.qos.reload4j:reload4j:jar:1.2.19:test
[INFO] +- ch.qos.cal10n:cal10n-api:jar:0.8.1:compile
[INFO] +- javassist:javassist:jar:3.4.GA:compile
[INFO] +- commons-lang:commons-lang:jar:2.4:compile
[INFO] \- junit:junit:jar:4.13:test
[INFO]    \- org.hamcrest:hamcrest-core:jar:1.3:test
Comment 7 Larry the Git Cow gentoo-dev 2022-07-16 14:46:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2129c87f33ec635970e03034cd19ba3c12f2d2

commit 6d2129c87f33ec635970e03034cd19ba3c12f2d2
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-07-12 12:22:17 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-07-16 14:46:17 +0000

    dev-java/javassist: drop 3.29.0
    
    Closes: https://bugs.gentoo.org/857753
    Closes: https://bugs.gentoo.org/857594
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/26369
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-java/javassist/javassist-3.29.0.ebuild | 62 ------------------------------
 1 file changed, 62 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fcd0d847b3d07648754193eeb878daa2ce5b62

commit 07fcd0d847b3d07648754193eeb878daa2ce5b62
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-07-12 12:20:35 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-07-16 14:46:17 +0000

    dev-java/javassist: new slot: 3.29
    
    Bug: https://bugs.gentoo.org/857753
    Bug: https://bugs.gentoo.org/857594
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-java/javassist/javassist-3.29.0-r1.ebuild | 62 +++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)