Bug 813756
Summary: | eclipse-jdt: bundled junit library | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
Component: | eclipse | Assignee: | Krzysztof Daniel <kdaniel> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | akurtako, andjrobins, kdaniel, mbenitez, overholt, rgrunber, sgehwolf, swagiaal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | eclipse-4.2.0-0.17.I201204171000.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-25 05:04:42 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 504493 |
Description
Mikolaj Izdebski
2012-04-18 11:22:09 UTC
This is actually the the same junit.jar provided in %{_javadir} with the only difference being that the OSGi metadata is different. I think this could probably be removed. Initially this was to allow tycho to resolve against junit3, if necessary, but looking at the logs I see this isn't necessary any longer. I think Eclipse requires it. I will convert it into a symlink. As per upstream bug, expected bundles are: org.junit_3.8.x org.junit_4.8.x org.junit4_4.8.x we have: -rw-r--r--. 1 root root 328768 org.junit_3.8.2.v3_8_2_v20100427-1100.jar (wrong, should be symlink) lrwxrwxrwx. 1 root root 26 Apr 12 10:05 junit4.jar -> /usr/share/java/junit4.jar (ok, corresponding to org.junit_4.8.x) drwxr-xr-x. 2 root root 4096 Apr 12 10:05 org.junit4 (it has a symlink to junit4.jar inside, looks like a duplication, to be removed). drwxr-xr-x. 3 root root 4096 Apr 12 10:05 org.junit4_4.8.1.v20111115-0800 (ok) lrwxrwxrwx. 1 root root 25 Apr 12 10:05 org.junit_4.8.2.v4_8_2_v20110321-1705.jar -> /usr/share/java/junit.jar (duplication) eclipse-4.2.0-0.15.I201204171000.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/eclipse-4.2.0-0.15.I201204171000.fc17 Package eclipse-4.2.0-0.15.I201204171000.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing eclipse-4.2.0-0.15.I201204171000.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-6220/eclipse-4.2.0-0.15.I201204171000.fc17 then log in and leave karma (feedback). eclipse-4.2.0-0.16.I201204171000.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/eclipse-4.2.0-0.16.I201204171000.fc17 Looking at the fix I see that there are 2 org.junit v4.8.2 jars. One is a symlink to %{_javadir}/junit.jar and the other at %{_libdir}/eclipse/dropins/jdt/plugins/org.junit_4.8.2.v4_8_2_v20110321-1705.jar . Both seem to be identical. Would it be possible to remove one of them ? I ran a build of tycho against this new eclipse-jdt package and it fails because there are 2 junit jars with the same symbolicname, and version but with different locations on the system. Initially this passed because in previous versions, both were symlinks to the same file. e-b removed the Junit source very early (and indeed, after a build, the builddirectory/plugins does not have org.junit_4*.jar, just junit symlink. I guess it is because of the PDEBuild, and the only solution for that is to delete the redundant plugin in Eclipse.spec. eclipse-4.2.0-0.17.I201204171000.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/eclipse-4.2.0-0.17.I201204171000.fc17 eclipse-4.2.0-0.17.I201204171000.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |