[ 
https://issues.apache.org/jira/browse/HADOOP-18274?focusedWorklogId=777436&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-777436
 ]

ASF GitHub Bot logged work on HADOOP-18274:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Jun/22 11:47
            Start Date: 02/Jun/22 11:47
    Worklog Time Spent: 10m 
      Work Description: GauthamBanasandra opened a new pull request, #4395:
URL: https://github.com/apache/hadoop/pull/4395

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   HDFS Native Client fails to build on Debian 10 due to the following error -
   
   ```
   [WARNING] CMake Error at main/native/libhdfspp/CMakeLists.txt:68 
(FetchContent_MakeAvailable):
   [WARNING]   Unknown CMake command "FetchContent_MakeAvailable".
   [WARNING] 
   [WARNING] 
   [WARNING] 

Issue Time Tracking
-------------------

            Worklog Id:     (was: 777436)
    Remaining Estimate: 0h
            Time Spent: 10m

> Use CMake 3.19.0 in Debian 10
> -----------------------------
>
>                 Key: HADOOP-18274
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18274
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HDFS Native Client fails to build on Debian 10 due to the following error -
> {code}
> [WARNING] CMake Error at main/native/libhdfspp/CMakeLists.txt:68 
> (FetchContent_MakeAvailable):
> [WARNING]   Unknown CMake command "FetchContent_MakeAvailable".
> [WARNING] 
> [WARNING] 
> [WARNING] -- Configuring incomplete, errors occurred!
> {code}
> Jenkins run - 
> https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4371/2/artifact/out/branch-compile-hadoop-hdfs-project_hadoop-hdfs-native-client.txt
> This cause for this issue is that the version of CMake on Debian 10 (which is 
> installed through apt) is 3.13 and *FetchContent_MakeAvailable* was 
> [introduced in CMake 
> 3.14|https://cmake.org/cmake/help/v3.14/module/FetchContent.html] 
> Thus, we upgrade CMake by installing through the 
> [install-cmake.sh|https://github.com/apache/hadoop/blob/34a973a90ef89b633c9b5c13a79aa1ac11c92eb5/dev-support/docker/pkg-resolver/install-cmake.sh]
>  script from pkg-resolver which installs CMake 3.19.0, instead of installing 
> CMake through apt on Debian 10.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to