[...] -- Check size of unsigned short -- Check size of unsigned short - done -- Performing Test INCOMPLETE_TYPES -- Performing Test INCOMPLETE_TYPES - Success -- Compiler supports pointers to undefined structures. -- Performing Test RIGHT_SHIFT_IS_UNSIGNED -- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed -- Performing Test __CHAR_UNSIGNED__ -- Performing Test __CHAR_UNSIGNED__ - Failed -- Performing Test INLINE_WORKS -- Performing Test INLINE_WORKS - Success -- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1) -- Performing Test HAVE_VERSION_SCRIPT -- Performing Test HAVE_VERSION_SCRIPT - Success -- Linker supports GNU-style version scripts -- CMAKE_EXECUTABLE_SUFFIX = -- The ASM_NASM compiler identification is NASM -- Found assembler: /usr/bin/nasm -- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm -- CMAKE_ASM_NASM_OBJECT_FORMAT = elf -- CMAKE_ASM_NASM_FLAGS = -DELF -DPIC -- SIMD extensions: i386 (WITH_SIMD = 1) -- Found Java: /usr/bin/java (found version "1.8.0_161") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindJNI.cmake:356 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) java/CMakeLists.txt:2 (find_package) -- Configuring incomplete, errors occurred! See also "/tmp/B.NWaEHS/BUILD/libjpeg-turbo-2.0.0/build/CMakeFiles/CMakeOutput.log". See also "/tmp/B.NWaEHS/BUILD/libjpeg-turbo-2.0.0/build/CMakeFiles/CMakeError.log". error: Bad exit status from /tmp/B.NWaEHS/BUILD/tmp/rpm-tmp.51995 (%build) RPM build errors: Bad exit status from /tmp/B.NWaEHS/BUILD/tmp/rpm-tmp.51995 (%build) ended at: Fri Aug 31 23:25:56 2018, done in 0:00:01.782573 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.NWaEHS/BUILD + rm -rf /tmp/B.NWaEHS/tmp /tmp/B.NWaEHS/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.NWaEHS Begin-TLD-Builder-Info Build-Time: user:1.53s sys:0.44s real:3.90s (faults io:5 non-io:183683) End-TLD-Builder-Info