Bug 282301

Summary: math/apache-commons-math: enable armv6 and armv7
Product: Ports & Packages Reporter: Ronald Klop <ronald>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Only Me CC: bofh
Priority: --- Flags: bugzilla: maintainer-feedback? (bofh)
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
git diff fixing the build ronald: maintainer-approval? (bofh)

Description Ronald Klop freebsd_committer freebsd_triage 2024-10-24 10:17:30 UTC
Created attachment 254480 [details]
git diff fixing the build

This fixes the build on armv7. And I am pretty confident it also fixes armv6.

It will have no effect on other architectures.


successful build log:
...
BUILD SUCCESSFUL
Total time: 2 minutes 50 seconds
===>  Staging for apache-commons-math-3.6.1_2
===>   apache-commons-math-3.6.1_2 depends on file: /usr/local/openjdk8/bin/java - found
===>   Generating temporary packing list
/bin/mkdir -p /usr/ports/math/apache-commons-math/work/stage/usr/local/share/java/classes
install  -m 0644 /usr/ports/math/apache-commons-math/work/commons-math3-3.6.1-src/target/commons-math-3.6.jar /usr/ports/math/apache-commons-math/work/stage/usr/local/share/java/classes/commons-math.jar
/bin/mkdir -p /usr/ports/math/apache-commons-math/work/stage/usr/local/share/doc/commons-math
install  -m 0644 /usr/ports/math/apache-commons-math/work/commons-math3-3.6.1-src/*.txt /usr/ports/math/apache-commons-math/work/stage/usr/local/share/doc/commons-math/
====> Compressing man pages (compress-man)
Comment 1 Ronald Klop freebsd_committer freebsd_triage 2024-10-24 10:19:36 UTC
Comment on attachment 254480 [details]
git diff fixing the build

NB: If approved I am able to commit the patch for you.
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-10-24 10:21:47 UTC
As long as these does not bring regression on other Tier-1 platforms feel free to commit.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-10-24 10:45:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=184a22447d5cc5e297015b0e5fb51149505c3c05

commit 184a22447d5cc5e297015b0e5fb51149505c3c05
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-10-24 10:31:53 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-10-24 10:44:06 +0000

    math/apache-commons-math: unbreak armv6 and armv7

    PR:     282301
    Approved by:    bofh@ / maintainer (as long as it doesn't break Tier 1)

 math/apache-commons-math/Makefile                  |  3 ---
 ..._optimization_direct_PowellOptimizer.java (new) | 22 ++++++++++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)
Comment 4 Ronald Klop freebsd_committer freebsd_triage 2024-10-24 10:46:24 UTC
thanks for the quick approval