public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/coin-or-Ipopt] main: Release 3.14.19
@ 2026-08-11 13:24 Antonio Trande
0 siblings, 0 replies; only message in thread
From: Antonio Trande @ 2026-08-11 13:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/coin-or-Ipopt
Branch : main
Commit : 795d580ffc68c365bc8fddc2c1704da6ec2ae08c
Author : Antonio Trande <sagitter@fedoraproject.org>
Date : 2026-08-11T15:23:49+02:00
Stats : +33/-36 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/coin-or-Ipopt/c/795d580ffc68c365bc8fddc2c1704da6ec2ae08c?branch=main
Log:
Release 3.14.19
---
diff --git a/coin-or-Ipopt-fix-sigsegv-mpich.patch b/coin-or-Ipopt-fix-sigsegv-mpich.patch
new file mode 100644
index 0000000..d5ab41e
--- /dev/null
+++ b/coin-or-Ipopt-fix-sigsegv-mpich.patch
@@ -0,0 +1,27 @@
+Upstream PR: https://github.com/coin-or/Ipopt/pull/846
+
+From f4e0dd1f4ba389367629debfaf69bdec4987555f Mon Sep 17 00:00:00 2001
+From: Shengqi Chen <harry-chen@outlook.com>
+Date: Thu, 11 Sep 2025 22:43:09 +0800
+Subject: [PATCH] Fix MPI_Init arguments in LpMumpsSolverInterface to fix SIGSEGV with MPICH >= 4.3.1
+
+MPICH (>= 4.3.1) will dereference `argv` when `argc` is larger than 0.
+The previous way of passing arguments will cause a SIGSEGV since `argv` is NULL.
+
+See: https://github.com/pmodels/mpich/commit/e9560dde891ab1414b9aec02a2e8acc4622d5e1b
+
+diff --git a/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp b/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp
+index 14c475ddd..88599dd6e 100644
+--- a/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp
++++ b/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp
+@@ -63,9 +63,7 @@ static void MPIinit(void)
+ MPI_Initialized(&mpi_initialized);
+ if( !mpi_initialized )
+ {
+- int argc = 1;
+- char** argv = NULL;
+- MPI_Init(&argc, &argv);
++ MPI_Init(NULL, NULL);
+ }
+ }
+
diff --git a/coin-or-Ipopt.spec b/coin-or-Ipopt.spec
index cf045d5..a886186 100644
--- a/coin-or-Ipopt.spec
+++ b/coin-or-Ipopt.spec
@@ -26,18 +26,19 @@
Name: coin-or-%{module}
Summary: Interior Point OPTimizer
-Version: 3.14.16
+Version: 3.14.19
Release: %autorelease
License: EPL-2.0
URL: https://coin-or.github.io/%{module}/
Source0: https://github.com/coin-or/Ipopt/archive/releases/%{version}/Ipopt-releases-%{version}.tar.gz
-Patch: fix-sigsegv-mpich.patch
+Patch0: coin-or-%{module}-fix-sigsegv-mpich.patch
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
-BuildRequires: %{?dts}gcc, %{?dts}gcc-c++
-BuildRequires: %{?dts}gcc-gfortran
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: gcc-gfortran
BuildRequires: %{blaslib}-devel
BuildRequires: doxygen
BuildRequires: help2man
@@ -159,10 +160,6 @@ cp -a Ipopt-releases-%{version} %{module}-releases-mpich
%build
-%if 0%{?el7}
-%{?dts:source /opt/rh/devtoolset-9/enable}
-%endif
-
#######################################################
## Build serial version
diff --git a/fix-sigsegv-mpich.patch b/fix-sigsegv-mpich.patch
deleted file mode 100644
index d5ab41e..0000000
--- a/fix-sigsegv-mpich.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Upstream PR: https://github.com/coin-or/Ipopt/pull/846
-
-From f4e0dd1f4ba389367629debfaf69bdec4987555f Mon Sep 17 00:00:00 2001
-From: Shengqi Chen <harry-chen@outlook.com>
-Date: Thu, 11 Sep 2025 22:43:09 +0800
-Subject: [PATCH] Fix MPI_Init arguments in LpMumpsSolverInterface to fix SIGSEGV with MPICH >= 4.3.1
-
-MPICH (>= 4.3.1) will dereference `argv` when `argc` is larger than 0.
-The previous way of passing arguments will cause a SIGSEGV since `argv` is NULL.
-
-See: https://github.com/pmodels/mpich/commit/e9560dde891ab1414b9aec02a2e8acc4622d5e1b
-
-diff --git a/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp b/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp
-index 14c475ddd..88599dd6e 100644
---- a/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp
-+++ b/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp
-@@ -63,9 +63,7 @@ static void MPIinit(void)
- MPI_Initialized(&mpi_initialized);
- if( !mpi_initialized )
- {
-- int argc = 1;
-- char** argv = NULL;
-- MPI_Init(&argc, &argv);
-+ MPI_Init(NULL, NULL);
- }
- }
-
diff --git a/sources b/sources
index 4d8836c..4b33932 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Ipopt-releases-3.14.16.tar.gz) = f00e109b551a60954900fb8a570222bd49b4a3b011349c9415c864834978f228c5fca0f8c228d0661a5d444ecd312c4212fb3975167bc108a399e52addf2fba6
+SHA512 (Ipopt-releases-3.14.19.tar.gz) = 98b413b6beaf300175ef6f4e97ba4be6bdeee6aadcd0657eaf9da0142eba0f0b5ca3c84958e88757a13b42ccacb8137bb7bbae4f51f018ec7bbddc19eceedcc1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 13:24 [rpms/coin-or-Ipopt] main: Release 3.14.19 Antonio Trande
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox