Bug 537628
| Summary: | missing awt directory on ppc64 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orcan Ogetbil <oget.fedora> | ||||
| Component: | cmake | Assignee: | Orion Poplawski <orion> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 11 | CC: | orion, pertusus, rdieter | ||||
| Target Milestone: | --- | Keywords: | Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 2.6.4-3.fc11 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-11-27 21:50:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 369569 [details]
fix awt dir on ppc64
The above patch will fix the problem. I believe that this is already resolved in cmake-2.8 in a more general way. I can commit this patch if you want me to. Ping? I can't update my package because of this bug. I'll see if I can take a look tomorrow. cmake-2.6.4-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/cmake-2.6.4-3.fc11 cmake-2.6.4-5.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/cmake-2.6.4-5.fc12 cmake-2.6.4-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cmake'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-12030 cmake-2.6.4-5.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cmake'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12127 cmake-2.6.4-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. cmake-2.6.4-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. I just wanted to report that my package built fine in koji now. Thanks for the fix! |
In file /usr/share/cmake/Modules/FindJNI.cmake we have these lines for awt directories ... $ENV{JAVA_HOME}/jre/lib/i386 $ENV{JAVA_HOME}/jre/lib/amd64 $ENV{JAVA_HOME}/jre/lib/ppc ... These correctly determine the awt (and in turn, jvm) directories for ix86, amd64 and ppc architectures. But in Fedora we have the awt directory for ppc64 architecture as /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.ppc64/jre/lib/ppc64/ which corresponds to $ENV{JAVA_HOME}/jre/lib/ppc64 This line is missing in the above FindJNI.cmake file. Because this is missing, the portmidi package, which relies on ${JAVA_JVM_LIBRARY} variable of cmake, fails to build on ppc64 [1]. It builds fine on other archs. [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=1807248