Bug 1034167

Summary: thermostat bundles jansi.jar
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: thermostatAssignee: Omair Majid <omajid>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ebaron, jerboaa, jon.vanalten, omajid, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-25 14:00:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Alexeev 2013-11-25 11:30:11 UTC
Description of problem:

Your package bundle jansi.jar, available in system:

$ LANG=C yum provides '*/jansi.jar'
...
jansi-1.11-3.fc20.noarch : Jansi is a java library for generating and interpreting ANSI escape sequences
Repo        : fedora
Matched from:
Filename    : /usr/share/java/jansi/jansi.jar

scala-2.10.3-7.fc20.noarch : A hybrid functional/object-oriented language for the JVM
Repo        : fedora
Matched from:
Filename    : /usr/share/scala/lib/jansi.jar

thermostat-0.9.2-6.fc20.x86_64 : A monitoring and serviceability tool for OpenJDK
Repo        : fedora
Matched from:
Filename    : /usr/share/thermostat/libs/jansi.jar

wildfly-8.0.0-0.12.Beta1.fc20.noarch : WildFly Application Server
Repo        : fedora
Matched from:
Filename    : /usr/share/wildfly/modules/system/layers/base/org/fusesource/jansi/main/jansi.jar

wildfly-8.0.0-0.14.Beta1.fc20.noarch : WildFly Application Server
Repo        : updates-testing
Matched from:
Filename    : /usr/share/wildfly/modules/system/layers/base/org/fusesource/jansi/main/jansi.jar

jansi-1.11-3.fc20.noarch : Jansi is a java library for generating and interpreting ANSI escape sequences
Repo        : @fedora
Matched from:
Filename    : /usr/share/java/jansi/jansi.jar

scala-2.10.3-7.fc20.noarch : A hybrid functional/object-oriented language for the JVM
Repo        : @fedora
Matched from:
Filename    : /usr/share/scala/lib/jansi.jar

It strictly prohibited by guidelines - https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
You must use system version or request exception.


Version-Release number of selected component (if applicable):
thermostat-0.9.2-6.fc20.x86_64

How reproducible:
Always

Comment 1 Severin Gehwolf 2013-11-25 14:00:26 UTC
I don't think something like "$ yum provides '*/jansi.jar'" is a good test for such a thing. In fact, if you install thermostat and inspect the jansi.jar in thermostat's file list (/usr/share/thermostat/libs/jansi.jar), you will notice that it's actually a symlink to the actual jar in /usr/share/java (which is provided by the jansi package).

This symlink may be dangling for thermostat-0.9.2-6. Please see bug 1024408 for details about this. Basically, a new version of thermostat which has this symlink fixed will become part of F20 soon.