Re:_git:_a2fa5f70fb02_-_main_-_science/agrum:_updat e 3.0.0 → 3.1.1

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 06 Sep 2026 07:00:36 UTC
On 2026-09-06 08:19, Yuri Victorovich wrote:
> The branch main has been updated by yuri:
>
> URL:https://cgit.FreeBSD.org/ports/commit/?id=a2fa5f70fb02ffae669bf345df2119afea3b4845
>
> commit a2fa5f70fb02ffae669bf345df2119afea3b4845
> Author:     Yuri Victorovich<yuri@FreeBSD.org>
> AuthorDate: 2026-09-06 06:16:49 +0000
> Commit:     Yuri Victorovich<yuri@FreeBSD.org>
> CommitDate: 2026-09-06 06:18:31 +0000
>
>      science/agrum: update 3.0.0 → 3.1.1
> ---
>   science/agrum/Makefile                                 |  6 +++---
>   science/agrum/distinfo                                 |  6 +++---
>   ..._testunits_module__BN_GreedyHillClimbingTestSuite.h | 18 ++++++++++++++++++
>   science/agrum/pkg-plist                                |  9 +++++++++
>   4 files changed, 33 insertions(+), 6 deletions(-)
>
> diff --git a/science/agrum/Makefile b/science/agrum/Makefile
> index da1addfe2d01..86b8ad6aa499 100644
> --- a/science/agrum/Makefile
> +++ b/science/agrum/Makefile
> @@ -1,5 +1,5 @@
>   PORTNAME=	agrum
> -DISTVERSION=	3.0.0
> +DISTVERSION=	3.1.1
>   CATEGORIES=	science math
>   
>   MAINTAINER=	yuri@FreeBSD.org
> @@ -20,7 +20,7 @@ LLD_UNSAFE=	yes
>   USE_GITLAB=	yes
>   GL_ACCOUNT=	agrumery
>   GL_PROJECT=	aGrUM
> -GL_TAGNAME=	9c28852d
> +GL_TAGNAME=	c8d35dae
>   
> .....
>   
> diff --git a/science/agrum/files/patch-src_testunits_module__BN_GreedyHillClimbingTestSuite.h b/science/agrum/files/patch-src_testunits_module__BN_GreedyHillClimbingTestSuite.h
> new file mode 100644
> index 000000000000..5436bfc115d9
> --- /dev/null
> +++ b/science/agrum/files/patch-src_testunits_module__BN_GreedyHillClimbingTestSuite.h
> @@ -0,0 +1,18 @@
> +-- Fix out-of-bounds vector access in the GreedyHillClimbing test helper.
> +-- The rank vector was sized to total_order.size(), but node IDs used as
> +-- indices can be as large as nb_vars - 1. With libc++ hardening this
> +-- triggered a SIGILL (ud2) trap, crashing the _K2_asia test case.
> +--
> +-- Upstream:https://gitlab.com/agrumery/aGrUM
> +--
Hi, A few observations

GL_TAGNAME isn't needed, patches should have proper references. 
Python_EXECUTABLE is defined in Mk/Uses/python.mk (USES= python:env) 
Comments in USES needs better descriptions, upstream also seemingly 
seemed tried to reach out to you? 
https://gitlab.com/agrumery/aGrUM/-/work_items/100 Please use 
DISTVERSION consistently Port seemigly builds fine without USES= llvm 
and LLD_UNSAFEBest regards, Daniel