Red Hat Bugzilla – Bug 1021465
Improper path to jline2
Last modified: 2015-05-20 10:21:49 EDT
Created attachment 814535 [details]
Use build-classpath to get the right path
Description of problem:
The current spec file uses a hardcoded path to jline2 and jansi jars. Besides this there is a typo which makes scala unusable on Rawhide now:
DEBUG: Error: Package: scala-2.10.3-3.fc21.noarch (fedora)
DEBUG: Requires: /usr/share/java/jansi/jansi.jahr
DEBUG: You could try using --skip-broken to work around the problem
DEBUG: You could try running: rpm -Va --nofiles --nodigest
DEBUG: Child return code was: 1
Hardcoded paths should be replaced with build-classpath call so it'll be path dependent.
I'm including a patch that can be applied directly on master. This code works well on F19+ (haven't tested F18).
Should been fixed in scala-2.10.3-4.fc21
(In reply to Jochen Schmitt from comment #1)
> Should been fixed in scala-2.10.3-4.fc21
But it is not.
Sorry, but scala-2.10.3-5.fc21 should works.
Upstream plans to rename jline2 into jline in Rawhide.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
Fixed in scala-2.10.4-3
I believe that this bug is fixed in scala-2.10.4-3,
which is available in Fedora Rawhide, so I am closing this bug now.
The build containing the fix can be found at Koji:
This bug was fixed in the next release of Fedora, and is not planned
to be fixed in the release it was filed against. If you want this bug
to be fixed in Fedora 22, please say so in a comment.
Otherwise you can update to the newer release of Fedora to get the fix.