Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19144 - [cmake] does not get java path's right due to missing /opt/java/bin in FindJava.cmake

Attached to Project: Arch Linux
Opened by Leo Peschier (leepesjee) - Sunday, 18 April 2010, 01:30 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 18 April 2010, 22:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
cmake uses /usr/share/cmake-2.8/Modules/FindJava.cmake to set path's to java libs and headers.
There's a search list in FindJava.cmake, which misses /opt/java/bin. As the jdk package installs in /opt/java, the path's to java will not be set, as the java resources won't be found.
I encountered this building vtk with cmake (see http://aur.archlinux.org/packages.php?ID=2912).

Additional info:
* package version(s)
2.8.1-2
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 18 April 2010, 22:05 GMT
Reason for closing:  Upstream
Comment by Andrea Scarpino (BaSh) - Sunday, 18 April 2010, 10:32 GMT
the file come from upstream, this should be reported to them
Comment by Leo Peschier (leepesjee) - Sunday, 18 April 2010, 11:04 GMT
Ah yes, I realized that. Otoh, it's arch's setup to locate jdk in /opt/java.
I'll make a request in the cmake mailing list.
Comment by Pierre Schmitz (Pierre) - Sunday, 18 April 2010, 15:16 GMT
We only really support openjdk6 which is in extra and installs to /usr/lib/. Jre is a community pacakge which installs to /opt/.
Comment by Leo Peschier (leepesjee) - Sunday, 18 April 2010, 19:27 GMT
OK, I'll leave an advise to use openjdk6 on the AUR page, or otherwise hack FindJava.cmake oneself.
So we can close this, I guess. Sorry for the inconvenience.

Loading...