Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nim for openSUSE:Factory checked in at 2026-05-14 21:44:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nim (Old) and /work/SRC/openSUSE:Factory/.nim.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nim" Thu May 14 21:44:44 2026 rev:35 rq:1353162 version:2.2.10 Changes: -------- --- /work/SRC/openSUSE:Factory/nim/nim.changes 2026-04-08 17:15:23.055066984 +0200 +++ /work/SRC/openSUSE:Factory/.nim.new.1966/nim.changes 2026-05-14 21:44:46.035063529 +0200 @@ -1,0 +2,54 @@ +Sun May 10 16:51:42 UTC 2026 - Andrea Manzini <[email protected]> + +- Update to version 2.2.10 + Bugfixes: + * new doesn’t work with ref object + * Switch default mangling back to cpp + * unhandled exception: field 'sym' is not accessible with + type W[N] = seq[tuple[b: N]] + * proc f(x: static[auto]) doesn’t treat x as static + * Invalid codegen for accessing tuple in array + * proc v[T: typedesc]() = discard / v[0]() compiles even though 0 isn’t + a typedesc + * ICE evaluating closure iter with object conversion + * Regression from v2.2.6 to v2.2.8 and also devel in refc {.align.} pragma + where each 16-byte-aligned heap objects gets its own page + * Nim v2.2.x ORC adds extra nimZeroMem/nimCopyMem/stack usage over refc + * Regression from 2.0 to version-2-2/devel with refc, LTO and -fstack-usage + * internal error: getTypeDescAux(tyVoid) with either discard + default(tuple[b: void]) or discard default((void,)) + * parseFloat/parseBiggestFloat lose sign of -NaN (signbit is negative) + * ARC/ORC SIGSEGV with captured variables and closure iterators in + reset/nimDecRefIsLastCyclicStatic + * discard mapIt([0], 0) results in lib/pure/collections/sequtils.nim + Hint: 'it' is declared but not used [XDeclaredButNotUsed] + * proc r(_: typedesc, _: static uint | static int) = discard; r(uint, 0) + causes cannot generate code for: mStatic + * two overflowed *= causes program deadloop sysFatal on –exceptions:goto + * commands: –maxLoopIterationsVM validation used wrong condition + (not/bind precedence) + * docgen: cmpDecimalsIgnoreCase uses wrong index in max() for digit window + * parsecfg: IndexDefect in replace() when value ends with ‘\c’ + * Regression: object with self-referential lent proc field fails to compile + * proc g() {.exportc, error: "".} = (; let a = 0) causes Error: internal + error: expr(nkIdent); unknown node kind + * Doc comment makes nimvm ignore assignment through template + * orc: seq assignment slow + * Regression from v2.2.6 to v2.2.8 and also devel in refc {.align.} + pragma where each 32-byte-aligned heap objects gets its own page + * nimsuggest –v3 and –v4 “outline” output does not list methods + * {.borrow.} on iterator for distinct seq triggers internal error + * template with overload redefines proc + * Invalid C code generation with iterator/nimvm + * std/parseopt no longer support - when shortNoVal is given + * Using sum types with module specifiers typechecks inconsistently + * Conversion from distinct in for forces a copy of underlying instance + * static: (for f in [0]: discard a.b == f) causes nim check unhandled + exception: field 'intVal' is not accessible for type 'TFullReg' using + 'kind = rkNone' [FieldDefect] + * JS backend crashes when returning Option[T] with custom =destroy + * setLenUnit slow, actually initializes seq (refc) + * Stack overflow/materialization-based segfault in refc and ORC with large + object initialization and heap assignment + +------------------------------------------------------------------- Old: ---- nim-2.2.8.tar.xz New: ---- nim-2.2.10.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nim.spec ++++++ --- /var/tmp/diff_new_pack.sgEK9k/_old 2026-05-14 21:44:47.151109552 +0200 +++ /var/tmp/diff_new_pack.sgEK9k/_new 2026-05-14 21:44:47.155109717 +0200 @@ -20,7 +20,7 @@ %define _sat_commit e63eaea8baf00bed8bcd5a29ffd8823abb265b39 Name: nim -Version: 2.2.8 +Version: 2.2.10 Release: 0 Summary: A statically typed compiled systems programming language License: MIT ++++++ nim-2.2.8.tar.xz -> nim-2.2.10.tar.xz ++++++ /work/SRC/openSUSE:Factory/nim/nim-2.2.8.tar.xz /work/SRC/openSUSE:Factory/.nim.new.1966/nim-2.2.10.tar.xz differ: char 25, line 1 ++++++ nim-2.2.2-pcre2.patch ++++++ --- /var/tmp/diff_new_pack.sgEK9k/_old 2026-05-14 21:44:47.219112356 +0200 +++ /var/tmp/diff_new_pack.sgEK9k/_new 2026-05-14 21:44:47.223112521 +0200 @@ -11,10 +11,10 @@ 4 files changed, 893 insertions(+), 175 deletions(-) create mode 100644 lib/wrappers/pcre2.nim -Index: nim-2.2.8/lib/impure/nre.nim +Index: nim-2.2.10/lib/impure/nre.nim =================================================================== ---- nim-2.2.8.orig/lib/impure/nre.nim -+++ nim-2.2.8/lib/impure/nre.nim +--- nim-2.2.10.orig/lib/impure/nre.nim ++++ nim-2.2.10/lib/impure/nre.nim @@ -1,6 +1,6 @@ # # Nim's Runtime Library @@ -363,10 +363,10 @@ break if matchesCrLf and offset < (str.len - 1) and -Index: nim-2.2.8/lib/impure/re.nim +Index: nim-2.2.10/lib/impure/re.nim =================================================================== ---- nim-2.2.8.orig/lib/impure/re.nim -+++ nim-2.2.8/lib/impure/re.nim +--- nim-2.2.10.orig/lib/impure/re.nim ++++ nim-2.2.10/lib/impure/re.nim @@ -1,7 +1,7 @@ # # @@ -769,10 +769,10 @@ prev = match.last + 1 add(result, substr(s, prev)) -Index: nim-2.2.8/lib/wrappers/pcre2.nim +Index: nim-2.2.10/lib/wrappers/pcre2.nim =================================================================== --- /dev/null -+++ nim-2.2.8/lib/wrappers/pcre2.nim ++++ nim-2.2.10/lib/wrappers/pcre2.nim @@ -0,0 +1,561 @@ +# +# @@ -1335,10 +1335,10 @@ +{.pop.} +{.pop.} + -Index: nim-2.2.8/tests/stdlib/nre/init.nim +Index: nim-2.2.10/tests/stdlib/nre/init.nim =================================================================== ---- nim-2.2.8.orig/tests/stdlib/nre/init.nim -+++ nim-2.2.8/tests/stdlib/nre/init.nim +--- nim-2.2.10.orig/tests/stdlib/nre/init.nim ++++ nim-2.2.10/tests/stdlib/nre/init.nim @@ -1,6 +1,8 @@ import unittest include nre ++++++ nim-nim-gdb_fix_interpreter.patch ++++++ --- /var/tmp/diff_new_pack.sgEK9k/_old 2026-05-14 21:44:47.243113346 +0200 +++ /var/tmp/diff_new_pack.sgEK9k/_new 2026-05-14 21:44:47.247113511 +0200 @@ -1,7 +1,7 @@ -Index: nim-2.2.8/bin/nim-gdb +Index: nim-2.2.10/bin/nim-gdb =================================================================== ---- nim-2.2.8.orig/bin/nim-gdb -+++ nim-2.2.8/bin/nim-gdb +--- nim-2.2.10.orig/bin/nim-gdb ++++ nim-2.2.10/bin/nim-gdb @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/bash
