Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package stream for openSUSE:Factory:NonFree 
checked in at 2026-05-28 17:22:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/stream (Old)
 and      /work/SRC/openSUSE:Factory:NonFree/.stream.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "stream"

Thu May 28 17:22:57 2026 rev:3 rq:1355455 version:5.10

Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/stream/stream.changes    2018-03-22 
12:39:14.720124596 +0100
+++ /work/SRC/openSUSE:Factory:NonFree/.stream.new.1937/stream.changes  
2026-05-28 17:22:58.929891303 +0200
@@ -1,0 +2,16 @@
+Wed May 27 16:39:29 UTC 2026 - [email protected]
+
+- Refresh spec file against current openSUSE packaging guidelines:
+  * Update copyright year to 2026
+  * Switch bugs URL to https
+  * Add explicit BuildRequires: gcc (was relying on transitive
+    pull-in from gcc-fortran)
+  * Add %check section running both binaries and verifying the
+    "Solution Validates" output
+  * Drop Group: tag (no longer required by openSUSE Factory)
+- Build stream_f with -fmax-stack-var-size=0: stream.f's PROGRAM-
+  scope 3 x 2M double arrays (~48 MB) overflow the default 8 MB
+  stack on aarch64 and SIGSEGV at startup; pushing locals into
+  BSS/heap fixes the runtime crash and lets %check pass.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ stream.spec ++++++
--- /var/tmp/diff_new_pack.O6nkBm/_old  2026-05-28 17:23:01.445995504 +0200
+++ /var/tmp/diff_new_pack.O6nkBm/_new  2026-05-28 17:23:01.445995504 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package stream
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2026 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,7 +21,6 @@
 Release:        0
 Summary:        Memory bandwidth benchmark
 License:        NonFree
-Group:          System/Benchmark
 URL:            https://www.cs.virginia.edu/stream/
 Source0:        https://www.cs.virginia.edu/stream/FTP/Code/stream.c
 Source1:        https://www.cs.virginia.edu/stream/FTP/Code/mysecond.c
@@ -29,6 +28,7 @@
 Source3:        https://www.cs.virginia.edu/stream/FTP/Code/LICENSE.txt
 Source4:        https://www.cs.virginia.edu/stream/FTP/Code/HISTORY.txt
 Source5:        https://www.cs.virginia.edu/stream/FTP/Code/READ.ME
+BuildRequires:  gcc
 BuildRequires:  gcc-fortran
 
 %description
@@ -46,7 +46,12 @@
 # C version
 cc %{optflags} -fopenmp %{SOURCE0} -o stream_c
 # Fortran version
-gfortran %{optflags} -fopenmp %{SOURCE1} %{SOURCE2} -o stream_f
+# -fmax-stack-var-size=0: stream.f declares 3 x 2M double arrays at
+# PROGRAM scope (~48 MB), which overflows the default 8 MB stack on
+# aarch64 (and is fragile elsewhere). Forcing all locals off the
+# stack into BSS/heap avoids the SIGSEGV at startup.
+gfortran %{optflags} -fopenmp -fmax-stack-var-size=0 \
+  %{SOURCE1} %{SOURCE2} -o stream_f
 
 %install
 install -Dpm 0755 stream_c \
@@ -54,6 +59,10 @@
 install -Dpm 0755 stream_f \
   %{buildroot}%{_bindir}/stream_f
 
+%check
+./stream_c | grep -q "Solution Validates"
+./stream_f | grep -q "Solution Validates"
+
 %files
 %license LICENSE.txt
 %doc HISTORY.txt READ.ME

Reply via email to