Bug 1402145

Summary: apache-commons-math-3.4.1-3.fc24 FTBFS
Product: [Fedora] Fedora Reporter: Merlin Mathesius <mmathesi>
Component: apache-commons-mathAssignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: java-sig-commits, pikachu.2014, psabata, sgallagh, SpikeFedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: apache-commons-math-3.4.1-4.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-25 01:50:07 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:
Bug Depends On:    
Bug Blocks: 1400162    
Deadline: 2016-12-20   
Attachments:
Description Flags
proposed patch to correct FTBFS issue none

Description Merlin Mathesius 2016-12-06 21:51:30 UTC
apache-commons-math-3.4.1-3.fc24 fails to build from source.
This affects Base Runtime, Rawhide, and F25.

There are two reasons for this:

1) There is an undeclared build dependency on apache-commons-parent.

This can be corrected by adding a BuildRequires for mvn(org.apache.commons:commons-parent:pom:).

2) There are random build self-test failures from .../ml/neuralnet/sofm/KohonenUpdateActionTest.java:

        KohonenUpdateActionTest.testUpdate:85 expected:<0.0> but was:<5.551115123125783E-17>

This can be corrected by including upstream patch https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=commit;h=a9006aa8b91712fcfcac157d5d1300758cd07efb

Comment 1 Merlin Mathesius 2016-12-06 22:22:34 UTC
Please apply the patch or respond with a reason it should not be applied within two weeks. After that time, a provenpackager will go ahead and apply it.

Comment 2 Merlin Mathesius 2016-12-14 22:13:06 UTC
Created attachment 1231910 [details]
proposed patch to correct FTBFS issue

Comment 3 Fedora Update System 2016-12-16 09:38:54 UTC
apache-commons-math-3.4.1-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff42a608f9

Comment 4 Fedora Update System 2016-12-17 01:37:34 UTC
apache-commons-math-3.4.1-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff42a608f9

Comment 5 Fedora Update System 2016-12-25 01:50:07 UTC
apache-commons-math-3.4.1-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.