Bug 1540172

Summary: hadoop: RPM build flags not used
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: hadoopAssignee: Christopher Tubbs <ctubbsii>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: ctubbsii, denis.arnaud_fedora, rdossant
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:
Bug Depends On:    
Bug Blocks: 1539083    

Description Florian Weimer 2018-01-30 12:22:34 UTC
The build flags specified by redhat-rpm-config are not fully applied during the build of hadoop-2.7.3-7.fc28:

     [exec] /usr/bin/cc  -I/builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/target/native/javah -I/builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/src/main/native/src -I/builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/src -I/builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/src/src -I/builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/target/native -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux -I/builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/util  -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -o CMakeFiles/hadoop_static.dir/main/native/src/org/apache/hadoop/util/NativeCodeLoader.c.o   -c /builddir/build/BUILD/hadoop-2.7.3-src/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/util/NativeCodeLoader.c

At least in part, this is due to the recursive invocation of cmake from Maven.  It would be preferable if these parts could be built directly from the spec file, using the %cmake macro.

Comment 1 Fedora End Of Life 2018-02-20 15:29:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 3 Denis Arnaud 2018-05-29 15:35:25 UTC
(In reply to Rafael Fonseca from comment #2)
> https://src.fedoraproject.org/rpms/hadoop/pull-request/1

Merged. Thanks!

Comment 4 Ben Cotton 2019-05-02 21:40:58 UTC
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.

Comment 5 Ben Cotton 2019-08-13 17:01:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 6 Ben Cotton 2019-08-13 19:21:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 7 Miro HronĨok 2019-09-22 11:30:13 UTC
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