Bug 894154
| Summary: | Missing symlink for org.eclipse.emf.edit_*.jar | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gerard Ryan <fedora> | ||||
| Component: | eclipse-emf | 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, kdaniel, mat.booth, mbenitez, mizdebsk, rgrunber | ||||
| 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-02-08 02:00:31 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: | |||||||
| Attachments: |
|
||||||
eclipse-emf-2.8.1-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-emf-2.8.1-5.fc18 Hey Gerard, f18, f19 and buildroot override :-). eclipse-emf-2.8.1-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-emf-2.8.1-6.fc18 Created attachment 682435 [details]
git formatted patch for eclipse repo to add the symlink
The link still needs to be added from %{_javadir}/emf/... to %{libdir}/eclipse/plugins. I think the attached patch is what's necessary, it should be something close to that at least.
Package eclipse-emf-2.8.1-6.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing eclipse-emf-2.8.1-6.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1005/eclipse-emf-2.8.1-6.fc18 then log in and leave karma (feedback). Hey, the emf.edit link cannot be a part of platform as no feature includes it. I thought it would be as simple as moving the emf.edit from eclipse-emf-core to eclipse-emf, but that broke Eclipse build (it turned out to be required during Eclipse build). This is a no-go, because eclipse-emf has a lot of dependencies, while eclipse-emf-core has not. So I added a symlink from eclipse-emf to emf.edit inside eclipse-emf-core. That seems to work. Sorry for the late reply, the link is broken though.
pushd %{buildroot}%{eclipse_dropin}/emf/eclipse/plugins
ln -s %{_javadir}/emf/eclipse/plugins/org.eclipse.emf.edit_*
popd
should maybe that be:
pushd %{buildroot}%{eclipse_dropin}/emf/eclipse/plugins
ln -s %{buildroot}%{_javadir}/emf/eclipse/plugins/org.eclipse.emf.edit_*
popd
?
I'm not sure if that's the problem. I'm trying to test now, but I don't know if I have the time to finish this test build of eclipse-emf. If I do, I'll let you know if it worked.
The link must be in the form of %{javadir}... because this is the place where emf.edit will be installed. Local build succeed because I had eclipse-emf-core installed locally, so the wildcard in the link was able to match it. This is not the case in koji, so the symlink must be without wildcards.
eclipse-emf-2.8.1-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-emf-2.8.1-7.fc18 eclipse-4.2.2-0.5.git20121217.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-4.2.2-0.5.git20121217.fc18 eclipse-4.2.2-0.7.git20121217.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-4.2.2-0.7.git20121217.fc18 eclipse-emf-2.8.1-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. eclipse-4.2.2-0.10.git20121217.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-4.2.2-0.10.git20121217.fc18 eclipse-4.2.2-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-4.2.2-2.fc18 eclipse-4.2.2-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-4.2.2-3.fc18 eclipse-4.2.2-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/eclipse-4.2.2-5.fc18 eclipse-4.2.2-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Plugin jars for eclipse-emf-core are installed to /usr/share/java/emf/eclipse/plugins/. They are symlinked into %{_libdir}/eclipse. The problem is that there are 5 jars, and only 4 are symlinked. The missing one is /usr/share/java/emf/eclipse/plugins/org.eclipse.emf.edit_*.jar. Other plugins that depend on this jar fail to build. This happens with plugins that use pdebuild at least, not sure about tycho. See eclipse-wtp-common (also anything that requires eclipse-wtp-common, except in places where I added a shameful workaround to just get them to build quickly).