Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919116

Summary: dev-java/bnd-junit-2.1.0-r2 - [javac] bad class file: /usr/share/bndlib/lib/bndlib.jar(aQute/bnd/build/ProjectTester.class)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-java:bnd-junit-2.1.0-r2:20231203-022405.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz

Description Toralf Förster gentoo-dev 2023-12-03 11:00:51 UTC
    [javac] /var/tmp/portage/dev-java/bnd-junit-2.1.0-r2/work/bnd-2.1.0.REL/biz.aQute.junit/src/aQute/junit/runtime/OSGiTestCase.java
    [javac] /var/tmp/portage/dev-java/bnd-junit-2.1.0-r2/work/bnd-2.1.0.REL/biz.aQute.junit/src/aQute/junit/runtime/Operation.java
    [javac] /var/tmp/portage/dev-java/bnd-junit-2.1.0-r2/work/bnd-2.1.0.REL/biz.aQute.junit/src/aQute/junit/runtime/VoidOperation.java
    [javac] /var/tmp/portage/dev-java/bnd-junit-2.1.0-r2/work/bnd-2.1.0.REL/biz.aQute.junit/src/aQute/junit/plugin/ProjectTesterImpl.java:11: error: cannot access ProjectTester
    [javac] public class ProjectTesterImpl extends ProjectTester implements TesterConstants, EclipseJUnitTester {
    [javac]                                        ^
    [javac]   bad class file: /usr/share/bndlib/lib/bndlib.jar(aQute/bnd/build/ProjectTester.class)
    [javac]     class file has wrong version 61.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_desktop_gnome_systemd-20231123-162118

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.382_p05"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac"
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 001c1667e57d2a07aa83a3b9e1b6ffa2e76946bc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 3 01:17:03 2023 +0000

    2023-12-03 01:17:02 UTC

emerge -qpvO dev-java/bnd-junit
[ebuild  N    ] dev-java/bnd-junit-2.1.0-r2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-12-03 11:00:52 UTC
Created attachment 876526 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-03 11:00:53 UTC
Created attachment 876527 [details]
dev-java:bnd-junit-2.1.0-r2:20231203-022405.log
Comment 3 Toralf Förster gentoo-dev 2023-12-03 11:00:55 UTC
Created attachment 876528 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-03 11:00:56 UTC
Created attachment 876529 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-03 11:00:57 UTC
Created attachment 876530 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-03 11:00:58 UTC
Created attachment 876531 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-03 11:00:59 UTC
Created attachment 876532 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-03 11:01:00 UTC
Created attachment 876533 [details]
qlist-info.txt.xz
Comment 9 Volkmar W. Pogatzki 2023-12-03 17:55:29 UTC
Thanks for reporting. Both bnd-junit-2.1.0-r2 and bndlib-2.1.0-r1 are removal candidates after stabilization of bndlib-7.0.0.
Comment 10 Larry the Git Cow gentoo-dev 2024-02-24 12:52:50 UTC
The bug has been closed via the following commit(s):

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

commit cce6661efc5843e873bb138f7268a597c4a958be
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2024-02-24 12:43:09 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2024-02-24 12:43:09 +0000

    dev-java/bnd-junit: treeclean
    
    Closes: https://bugs.gentoo.org/794202
    Closes: https://bugs.gentoo.org/919116
    Closes: https://bugs.gentoo.org/785010
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-java/bnd-junit/Manifest                  |  1 -
 dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild | 48 ----------------------------
 dev-java/bnd-junit/metadata.xml              | 11 -------
 profiles/package.mask                        |  6 ----
 4 files changed, 66 deletions(-)