[ https://issues.apache.org/jira/browse/HDFS-17226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778121#comment-17778121 ]
ASF GitHub Bot commented on HDFS-17226: --------------------------------------- hadoop-yetus commented on PR #6191: URL: https://github.com/apache/hadoop/pull/6191#issuecomment-1773811833 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 0m 0s | | Docker mode activated. | | -1 :x: | docker | 6m 2s | | Docker failed to build run-specific yetus/hadoop:tp-30611}. | | Subsystem | Report/Notes | |----------:|:-------------| | GITHUB PR | https://github.com/apache/hadoop/pull/6191 | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6191/1/console | | versions | git=2.34.1 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. > Building native libraries fails on Fedora 38 > -------------------------------------------- > > Key: HDFS-17226 > URL: https://issues.apache.org/jira/browse/HDFS-17226 > Project: Hadoop HDFS > Issue Type: Improvement > Components: libhdfs++, native > Reporter: Kengo Seki > Priority: Major > Labels: pull-request-available > > I tried to build native libraries on Fedora 38, in which gcc-c++ 13.2.1 is > installed by default, and I came across the following error. > {code} > $ cat /etc/redhat-release > Fedora release 38 (Thirty Eight) > $ g++ --version > g++ (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1) > Copyright (C) 2023 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > $ mvn clean package -DskipTests -Pnative > ... > [WARNING] > /home/vagrant/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/include/hdfspp/uri.h:60:3: > error: ‘uint16_t’ does not name a type > [WARNING] 60 | uint16_t get_port() const; > [WARNING] | ^~~~~~~~ > [WARNING] > /home/vagrant/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/include/hdfspp/uri.h:25:1: > note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to > ‘#include <cstdint>’? > [WARNING] 24 | #include <vector> > [WARNING] +++ |+#include <cstdint> > [WARNING] 25 | #include <stdexcept> > ... > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 07:00 min > [INFO] Finished at: 2023-10-14T07:14:57Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.hadoop:hadoop-maven-plugins:3.4.0-SNAPSHOT:cmake-compile > (cmake-compile) on project hadoop-hdfs-native-client: make failed with error > code 2 -> [Help 1] > {code} > As described in the warning messages, adding {{#include <cstdint>}} will > solve the problem. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org