[ 
https://issues.apache.org/jira/browse/HDFS-15971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17322535#comment-17322535
 ] 

Eric Badger commented on HDFS-15971:
------------------------------------

{noformat}
[INFO] Running cmake 
/home/ebadger/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src 
-DGENERATED_JAVAH=/home/ebadger/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/native/javah
 -DHADOOP_BUILD=1 -DJVM_ARCH_DATA_MODEL=64 -DREQUIRE_FUSE=false 
-DREQUIRE_LIBWEBHDFS=false -DREQUIRE_VALGRIND=false -G Unix Makefiles
[INFO] with extra environment variables {}
[WARNING] JAVA_HOME=, 
JAVA_JVM_LIBRARY=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/lib/amd64/server/libjvm.so
[WARNING] 
JAVA_INCLUDE_PATH=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/include,
 
JAVA_INCLUDE_PATH2=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/include/linux
[WARNING] Located all JNI components successfully.
[WARNING] CUSTOM_OPENSSL_PREFIX =
[WARNING] -- Performing Test THREAD_LOCAL_SUPPORTED
[WARNING] -- Performing Test THREAD_LOCAL_SUPPORTED - Failed
[WARNING] CMake Warning at CMakeLists.txt:174 (message):
[WARNING]   WARNING: Libhdfs++ library was not built because the required 
feature
[WARNING]   thread_local storage is not supported by your compiler.  Known 
compilers
[WARNING]   that support this feature: GCC 4.8+, Visual Studio 2015+, Clang 
(community
[WARNING]   version 3.3+), Clang (version for Xcode 8+ and iOS 9+).
[WARNING]
[WARNING]
[WARNING] -- Checking for module 'fuse'
[WARNING] --   No package 'fuse' found
[WARNING] -- Failed to find Linux FUSE libraries or include files.  Will not 
build FUSE client.
[WARNING] -- Configuring done
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   Error evaluating generator expression:
[WARNING]
[WARNING]     $<TARGET_OBJECTS:x_platform_obj_c_api>
[WARNING]
[WARNING]   Objects of target "x_platform_obj_c_api" referenced but no such 
target
[WARNING]   exists.
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:74 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   Error evaluating generator expression:
[WARNING]
[WARNING]     $<TARGET_OBJECTS:x_platform_obj_c_api>
[WARNING]
[WARNING]   Objects of target "x_platform_obj_c_api" referenced but no such 
target
[WARNING]   exists.
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:66 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   Error evaluating generator expression:
[WARNING]
[WARNING]     $<TARGET_OBJECTS:x_platform_obj_c_api>
[WARNING]
[WARNING]   Objects of target "x_platform_obj_c_api" referenced but no such 
target
[WARNING]   exists.
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:61 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   Error evaluating generator expression:
[WARNING]
[WARNING]     $<TARGET_OBJECTS:x_platform_obj_c_api>
[WARNING]
[WARNING]   Objects of target "x_platform_obj_c_api" referenced but no such 
target
[WARNING]   exists.
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:57 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   No SOURCES given to target: test_libhdfs_vecsum_hdfs
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:74 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   No SOURCES given to target: test_libhdfs_zerocopy_hdfs_static
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:66 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   No SOURCES given to target: test_libhdfs_threaded_hdfs_static
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:61 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] CMake Error at CMakeLists.txt:94 (add_executable):
[WARNING]   No SOURCES given to target: test_libhdfs_ops_hdfs_static
[WARNING] Call Stack (most recent call first):
[WARNING]   main/native/libhdfs/CMakeLists.txt:57 (build_libhdfs_test)
[WARNING]
[WARNING]
[WARNING] -- Build files have been written to: 
/home/ebadger/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target
{noformat}
[~gautham], [~inigoiri], this PR broke the build for me on trunk. I'm running 
on RHEL 7.6 and narrowed it down to this PR. Reverting it allows the build to 
succeed for me. Please revert this unless it is a very quick fix

> Make mkstemp cross platform
> ---------------------------
>
>                 Key: HDFS-15971
>                 URL: https://issues.apache.org/jira/browse/HDFS-15971
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: libhdfs++
>    Affects Versions: 3.4.0
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> mkstemp isn't available in Visual C++. Need to make it cross platform.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to