Bug 1597446
| Summary: | YARN server nodemanager native lib fails to build | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mike Miller <milleruntime> |
| Component: | hadoop | Assignee: | Christopher Tubbs <ctubbsii> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | ctubbsii, denis.arnaud_fedora, milleruntime |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-09-22 11:30:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
It looks like the static library libcontainer.a is being linked into the executables: test-container-executor and container-executor. Because the compiler specs in /usr/lib/rpm/redhat/redhat-hardened-cc1 set -fPIE as, I wonder if that requires libcontainer.a to have been compiled with -fPIC. Patch fixed the problem on most architectures, but I'm reverting it because it broke s390x and armv7hl for some other reason. This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. Automation has figured out the package is retired in Fedora 31. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement |
Description of problem: Saw the following error: [exec] /usr/bin/ld: CMakeFiles/test-container-executor.dir/main/native/container-executor/test/test-container-executor.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC [exec] /usr/bin/ld: libcontainer.a(configuration.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC [exec] /usr/bin/ld: libcontainer.a(container-executor.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC [exec] /usr/bin/ld: final link failed: Nonrepresentable section on output [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [CMakeFiles/test-container-executor.dir/build.make:85: target/usr/local/bin/test-container-executor] Error 1 [exec] make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/test-container-executor.dir/all] Error 2 [exec] make: *** [Makefile:84: all] Error 2 in hadoop-2.7.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native Removed the antrun-plugin in hadoop.spec to prevent building the native libarary in the latest build.