[ https://issues.apache.org/jira/browse/HADOOP-19611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18003856#comment-18003856 ]
ASF GitHub Bot commented on HADOOP-19611: ----------------------------------------- hadoop-yetus commented on PR #7789: URL: https://github.com/apache/hadoop/pull/7789#issuecomment-3049613739 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 0m 33s | | Docker mode activated. | |||| _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 0s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available. | | +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. | | -1 :x: | test4tests | 0m 0s | | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. | |||| _ trunk Compile Tests _ | | -1 :x: | mvninstall | 34m 51s | [/branch-mvninstall-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7789/1/artifact/out/branch-mvninstall-root.txt) | root in trunk failed. | | +1 :green_heart: | compile | 0m 34s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 29s | | trunk passed | | -1 :x: | shadedclient | 37m 50s | | branch has errors when building and testing our client artifacts. | |||| _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 16s | | the patch passed | | +1 :green_heart: | compile | 0m 23s | | the patch passed | | +1 :green_heart: | cc | 0m 23s | | the patch passed | | +1 :green_heart: | javac | 0m 23s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | mvnsite | 0m 18s | | the patch passed | | -1 :x: | shadedclient | 1m 24s | | patch has errors when building and testing our client artifacts. | |||| _ Other Tests _ | | +1 :green_heart: | unit | 0m 23s | | hadoop-pipes in the patch passed. | | +1 :green_heart: | asflicense | 0m 31s | | The patch does not generate ASF License warnings. | | | | 43m 9s | | | | Subsystem | Report/Notes | |----------:|:-------------| | Docker | ClientAPI=1.51 ServerAPI=1.51 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7789/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/7789 | | Optional Tests | dupname asflicense compile cc mvnsite javac unit codespell detsecrets | | uname | Linux f4434e8fb98a 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / bdd0879bbd4e216137aaa8afda7b182766588173 | | Default Java | Red Hat, Inc.-1.8.0_412-b08 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7789/1/testReport/ | | Max. process+thread count | 98 (vs. ulimit of 5500) | | modules | C: hadoop-tools/hadoop-pipes U: hadoop-tools/hadoop-pipes | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7789/1/console | | versions | git=2.9.5 maven=3.9.10 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. > Native profile fails to build on SLES 15 > ---------------------------------------- > > Key: HADOOP-19611 > URL: https://issues.apache.org/jira/browse/HADOOP-19611 > Project: Hadoop Common > Issue Type: Bug > Components: tools/pipes > Affects Versions: 3.4.1 > Reporter: Michael Smith > Priority: Major > Labels: pull-request-available > > Hadoop build fails to find pthreads on SLES 15 builds while linking rpc. It > looks like it checks for SunRPC library via rpc/rpc.h, but instead finds > tirpc and sets it up incorrectly. > {code} > Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the > following output: > Change Dir: > /grid/0/jenkins/workspace/workspace/CDH-parallel-sles15/SOURCES/hadoop/hadoop-tools/hadoop-pipes/target/native/CMakeFiles/CMakeTmp > Run Build Command(s):/usr/bin/gmake cmTC_4ddc0/fast && /usr/bin/gmake -f > CMakeFiles/cmTC_4ddc0.dir/build.make CMakeFiles/cmTC_4ddc0.dir/build > gmake[1]: Entering directory > '/grid/0/jenkins/workspace/workspace/CDH-parallel-sles15/SOURCES/hadoop/hadoop-tools/hadoop-pipes/target/native/CMakeFiles/CMakeTmp' > Building C object CMakeFiles/cmTC_4ddc0.dir/src.c.o > /usr/bin/gcc-8 -DCMAKE_HAVE_LIBC_PTHREAD -o > CMakeFiles/cmTC_4ddc0.dir/src.c.o -c > /grid/0/jenkins/workspace/workspace/CDH-parallel-sles15/SOURCES/hadoop/hadoop-tools/hadoop-pipes/target/native/CMakeFiles/CMakeTmp/src.c > Linking C executable cmTC_4ddc0 > /grid/0/jenkins/tools/cmake/3.19.3/bin/cmake -E cmake_link_script > CMakeFiles/cmTC_4ddc0.dir/link.txt --verbose=1 > /usr/bin/gcc-8 -rdynamic CMakeFiles/cmTC_4ddc0.dir/src.c.o -o cmTC_4ddc0 > /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: > CMakeFiles/cmTC_4ddc0.dir/src.c.o: in function `main': > src.c:(.text+0x2d): undefined reference to `pthread_create' > /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: > src.c:(.text+0x39): undefined reference to `pthread_detach' > /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: > src.c:(.text+0x45): undefined reference to `pthread_cancel' > /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: > src.c:(.text+0x56): undefined reference to `pthread_join' > collect2: error: ld returned 1 exit status > gmake[1]: *** [CMakeFiles/cmTC_4ddc0.dir/build.make:106: cmTC_4ddc0] Error 1 > gmake[1]: Leaving directory > '/grid/0/jenkins/workspace/workspace/CDH-parallel-sles15/SOURCES/hadoop/hadoop-tools/hadoop-pipes/target/native/CMakeFiles/CMakeTmp' > gmake: *** [Makefile:140: cmTC_4ddc0/fast] Error 2 > {code} > There are two possible fixes here: > # Link with pthreads to fix the undefined references. > # We noticed RHEL 8 uses tirpc. Using that on SLES 15 also fixes the issue. > As tirpc seems to be newer and supports IPv6, it seems like we should prefer > tirpc if it's available. Attached a patch that works across a variety of > platforms for me. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org