Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2022-09-16 13:31:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gawk" Fri Sep 16 13:31:53 2022 rev:50 rq:1003729 version:5.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gawk/gawk.changes 2021-11-25 23:05:33.085318080 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new.2083/gawk.changes 2022-09-16 13:32:06.933225048 +0200 @@ -1,0 +2,30 @@ +Tue Sep 13 17:43:05 UTC 2022 - Andreas Schwab <sch...@suse.de> + +- upref.patch: Add missing UPREF + +------------------------------------------------------------------- +Mon Sep 5 08:49:14 UTC 2022 - Andreas Schwab <sch...@suse.de> + +- Update to gawk 5.2.0 + * Numeric scalars now compare in the same way as C for the relational + operators. Comparison order for sorting has not changed + * If the AWK_HASH environment variable is set to "fnv1a" gawk will + use the FNV1-A hash function for associative arrays + * There is now a new function, mkbool(), that creates Boolean-typed + values + * As BWK awk has supported interval expressions since 2019, they are + now enabled even if --traditional is supplied + * The rwarray extension has two new functions, writeall() and readall() + * The new `gawkbug' script should be used for reporting bugs + * The manual page (doc/gawk.1) has been considerably reduced in size + * Gawk now supports Terence Kelly's "persistent malloc" (pma), + allowing gawk to preserve its variables, arrays and user-defined + functions between runs + * Some subtle issues with untyped array elements being passed to + functions have been fixed + * Syntax errors are now immediately fatal +- gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch: removed +- pma.patch: Handle hole bigger than half the address space +- nan-tests.patch: fix non-portable NaN tests + +------------------------------------------------------------------- Old: ---- gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch gawk-5.1.1.tar.xz gawk-5.1.1.tar.xz.sig New: ---- gawk-5.2.0.tar.xz gawk-5.2.0.tar.xz.sig nan-tests.patch pma.patch upref.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gawk.spec ++++++ --- /var/tmp/diff_new_pack.nHua0o/_old 2022-09-16 13:32:07.537226999 +0200 +++ /var/tmp/diff_new_pack.nHua0o/_new 2022-09-16 13:32:07.541227012 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gawk -Version: 5.1.1 +Version: 5.2.0 Release: 0 Summary: Domain-specific language for text processing License: GPL-3.0-or-later @@ -27,7 +27,9 @@ Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring Source4: gawk.rpmlintrc -Patch0: gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch +Patch0: pma.patch +Patch1: nan-tests.patch +Patch2: upref.patch Provides: awk BuildRequires: mpfr-devel BuildRequires: readline-devel @@ -47,7 +49,12 @@ %make_build %check -%make_build check +# Disable pma tests when running in linux-user emulation (bsc#1203140) +%make_build check \ +%if 0%{?qemu_user_space_build} + NEED_PMA= \ +%endif + %nil %install %make_install @@ -78,12 +85,15 @@ %license COPYING* %doc AUTHORS NEWS POSIX.STD README ChangeLog* %{_bindir}/gawk +%{_bindir}/gawkbug %{_libexecdir}/awk %{_libdir}/gawk %{_datadir}/awk %{_includedir}/gawkapi.h %{_infodir}/*.info%{?ext_info} %{_mandir}/man1/gawk.1%{?ext_man} +%{_mandir}/man1/gawkbug.1%{?ext_man} +%{_mandir}/man1/pm-gawk.1%{?ext_man} %{_mandir}/man3/*%{?ext_man} %changelog ++++++ gawk-5.1.1.tar.xz -> gawk-5.2.0.tar.xz ++++++ ++++ 161075 lines of diff (skipped) ++++++ nan-tests.patch ++++++ Index: gawk-5.2.0/test/inf-nan-torture.in =================================================================== --- gawk-5.2.0.orig/test/inf-nan-torture.in +++ gawk-5.2.0/test/inf-nan-torture.in @@ -1 +1 @@ --inf -inform inform -nan -nancy nancy -123 0 123 +123 nancy +nancy +nan inform +inform +inf +-inf -inform inform +nan -nancy nancy -123 0 123 +123 nancy +nancy +nan inform +inform +inf Index: gawk-5.2.0/test/inf-nan-torture.ok =================================================================== --- gawk-5.2.0.orig/test/inf-nan-torture.ok +++ gawk-5.2.0/test/inf-nan-torture.ok @@ -1,7 +1,7 @@ 1 -inf -inf 2 -inform 0 3 inform 0 -4 -nan -nan +4 +nan +nan 5 -nancy 0 6 nancy 0 7 -123 -123 ++++++ pma.patch ++++++ Index: gawk-5.2.0/support/pma.c =================================================================== --- gawk-5.2.0.orig/support/pma.c +++ gawk-5.2.0/support/pma.c @@ -346,6 +346,7 @@ static void * addrgap(off_t n) { // fin for (U = 1; ; U *= 2) // double upper bound until failure if (MAP_FAILED == (A = MMAP(U))) break; else MUNMAP(A, U); + if (U == 0) U = -1; while (1 + L < U) { // binary search between bounds size_t M = L + (U - L) / 2; // avoid overflow if (MAP_FAILED == (A = MMAP(M))) { U = M; } ++++++ upref.patch ++++++ Index: gawk-5.2.0/interpret.h =================================================================== --- gawk-5.2.0.orig/interpret.h +++ gawk-5.2.0/interpret.h @@ -238,6 +238,7 @@ uninitialized_scalar: _("reference to uninitialized argument `%s'") : _("reference to uninitialized variable `%s'"), save_symbol->vname); + UPREF(m); PUSH(m); break;