public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Susi Lehtola <jussilehtola@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/json-fortran] rawhide: update to 9.3.1
Date: Thu, 23 Jul 2026 13:41:40 GMT	[thread overview]
Message-ID: <178481410020.1.14104569810099130267.rpms-json-fortran-43c6b2ad29dd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/json-fortran
Branch : rawhide
Commit : 43c6b2ad29dd99cc2d7c22d60eaeb632b2997fa1
Author : Susi Lehtola <jussilehtola@fedoraproject.org>
Date   : 2026-07-23T13:41:29+00:00
Stats  : +21/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/json-fortran/c/43c6b2ad29dd99cc2d7c22d60eaeb632b2997fa1?branch=rawhide

Log:
update to 9.3.1

---
diff --git a/.gitignore b/.gitignore
index e374ada..40c9c71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /json-fortran-8.3.0.tar.gz
+/json-fortran-9.3.1.tar.gz

diff --git a/json-fortran.spec b/json-fortran.spec
index a397a3b..20b1b47 100644
--- a/json-fortran.spec
+++ b/json-fortran.spec
@@ -1,6 +1,6 @@
 Name:           json-fortran
-Version:        8.3.0
-Release:        13%{?dist}
+Version:        9.3.1
+Release:        1%{?dist}
 Summary:        A Modern Fortran JSON API
 # Automatically converted from old format: MIT and BSD - review is highly recommended.
 License:        LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD
@@ -28,6 +28,17 @@ developing applications that use %{name}.
 %setup -q
 
 %build
+# json_value_module.F90 passes internal procedures as actual arguments, for
+# which gfortran emits stack trampolines. These mark the object as requiring an
+# executable stack, which makes the resulting library undlopenable: glibc
+# refuses to flip the stack to executable at dlopen time, so anything loading
+# it indirectly from Python (e.g. python3-dftd4) fails to import. Allocate the
+# trampolines on the heap instead (GCC >= 14).
+# NB: CMake reads the Fortran flags from FFLAGS, not FCFLAGS, and %%cmake only
+# fills in the defaults for variables that are still unset, so FFLAGS is the one
+# that has to be set here for the flag to reach the compiler.
+export FFLAGS="%{build_fflags} -I%{_fmoddir} -Wtrampolines -ftrampoline-impl=heap"
+export FCFLAGS="$FFLAGS"
 %cmake -DUSE_GNU_INSTALL_CONVENTION=TRUE
 %cmake_build
 
@@ -42,7 +53,7 @@ rm -f %{buildroot}%{_libdir}/*.a
 %files
 %license LICENSE
 %doc CHANGELOG.md README.md
-%{_libdir}/libjsonfortran.so.8*
+%{_libdir}/libjsonfortran.so.9*
 
 %files devel
 %{_libdir}/cmake/jsonfortran-gnu-%{version}/
@@ -51,6 +62,11 @@ rm -f %{buildroot}%{_libdir}/*.a
 %{_fmoddir}/json_*.mod
 
 %changelog
+* Thu Jul 23 2026 Susi Lehtola <jussilehtola@fedoraproject.org> - 9.3.1-1
+- Update to 9.3.1.
+- Build with -ftrampoline-impl=heap so that the library no longer requires an
+  executable stack and can be dlopened.
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 8.3.0-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index bb996cd..5dad432 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (json-fortran-8.3.0.tar.gz) = 654c36984b66801b0fe18669aab2d5e3296e35be9789b619a8cdc32addcea8be252f8a6c3ace7318d1fb9180f4a9c2c768a432a099534a813d29add67a954ec8
+SHA512 (json-fortran-9.3.1.tar.gz) = 9f705584143683fe11a36083d7cc187ae46f5ce280dd053128b5dafae2ff578aa9d290d1eea58b76bd3a38d829319320dc4b607c856ad4dc3f63438d8c4bbb32

                 reply	other threads:[~2026-07-23 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178481410020.1.14104569810099130267.rpms-json-fortran-43c6b2ad29dd@fedoraproject.org \
    --to=jussilehtola@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox