Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package primesieve for openSUSE:Factory checked in at 2026-11-23 14:54:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/primesieve (Old) and /work/SRC/openSUSE:Factory/.primesieve.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "primesieve" Mon Nov 23 14:54:29 2026 rev:28 rq:1399917 version:12.18 Changes: -------- --- /work/SRC/openSUSE:Factory/primesieve/primesieve.changes 2026-11-08 19:22:41.471631881 +0100 +++ /work/SRC/openSUSE:Factory/.primesieve.new.1340718/primesieve.changes 2026-11-23 14:54:50.427063146 +0100 @@ -1,0 +2,8 @@ +Sun Nov 15 13:17:00 UTC 2026 - Kim Walisch <[email protected]> + +- Update to primesieve-12.18 +- multiarch_arm_sve.cmake: Disable ARM SVE runtime dispatching for GCC < 14 due to miscompilation +- RiemannR.cpp: Use max() instead of infinity() for -ffast-math compatibility +- actions.lock: Lock GitHub Actions to exact commits to prevent supply chain attacks + +------------------------------------------------------------------- Old: ---- primesieve-12.17.tar.gz New: ---- primesieve-12.18.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ primesieve.spec ++++++ --- /var/tmp/diff_new_pack.XComvy/_old 2026-11-23 14:54:51.116092401 +0100 +++ /var/tmp/diff_new_pack.XComvy/_new 2026-11-23 14:54:51.117092443 +0100 @@ -17,7 +17,7 @@ Name: primesieve -Version: 12.17 +Version: 12.18 Release: 0 Summary: A prime number generator License: BSD-2-Clause ++++++ primesieve-12.17.tar.gz -> primesieve-12.18.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/.github/workflows/actions.lock new/primesieve-12.18/.github/workflows/actions.lock --- old/primesieve-12.17/.github/workflows/actions.lock 1970-01-01 01:00:00.000000000 +0100 +++ new/primesieve-12.18/.github/workflows/actions.lock 2026-11-12 15:40:09.000000000 +0100 @@ -0,0 +1,29 @@ +# This file is machine-generated by `gh actions-lock`. +# Do not edit by hand; run `gh actions-lock` to update. +# Docs: https://gh.io/actions-lockfile +version: 'v0.0.3' +workflows: + '.github/workflows/benchmark.yml': + - 'actions/[email protected]' + '.github/workflows/build_windows_binaries.yml': + - 'actions/[email protected]' + - 'actions/[email protected]' + '.github/workflows/ci.yml': + - 'actions/[email protected]' + - 'msys2/[email protected]' +dependencies: + 'actions/[email protected]': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/[email protected]': + ref: 'v7.0.2' + commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' + owner_id: 44036562 + repo_id: 192625955 + 'msys2/[email protected]': + ref: 'v2.33.0' + commit: 'sha1-ec48f7c5447b3140e2b088413ae3a55687bccb6e' + owner_id: 6759993 + repo_id: 213203501 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/.github/workflows/benchmark.yml new/primesieve-12.18/.github/workflows/benchmark.yml --- old/primesieve-12.17/.github/workflows/benchmark.yml 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/.github/workflows/benchmark.yml 2026-11-12 15:40:09.000000000 +0100 @@ -22,7 +22,7 @@ CC: gcc CXX: g++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] with: # Fetch all commits & tags fetch-depth: 0 @@ -39,7 +39,7 @@ CC: clang CXX: clang++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] with: # Fetch all commits & tags fetch-depth: 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/.github/workflows/build_windows_binaries.yml new/primesieve-12.18/.github/workflows/build_windows_binaries.yml --- old/primesieve-12.17/.github/workflows/build_windows_binaries.yml 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/.github/workflows/build_windows_binaries.yml 2026-11-12 15:40:09.000000000 +0100 @@ -14,7 +14,7 @@ steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/[email protected] - name: Build and Package shell: powershell @@ -28,7 +28,7 @@ echo "PROJECT_VERSION=$($VersionString.Matches.Groups[1].Value)" >> $env:GITHUB_ENV - name: Upload Windows x64 CI artifact - uses: actions/upload-artifact@v7 + uses: actions/[email protected] with: name: primesieve-${{ env.PROJECT_VERSION }}-win-x64 path: build-release/primesieve-${{ env.PROJECT_VERSION }}-win-x64/* @@ -41,7 +41,7 @@ steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/[email protected] - name: Build and Package shell: powershell @@ -55,7 +55,7 @@ echo "PROJECT_VERSION=$($VersionString.Matches.Groups[1].Value)" >> $env:GITHUB_ENV - name: Upload Windows arm64 CI artifact - uses: actions/upload-artifact@v7 + uses: actions/[email protected] with: name: primesieve-${{ env.PROJECT_VERSION }}-win-arm64 path: build-release/primesieve-${{ env.PROJECT_VERSION }}-win-arm64/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/.github/workflows/ci.yml new/primesieve-12.18/.github/workflows/ci.yml --- old/primesieve-12.17/.github/workflows/ci.yml 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/.github/workflows/ci.yml 2026-11-12 15:40:09.000000000 +0100 @@ -23,7 +23,7 @@ CC: gcc CXX: g++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Install dependencies run: | sudo apt update @@ -85,7 +85,7 @@ CC: clang CXX: clang++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Install dependencies run: | sudo apt update @@ -155,7 +155,7 @@ CC: gcc-14 CXX: g++-14 steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Install GCC 14 run: | sudo apt update @@ -190,7 +190,7 @@ CC: clang CXX: clang++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Install dependencies run: | sudo apt update @@ -220,7 +220,7 @@ config: ['Release'] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Install Emscripten SDK run: | git clone https://github.com/emscripten-core/emsdk.git @@ -278,7 +278,7 @@ CC: clang CXX: clang++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Build primesieve run: | cmake . -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{matrix.config}} -DCMAKE_INSTALL_PREFIX=$(pwd) -DCMAKE_C_FLAGS="-Wall -Wextra -pedantic -Werror" -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Werror" @@ -334,8 +334,8 @@ run: shell: msys2 {0} steps: - - uses: actions/checkout@v7 - - uses: msys2/setup-msys2@v2 + - uses: actions/[email protected] + - uses: msys2/[email protected] with: msystem: UCRT64 update: true @@ -365,7 +365,7 @@ windows_msvc2022: runs-on: windows-2022 steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Build primesieve run: | cmake . -G "Visual Studio 17 2022" -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON -DCMAKE_CXX_FLAGS="/W3 /WX /MP /EHsc" @@ -389,7 +389,7 @@ CC: gcc CXX: g++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Build primesieve run: | cmake . -DBUILD_TESTS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer" @@ -439,7 +439,7 @@ CC: gcc CXX: g++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Install valgrind run: | sudo apt update @@ -468,7 +468,7 @@ CC: gcc CXX: g++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Build & install primesieve run: | cmake . -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX=$PWD/inst @@ -502,7 +502,7 @@ CC: gcc CXX: g++ steps: - - uses: actions/checkout@v7 + - uses: actions/[email protected] - name: Build & install primesieve run: | cmake . -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX=$PWD/inst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/CMakeLists.txt new/primesieve-12.18/CMakeLists.txt --- old/primesieve-12.17/CMakeLists.txt 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/CMakeLists.txt 2026-11-12 15:40:09.000000000 +0100 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.9...4.2) project(primesieve - VERSION 12.17 + VERSION 12.18 LANGUAGES CXX) # Build options ###################################################### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/ChangeLog new/primesieve-12.18/ChangeLog --- old/primesieve-12.17/ChangeLog 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/ChangeLog 2026-11-12 15:40:09.000000000 +0100 @@ -1,3 +1,11 @@ +Changes in version 12.18, 12/11/2026 +==================================== + +* RiemannR.cpp: Use max() instead of infinity() for -ffast-math compatibility. +* multiarch_arm_sve.cmake: Disable ARM SVE runtime dispatching + for GCC < 14 due to miscompilation #201. +* actions.lock: Lock GitHub Actions to exact commits to prevent supply chain attacks. + Changes in version 12.17, 21/10/2026 ==================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/cmake/multiarch_arm_sve.cmake new/primesieve-12.18/cmake/multiarch_arm_sve.cmake --- old/primesieve-12.17/cmake/multiarch_arm_sve.cmake 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/cmake/multiarch_arm_sve.cmake 2026-11-12 15:40:09.000000000 +0100 @@ -22,6 +22,15 @@ Error: ARM SVE multiarch not needed! #endif + // GCC < 14 bug: functions following a target(\"+sve\") + // function may also be compiled with SVE enabled, which + // crashes on CPUs without SVE. + #if defined(__GNUC__) && \ + !defined(__clang__) && \ + __GNUC__ < 14 + Error: ARM SVE multiarch requires GCC >= 14! + #endif + #include <include/primesieve/macros.hpp> #include <src/arch/arm/sve.cpp> #include <arm_sve.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/include/primesieve.h new/primesieve-12.18/include/primesieve.h --- old/primesieve-12.17/include/primesieve.h 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/include/primesieve.h 2026-11-12 15:40:09.000000000 +0100 @@ -15,9 +15,9 @@ #ifndef PRIMESIEVE_H #define PRIMESIEVE_H -#define PRIMESIEVE_VERSION "12.17" +#define PRIMESIEVE_VERSION "12.18" #define PRIMESIEVE_VERSION_MAJOR 12 -#define PRIMESIEVE_VERSION_MINOR 17 +#define PRIMESIEVE_VERSION_MINOR 18 #include <primesieve/iterator.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/include/primesieve.hpp new/primesieve-12.18/include/primesieve.hpp --- old/primesieve-12.17/include/primesieve.hpp 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/include/primesieve.hpp 2026-11-12 15:40:09.000000000 +0100 @@ -13,9 +13,9 @@ #ifndef PRIMESIEVE_HPP #define PRIMESIEVE_HPP -#define PRIMESIEVE_VERSION "12.17" +#define PRIMESIEVE_VERSION "12.18" #define PRIMESIEVE_VERSION_MAJOR 12 -#define PRIMESIEVE_VERSION_MINOR 17 +#define PRIMESIEVE_VERSION_MINOR 18 #include <primesieve/iterator.hpp> #include <primesieve/primesieve_error.hpp> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primesieve-12.17/src/RiemannR.cpp new/primesieve-12.18/src/RiemannR.cpp --- old/primesieve-12.17/src/RiemannR.cpp 2026-11-06 22:21:41.000000000 +0100 +++ new/primesieve-12.18/src/RiemannR.cpp 2026-11-12 15:40:09.000000000 +0100 @@ -36,7 +36,7 @@ const primesieve::Array<long double, 128> zeta = { -0.500000000000000000000000000000000000000L, - std::numeric_limits<long double>::infinity(), + std::numeric_limits<long double>::max(), // Unused zeta(1) placeholder 1.644934066848226436472415166646025189219L, 1.202056903159594285399738161511449990765L, 1.082323233711138191516003696541167902775L, @@ -244,7 +244,7 @@ return 0; T t = initialNthPrimeApprox(x); - T old_term = std::numeric_limits<T>::infinity(); + T old_term = std::numeric_limits<T>::max(); // The condition i < ITERS is required in case the computation // does not converge. This happened on Linux i386 where
