public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mopac7] rawhide: Fix FTBFS on i686 and s390x
@ 2026-07-17 13:33 Mamoru TASAKA
0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-07-17 13:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mopac7
Branch : rawhide
Commit : 045aea1d3e099f4cd6c3deca9dc5d4069c83a2f9
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2026-07-17T22:33:31+09:00
Stats : +34/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mopac7/c/045aea1d3e099f4cd6c3deca9dc5d4069c83a2f9?branch=rawhide
Log:
Fix FTBFS on i686 and s390x
---
diff --git a/mopac7-1.15-gcc16-loop-variable-nodouble.patch b/mopac7-1.15-gcc16-loop-variable-nodouble.patch
new file mode 100644
index 0000000..3b78314
--- /dev/null
+++ b/mopac7-1.15-gcc16-loop-variable-nodouble.patch
@@ -0,0 +1,23 @@
+--- mopac7-1.15/fortran/esp.f.gcc16 2008-08-22 00:05:23.000000000 +0900
++++ mopac7-1.15/fortran/esp.f 2026-07-17 22:23:01.428882128 +0900
+@@ -691,7 +691,8 @@ C
+ DO 30 M=0,8
+ K=1
+ FV(M,1)=1.D0/(2.D0*M+1.D0)
+- DO 30 T=0.05D0,41.D0,0.05D0
++ DO 30 I=5,4100,5
++ T=I*0.01D0
+ K=K+1
+ CALL FSUB(M,T,FVAL)
+ FV(M,K)=FVAL
+@@ -2035,8 +2036,9 @@ C
+ DO 30 M=0,8
+ K=1
+ FV(M,1)=1.D0/(2.D0*M+1.D0)
+- DO 30 T=0.05D0,41.D0,0.05D0
++ DO 30 I=5,4100,5
+ K=K+1
++ T=I*0.01D0
+ CALL FSUB(M,T,FVAL)
+ FV(M,K)=FVAL
+ 30 CONTINUE
diff --git a/mopac7.spec b/mopac7.spec
index 6b87344..3e43270 100644
--- a/mopac7.spec
+++ b/mopac7.spec
@@ -1,7 +1,7 @@
Name: mopac7
Summary: Semi-empirical quantum mechanics suite
Version: 1.15
-Release: 52%{?dist}
+Release: 53%{?dist}
# https://gitlab.com/fedora/legal/fedora-license-data/-/merge_requests/554
# SPDX confirmed
License: LicenseRef-Fedora-Public-Domain
@@ -11,6 +11,10 @@ Source0: http://bioinformatics.org/ghemical/download/current/mopac7-%{ver
Patch0: mopac7-1.15-c99-function-prototype.patch
# Some type size fix
Patch1: mopac7-1.15-type-size.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=2501699
+# gcc16 and gmp6.3 no longer accepts non-integer loop variable
+# Fix compilation on i686, s390x
+Patch2: mopac7-1.15-gcc16-loop-variable-nodouble.patch
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
@@ -44,6 +48,7 @@ perl -pi -e "s#-lg2c##g" libmopac7.pc.in
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1 -b .loop_nodouble
%build
autoreconf -fiv
@@ -85,6 +90,11 @@ find tests -name 'Makefile*' -delete -print
%{_libdir}/pkgconfig/libmopac7.pc
%changelog
+* Fri Jul 17 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15-53
+- Fix FTBFS on i686 and s390x, gcc16 and gmp 6.3 no longer accept non-integer
+ loop variable
+ (ref: bug 2501699)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-17 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 13:33 [rpms/mopac7] rawhide: Fix FTBFS on i686 and s390x Mamoru TASAKA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox