Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nim for openSUSE:Factory checked in at 2025-12-11 18:41:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nim (Old) and /work/SRC/openSUSE:Factory/.nim.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nim" Thu Dec 11 18:41:51 2025 rev:33 rq:1322196 version:2.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/nim/nim.changes 2025-03-27 22:33:10.566778870 +0100 +++ /work/SRC/openSUSE:Factory/.nim.new.1939/nim.changes 2025-12-11 18:45:22.467640281 +0100 @@ -1,0 +2,16 @@ +Wed Dec 3 16:30:32 UTC 2025 - Andrea Manzini <[email protected]> + +- Update to version 2.2.6 + * Exception handling combined with Nim’s async is more stable than ever + before as the underlying closure iterator transformation has been + rewritten. + * The compiler is now smart enough to produce a move operation for + return obj.field. Previously it performed a copy. Expect your code to + run slightly faster due to this and other minor performance improvements. + + * Full changelog: https://github.com/nim-lang/Nim/blob/v2.2.6/changelog.md + +- Update to version 2.2.4 + * see changelog at https://github.com/nim-lang/Nim/blob/v2.2.4/changelog.md + +------------------------------------------------------------------- Old: ---- atlas-0.8.0.tar.gz nim-2.2.2.tar.xz sat-faf1617f44d7632ee9601ebc13887644925dcc01.tar.gz New: ---- atlas-0.9.5.tar.gz nim-2.2.6.tar.xz sat-d67107e94f92c4cf6f0791542f473b21329bbd97.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nim.spec ++++++ --- /var/tmp/diff_new_pack.7amCz7/_old 2025-12-11 18:45:23.315675911 +0100 +++ /var/tmp/diff_new_pack.7amCz7/_new 2025-12-11 18:45:23.315675911 +0100 @@ -1,7 +1,7 @@ # # spec file for package nim # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,11 @@ # -%define _atlas_version 0.8.0 -%define _sat_commit faf1617f44d7632ee9601ebc13887644925dcc01 +%define _atlas_version 0.9.5 +%define _sat_commit d67107e94f92c4cf6f0791542f473b21329bbd97 Name: nim -Version: 2.2.2 +Version: 2.2.6 Release: 0 Summary: A statically typed compiled systems programming language License: MIT @@ -42,7 +42,8 @@ BuildRequires: gc-devel # Nim needs support for both __builtin_saddll_overflow and # -std=c++14, therefore gcc 6.2+ is required. -BuildRequires: gcc-c++ >= 6.2 +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: git BuildRequires: libopenssl-devel BuildRequires: netcfg @@ -51,7 +52,6 @@ BuildRequires: valgrind BuildRequires: pkgconfig(libpcre2-8) # pull in a C compiler (required to build Nim programs) -Requires: gcc Recommends: clang Recommends: git Recommends: libpcre2-8-0 @@ -120,6 +120,11 @@ ./bin/nim c $NIMFLAGS -d:release koch ./koch boot $NIMFLAGS -d:release + +# on older versions use v1 garbage collector +%if 0%{?suse_version} < 1560 +echo "mm:refc" >> config/nim.cfg +%endif ./koch tools $NIMFLAGS -d:release # TODO: build docs @@ -140,6 +145,7 @@ tests/stdlib/tnetconnect.nim # client: exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed tests/stdlib/thttpclient_ssl.nim + tests/stdlib/tssl.nim # cannot open file: jester tests/niminaction/Chapter7/Tweeter/src/tweeter.nim tests/cpp/tasync_cpp.nim @@ -156,10 +162,12 @@ # no SFML in plain SLE and missing in backport repos tests/niminaction/Chapter8/sfml/sfml_test.nim # GCC 14 related errors - tests/objects/toop1.nim - tests/vm/tvmmisc.nim - tests/cpp/tmanual_exception.nim - tests/objects/tobjcov.nim + #tests/objects/toop1.nim + #tests/vm/tvmmisc.nim + #tests/cpp/tmanual_exception.nim + #tests/objects/tobjcov.nim + # GCC 15 related errors + tests/stdlib/concurrency/tatomics.nim # exits with 1 for some reason tests/stdlib/tmath.nim EOT @@ -171,6 +179,15 @@ tests/realtimeGC/tmain.nim tests/realtimeGC/shared.nim tests/stdlib/tcasts.nim + tests/stdlib/trandom.nim + tests/stdlib/tmarshal.nim + tests/compiler/tasm2.nim + tests/async/tioselectors.nim + tests/stdlib/t9754.nim + tests/template/t13426.nim + tests/threads/tmembug.nim + tests/errmsgs/t22852.nim + tests/errmsgs/t23435.nim EOT %endif @@ -191,9 +208,25 @@ #aarch64 and ppc64l tests/range/tcompiletime_range_checks.nim tests/dll/nimhcr_unit.nim + tests/coroutines/tgc.nim + tests/coroutines/twait.nim + tests/threads/tonthreadcreation.nim + tests/threads/tracy_allocator.nim + tests/threads/treusetvar.nim + tests/threads/tthreadvars.nim + tests/misc/ttlsemulation.nim + tests/misc/tvcc.nim + tests/threads/t7172.nim + tests/dll/nimhcr_basic.nim + tests/threads/t8535.nim + tests/threads/threadex.nim + tests/threads/tmanyjoin.nim + tests/threads/tmembug.nim #ppc64le tests/arc/tasyncorc.nim + tests/compiler/tasm.nim + tests/compiler/tasm2.nim EOT %endif @@ -205,6 +238,14 @@ EOT %endif +# some test fails on older compiler +%if 0%{?suse_version} <= 1560 +cat << EOT >> tests_to_skip + tests/converter/tconverter_unique_ptr.nim + tests/destructor/t23837.nim +EOT +%endif + %if 0%{?qemu_user_space_build} cat << EOT >> tests_to_skip # valgrind is not compatible with QEMU user-space emulation, ++++++ atlas-0.8.0.tar.gz -> atlas-0.9.5.tar.gz ++++++ ++++ 15081 lines of diff (skipped) ++++++ nim-2.2.2-pcre2.patch ++++++ ++++ 1580 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/nim/nim-2.2.2-pcre2.patch ++++ and /work/SRC/openSUSE:Factory/.nim.new.1939/nim-2.2.2-pcre2.patch ++++++ nim-2.2.2.tar.xz -> nim-2.2.6.tar.xz ++++++ /work/SRC/openSUSE:Factory/nim/nim-2.2.2.tar.xz /work/SRC/openSUSE:Factory/.nim.new.1939/nim-2.2.6.tar.xz differ: char 25, line 1 ++++++ nim-nim-gdb_fix_interpreter.patch ++++++ --- /var/tmp/diff_new_pack.7amCz7/_old 2025-12-11 18:45:23.931701794 +0100 +++ /var/tmp/diff_new_pack.7amCz7/_new 2025-12-11 18:45:23.935701963 +0100 @@ -1,7 +1,7 @@ -Index: nim-2.0.6/bin/nim-gdb +Index: nim-2.2.6/bin/nim-gdb =================================================================== ---- nim-2.0.6.orig/bin/nim-gdb -+++ nim-2.0.6/bin/nim-gdb +--- nim-2.2.6.orig/bin/nim-gdb ++++ nim-2.2.6/bin/nim-gdb @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/bash ++++++ sat-faf1617f44d7632ee9601ebc13887644925dcc01.tar.gz -> sat-d67107e94f92c4cf6f0791542f473b21329bbd97.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sat-faf1617f44d7632ee9601ebc13887644925dcc01/.github/workflows/ci.yml new/sat-d67107e94f92c4cf6f0791542f473b21329bbd97/.github/workflows/ci.yml --- old/sat-faf1617f44d7632ee9601ebc13887644925dcc01/.github/workflows/ci.yml 2024-03-27 10:46:49.000000000 +0100 +++ new/sat-d67107e94f92c4cf6f0791542f473b21329bbd97/.github/workflows/ci.yml 2025-11-25 11:27:42.000000000 +0100 @@ -54,7 +54,7 @@ git config --global user.name "atlasbot" - name: Checkout sat - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: sat submodules: false
