View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015408 | CMake | CMake | public | 2015-02-18 01:12 | 2015-07-08 08:57 | ||||
Reporter | Tiago Stürmer Daitx | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Linux | OS Version | Any | |||||
Product Version | CMake-2-6 | ||||||||
Target Version | CMake 3.2 | Fixed in Version | CMake 3.2 | ||||||
Summary | 0015408: FindJNI missing JAVA_AWT_LIBRARY on JDK9 as jdk/lib/<arch> is not included in JAVA_AWT_LIBRARY_DIRECTORIES | ||||||||
Description | JDK9's directory structure changes and no jdk/jre exists. The right arch lib path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>). CMake error when building hadoop-common: [exec] CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): [exec] Could NOT find JNI (missing: JAVA_AWT_LIBRARY) [exec] Call Stack (most recent call first): [exec] /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FA-- Detecting CXX compiler ABI info - done [exec] -- Configuring incomplete, errors occurred! [exec] See also "/home/tdaitx/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/target/native/CMakeFiles/CMakeOutput.log". [exec] ILURE_MESSAGE) [exec] /usr/share/cmake-2.8/Modules/FindJNI.cmake:252 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) [exec] CMakeLists.txt:103 (find_p [exec] ackage) | ||||||||
Steps To Reproduce | 1. Build JDK9 2. Compile hadoop-common-project/hadoop-common | ||||||||
Additional Information | hadoop-common has its own bug and might require a patch, see https://issues.apache.org/jira/browse/HADOOP-11610 [^] | ||||||||
Tags | CMake, java, patch | ||||||||
Attached Files | cmake_findjni-jdk9-support.patch [^] (389 bytes) 2015-02-18 01:16 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0037991) Brad King (manager) 2015-02-18 09:18 edited on: 2015-02-18 09:20 |
Applied, thanks: FindJNI: Add arch-specific library dir for JDK 9 layout http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bce4e20f [^] |
(0038009) Brad King (manager) 2015-02-20 10:58 |
I've merged this back to the 'release' branch for the next 3.2 release candidate. |
(0039057) Robert Maynard (manager) 2015-07-08 08:57 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-02-18 01:12 | Tiago Stürmer Daitx | New Issue | |
2015-02-18 01:15 | Tiago Stürmer Daitx | Note Added: 0037989 | |
2015-02-18 01:16 | Tiago Stürmer Daitx | Tag Attached: CMake | |
2015-02-18 01:16 | Tiago Stürmer Daitx | Tag Attached: java | |
2015-02-18 01:16 | Tiago Stürmer Daitx | Tag Attached: patch | |
2015-02-18 01:16 | Tiago Stürmer Daitx | Note Deleted: 0037989 | |
2015-02-18 01:16 | Tiago Stürmer Daitx | File Added: cmake_findjni-jdk9-support.patch | |
2015-02-18 09:18 | Brad King | Note Added: 0037991 | |
2015-02-18 09:18 | Brad King | Assigned To | => Brad King |
2015-02-18 09:18 | Brad King | Status | new => resolved |
2015-02-18 09:18 | Brad King | Resolution | open => fixed |
2015-02-18 09:18 | Brad King | Fixed in Version | => CMake 3.3 |
2015-02-18 09:18 | Brad King | Target Version | => CMake 3.3 |
2015-02-18 09:20 | Brad King | Note Edited: 0037991 | |
2015-02-20 10:58 | Brad King | Note Added: 0038009 | |
2015-02-20 10:58 | Brad King | Fixed in Version | CMake 3.3 => CMake 3.2 |
2015-02-20 10:58 | Brad King | Target Version | CMake 3.3 => CMake 3.2 |
2015-07-08 08:57 | Robert Maynard | Note Added: 0039057 | |
2015-07-08 08:57 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |