Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857594 - dev-lang/tuprolog-3.2.0 - [javac] 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-lang/tuprolog-3.2.0 - [javac] bad class file: /usr/share/javassist-3/lib/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-11 11:24 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,18.31 KB, text/plain)
2022-07-11 11:24 UTC, Toralf Förster
Details
dev-lang:tuprolog-3.2.0:20220711-110629.log (dev-lang:tuprolog-3.2.0:20220711-110629.log,3.60 KB, text/plain)
2022-07-11 11:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,162.69 KB, text/plain)
2022-07-11 11:25 UTC, Toralf Förster
Details
environment (environment,123.51 KB, text/plain)
2022-07-11 11:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.71 KB, application/x-bzip)
2022-07-11 11:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.56 KB, application/x-bzip)
2022-07-11 11:25 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-11 11:24:56 UTC
    [javac] Compiling 272 source files to /var/tmp/portage/dev-lang/tuprolog-3.2.0/work/tuprolog-3.2.0/build
    [javac] /var/tmp/portage/dev-lang/tuprolog-3.2.0/work/tuprolog-3.2.0/src/alice/tuprologx/pj/engine/J2PProxyFactory.java:33: error: cannot access CannotCompileException
    [javac] import javassist.CannotCompileException;
    [javac]                 ^
    [javac]   bad class file: /usr/share/javassist-3/lib/javassist.jar(javassist/CannotCompileException.class)
    [javac]     class file has wrong version 55.0, should be 52.0
    [javac]     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_no_multilib-j4-20220710-060005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] 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="javac"
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit dcaa6414dd5c4e5640435e97c85f3fea89987c31
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jul 11 10:31:36 2022 +0000

    2022-07-11 10:31:36 UTC

emerge -qpvO dev-lang/tuprolog
[ebuild  N    ] dev-lang/tuprolog-3.2.0  USE="-doc -examples -test"
Comment 1 Toralf Förster gentoo-dev 2022-07-11 11:24:57 UTC
Created attachment 791006 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-11 11:24:58 UTC
Created attachment 791009 [details]
dev-lang:tuprolog-3.2.0:20220711-110629.log
Comment 3 Toralf Förster gentoo-dev 2022-07-11 11:25:00 UTC
Created attachment 791012 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-07-11 11:25:01 UTC
Created attachment 791015 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-11 11:25:02 UTC
Created attachment 791018 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-11 11:25:03 UTC
Created attachment 791021 [details]
temp.tar.bz2
Comment 7 Volkmar W. Pogatzki 2022-07-12 09:23:06 UTC
"wrong version 55.0, should be 52.0" refers to "Major" column 
in "Table 4.1-A. class file format major versions" of [1]

[1]https://docs.oracle.com/javase/specs/jvms/se17/html/jvms-4.html#jvms-4.1-200-B.2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-16 14:46:48 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(+)