[ 
https://issues.apache.org/jira/browse/HDDS-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng resolved HDDS-4844.
------------------------------
    Resolution: Fixed

> fault_injection_tool build failure on some platforms
> ----------------------------------------------------
>
>                 Key: HDDS-4844
>                 URL: https://issues.apache.org/jira/browse/HDDS-4844
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode, Ozone Manager, SCM
>    Affects Versions: 1.0.0
>            Reporter: Prashant Pogde
>            Assignee: Prashant Pogde
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.1.0
>
>
> On some platforms cmake build for fault-injection-tool complains about not 
> able to find the threads library. Eventually this leads to failure when doing 
> the make.
> {code:java}
> root@ccycloud:~/ozone/tools/fault-injection-service/Build# 
> ~/cmake-3.14.0-Linux-x86_64/bin/cmake ../
> -- The C compiler identification is GNU 5.4.0
> -- The CXX compiler identification is GNU 5.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Warning (dev) at 
> /root/.local/lib/cmake/protobuf/protobuf-options.cmake:6 (option):
>   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
>   --help-policy CMP0077" for policy details.  Use the cmake_policy command to
>   set the policy and suppress this warning.
>   For compatibility with older versions of CMake, option is clearing the
>   normal variable 'protobuf_MODULE_COMPATIBLE'.
> Call Stack (most recent call first):
>   /root/.local/lib/cmake/protobuf/protobuf-config.cmake:2 (include)
>   CMakeLists.txt:37 (find_package)
> This warning is for project developers.  Use -Wno-dev to suppress it.
> -- Using protobuf 
> -- Using gRPC 1.35.0
> -- Configuring done
> CMake Warning (dev) at CMakeLists.txt:85 (add_executable):
>   Policy CMP0028 is not set: Double colon in target name means ALIAS or
>   IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>   Target "failure_injector_svc_server" links to target "Threads::Threads" but
>   the target was not found.  Perhaps a find_package() call is missing for an
>   IMPORTED target, or an ALIAS target is missing?
> This warning is for project developers.  Use -Wno-dev to suppress it.
> CMake Warning (dev) at CMakeLists.txt:85 (add_executable):
>   Policy CMP0028 is not set: Double colon in target name means ALIAS or
>   IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>   Target "failure_injector_svc_server" links to target "Threads::Threads" but
>   the target was not found.  Perhaps a find_package() call is missing for an
>   IMPORTED target, or an ALIAS target is missing?
> This warning is for project developers.  Use -Wno-dev to suppress it.
> CMake Warning (dev) at CMakeLists.txt:85 (add_executable):
>   Policy CMP0028 is not set: Double colon in target name means ALIAS or
>   IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>   Target "failure_injector_svc_server" links to target "Threads::Threads" but
>   the target was not found.  Perhaps a find_package() call is missing for an
>   IMPORTED target, or an ALIAS target is missing?
> This warning is for project developers.  Use -Wno-dev to suppress it.
> CMake Warning (dev) at CMakeLists.txt:96 (add_executable):
>   Policy CMP0028 is not set: Double colon in target name means ALIAS or
>   IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>   Target "failure_injector_svc_client" links to target "Threads::Threads" but
>   the target was not found.  Perhaps a find_package() call is missing for an
>   IMPORTED target, or an ALIAS target is missing?
> This warning is for project developers.  Use -Wno-dev to suppress it.
> CMake Warning (dev) at CMakeLists.txt:96 (add_executable):
>   Policy CMP0028 is not set: Double colon in target name means ALIAS or
>   IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>   Target "failure_injector_svc_client" links to target "Threads::Threads" but
>   the target was not found.  Perhaps a find_package() call is missing for an
>   IMPORTED target, or an ALIAS target is missing?
> This warning is for project developers.  Use -Wno-dev to suppress it.
> CMake Warning (dev) at CMakeLists.txt:96 (add_executable):
>   Policy CMP0028 is not set: Double colon in target name means ALIAS or
>   IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
>   Use the cmake_policy command to set the policy and suppress this warning.
>   Target "failure_injector_svc_client" links to target "Threads::Threads" but
>   the target was not found.  Perhaps a find_package() call is missing for an
>   IMPORTED target, or an ALIAS target is missing?
> This warning is for project developers.  Use -Wno-dev to suppress it.
> -- Generating done
> -- Build files have been written to: 
> /root/ozone/tools/fault-injection-service/Build
> root@ccycloud:~/ozone/tools/fault-injection-service/Build# 
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to