Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232111 - dev-util/cmake: Modules/FindJNI.cmake does not find all files on PPC
Summary: dev-util/cmake: Modules/FindJNI.cmake does not find all files on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://www.cmake.org/cgi-bin/viewcvs....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 20:34 UTC by Christian Schmitt
Modified: 2008-08-27 21:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix ppc JNI module (cmake-jni-ppc-fix.patch,2.61 KB, text/plain)
2008-08-04 16:04 UTC, Christian Schmitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmitt 2008-07-17 20:34:37 UTC
Cmake has an error in the module responsable for finding JNI files. On the PPC arch (and surely on other non-x86 platforms), it does not find an available Java/JNI installation. This is due to the fact that the module is missing a useful configuration for these platforms.

I already reported this upstream, including a solution that works here. See URL above.
Comment 1 Christian Schmitt 2008-07-20 20:48:32 UTC
Bug is fixed in cmake CVS now. See here: http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/FindJNI.cmake?revision=1.38&root=CMake&view=markup

Should this be backported to our stable release? Without it ppc users might have problems building soprano properly
Comment 2 Christian Schmitt 2008-08-04 16:04:32 UTC
Created attachment 162210 [details]
fix ppc JNI module

This patch fixes the issue for cmake 2.6. Should as well be no big deal to apply it to 2.4, if necessary.
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2008-08-27 21:27:39 UTC
I've just commited cmake-2.6.1 which had the changes applied upstream to the tree.