[
https://issues.apache.org/jira/browse/HDFS-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001099#comment-15001099
]
Haohui Mai commented on HDFS-9380:
----------------------------------
bq. CMakeFile.txt appears to actually do the work of setting those vars or even
determining where protobuf is installed.
In the current HDFS-8707 branch, the variables are being defined in
FindProtobuf.cmake, so as the OpenSSL one.
Please check https://cmake.org/cmake/help/v3.2/module/FindProtobuf.html for
more details.
I'll file a jira to fix the OpenSSL configuration.
> HDFS-8707 builds are failing with protobuf directories as undef
> ---------------------------------------------------------------
>
> Key: HDFS-9380
> URL: https://issues.apache.org/jira/browse/HDFS-9380
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Bob Hansen
> Assignee: Haohui Mai
>
> See recent builds in HDFS-9320 and HDFS-9103.
> {code}
> [exec] CMake Error: The following variables are used in this project,
> but they are set to NOTFOUND.
> [exec] Please set them or make sure they are set and tested correctly in
> the CMake files:
> [exec] PROTOBUF_LIBRARY (ADVANCED)
> [exec] linked by target "protoc-gen-hrpc" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
> [exec] linked by target "inputstream_test" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> [exec] linked by target "remote_block_reader_test" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> [exec] linked by target "rpc_engine_test" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> [exec] PROTOBUF_PROTOC_LIBRARY (ADVANCED)
> [exec] linked by target "protoc-gen-hrpc" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)