Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939580 - dev-java/mockito-4.11.0 - [ncurses-6.5] [gcc-15] bad class file: /usr/share/opentest4j/lib/opentest4j.jar(org/opentest4j/AssertionFailedError.class)
Summary: dev-java/mockito-4.11.0 - [ncurses-6.5] [gcc-15] bad class file: /usr/share/o...
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: 2024-09-13 08:54 UTC by Toralf Förster
Modified: 2024-09-14 08:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.97 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
dev-java:mockito-4.11.0:20240913-053926.log (dev-java:mockito-4.11.0:20240913-053926.log,3.44 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.25 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
environment (environment,94.57 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.96 KB, application/x-xz)
2024-09-13 08:54 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,139.08 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.29 KB, application/x-xz)
2024-09-13 08:54 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 2024-09-13 08:54:12 UTC
too long lines were shrinked:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/mockito-4.11.0/work/mockito-4.11.0 ...
javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.
src/main/java/org/mockito/exceptions/verification/opentest4j/ArgumentsAreDifferent.java:10: error: cannot access AssertionFailedError
import org.opentest4j.AssertionFailedError;
                     ^
  bad class file: /usr/share/opentest4j/lib/opentest4j.jar(org/opentest4j/AssertionFailedError.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: 23.0_no_multilib_hardened-20240912-061737

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.422_p05"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 385814b2af258480de190164e938fada4c99d7e6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 13 04:21:15 2024 +0000

    2024-09-13 04:21:14 UTC

emerge -qpvO =dev-java/mockito-4.11.0
[ebuild  N    ] dev-java/mockito-4.11.0  USE="-doc -source"
Comment 1 Toralf Förster gentoo-dev 2024-09-13 08:54:13 UTC
Created attachment 902880 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-13 08:54:14 UTC
Created attachment 902881 [details]
dev-java:mockito-4.11.0:20240913-053926.log
Comment 3 Toralf Förster gentoo-dev 2024-09-13 08:54:15 UTC
Created attachment 902882 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-13 08:54:16 UTC
Created attachment 902883 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-13 08:54:17 UTC
Created attachment 902884 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-13 08:54:18 UTC
Created attachment 902885 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-09-13 08:54:19 UTC
Created attachment 902886 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-09-14 08:37:58 UTC
The bug has been closed via the following commit(s):

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

commit d68cb9e859e7ad68af005fa8bccc85000b35d35a
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-09-14 06:56:08 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-09-14 08:37:06 +0000

    dev-java/opentest4j: back to >=virtual/jre-1.8:* #939580
    
    Closes: https://bugs.gentoo.org/939580
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/38580/commits/f29d25f4a2c3d535b9d6cc98a3e6ac482ff8d8da
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild | 52 ++++++++++++++++++++++++++
 dev-java/opentest4j/opentest4j-1.3.0.ebuild    | 28 --------------
 2 files changed, 52 insertions(+), 28 deletions(-)