https://bugzilla.redhat.com/show_bug.cgi?id=1985566
Bug ID: 1985566
Summary: aqute-bnd missing dependencies in Rawhide
Product: Fedora
Version: rawhide
Hardware: All
OS: Linux
Status: NEW
Component: aqute-bnd
Severity: medium
Assignee: mizdebsk(a)redhat.com
Reporter: loganjerry(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jaromir.capik(a)email.cz,
java-maint-sig(a)lists.fedoraproject.org,
java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
The scala package failed the mass rebuild. The last command it ran was:
bnd wrap --properties /builddir/build/SOURCES/scala-compiler-bnd.properties
--output scala-compiler.jar --version 2.13.6.v20210514-180743-VFINAL-9468b9a
scala-compiler.jar.no
/usr/bin/build-classpath: Could not find osgi-annotation Java extension for
this JVM
/usr/bin/build-classpath: Could not find osgi-core Java extension for this JVM
/usr/bin/build-classpath: Could not find osgi-compendium Java extension for
this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Error: Could not find or load main class aQute.bnd.main.bnd
Caused by: java.lang.ClassNotFoundException: aQute.bnd.main.bnd
The file /usr/bin/bnd contains this:
BASE_JARS="aqute-bnd slf4j/slf4j-api slf4j/slf4j-simple osgi-annotation
osgi-core osgi-compendium"
but the aqute-bnd package, which owns /usr/bin/bnd, does not have Requires on
any of the packages that provide those jars:
$ rpm -q --requires aqute-bnd
(java-headless or java-11-headless)
/usr/bin/bash
config(aqute-bnd) = 5.2.0-2.fc35
javapackages-filesystem
javapackages-tools
The necessary Requires are present in F34 and earlier.
Version-Release number of selected component (if applicable):
aqute-bnd-5.2.0-2.fc35.noarch
How reproducible:
Always.
Steps to Reproduce:
1. Try to build scala in mock
2.
3.
Actual results:
The bnd command fails, because the aqute-bnd package does not have Requires on
the packages that provide the jars it needs to run.
Expected results:
Successful run of the bnd command.
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.