Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Sereal for openSUSE:Factory checked in at 2022-03-01 17:03:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sereal (Old) and /work/SRC/openSUSE:Factory/.perl-Sereal.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sereal" Tue Mar 1 17:03:59 2022 rev:8 rq:958276 version:4.023 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sereal/perl-Sereal.changes 2020-08-17 12:07:17.886758387 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Sereal.new.1958/perl-Sereal.changes 2022-03-01 17:04:49.796353520 +0100 @@ -1,0 +2,24 @@ +Mon Feb 21 03:11:15 UTC 2022 - Tina M??ller <[email protected]> + +- updated to 4.023 + see /usr/share/doc/packages/perl-Sereal/Changes + + 4.023 Sun Feb 20, 2022 + * Make it possible to upgrade with passing tests when using + Sereal::Decoder 4.015 - 4.019 on threaded debugging perls. + IF YOU USE THREADED PERLS YOU ARE STRONGLY ADVISED TO UPDATE + TO THIS VERSION OR LATER. *UPGRADE THE DECODER IMMEDIATELY*. + 4.022 Sat Feb 19, 2022 + 4.021 Fri Feb 18, 2022 + * Early but incomplete versions of 4.023, skip these releases. + 4.020 Thurs Feb 17, 2022 + * Fix "panic: free from wrong pool" errors on threaded builds. + This error is only visible on DEBUGGING perls however it exists + regardless. If you are using a threaded build upgrade to this! + Thanks to Andreas J. Koenig for finding the bug, and Nicholas Clark + for suggesting valgrind to debug and fix it. + 4.019 Mon Feb 7, 2022 + * Fix build issue with latest perl - Thanks to Nicholas Clark + * Update zstd to 1.5.1 + +------------------------------------------------------------------- Old: ---- Sereal-4.018.tar.gz New: ---- Sereal-4.023.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sereal.spec ++++++ --- /var/tmp/diff_new_pack.LlHCQq/_old 2022-03-01 17:04:50.228353634 +0100 +++ /var/tmp/diff_new_pack.LlHCQq/_new 2022-03-01 17:04:50.232353635 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Sereal # -# Copyright (c) 2020 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 @@ -16,27 +16,27 @@ # +%define cpan_name Sereal Name: perl-Sereal -Version: 4.018 +Version: 4.023 Release: 0 -%define cpan_name Sereal -Summary: Binary serialization module for Perl License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary: Binary serialization module for Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/Y/YV/YVES/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Sereal::Decoder) >= 4.018 -BuildRequires: perl(Sereal::Encoder) >= 4.018 +BuildRequires: perl(Sereal::Decoder) >= 4.023 +BuildRequires: perl(Sereal::Encoder) >= 4.023 +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::LongString) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Warn) -Requires: perl(Sereal::Decoder) >= 4.018 -Requires: perl(Sereal::Encoder) >= 4.018 +Requires: perl(Sereal::Decoder) >= 4.023 +Requires: perl(Sereal::Encoder) >= 4.023 %{perl_requires} %description @@ -63,11 +63,11 @@ https://github.com/Sereal/Sereal/wiki/Sereal-Comparison-Graphs. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -78,7 +78,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog ++++++ Sereal-4.018.tar.gz -> Sereal-4.023.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/Changes new/Sereal-4.023/Changes --- old/Sereal-4.018/Changes 2020-08-03 12:23:42.000000000 +0200 +++ new/Sereal-4.023/Changes 2022-02-20 05:05:20.000000000 +0100 @@ -13,6 +13,28 @@ * Sereal package and instead install the Encoder or * * Decoder independently. * **************************************************************** +4.023 Sun Feb 20, 2022 + * Make it possible to upgrade with passing tests when using + Sereal::Decoder 4.015 - 4.019 on threaded debugging perls. + + IF YOU USE THREADED PERLS YOU ARE STRONGLY ADVISED TO UPDATE + TO THIS VERSION OR LATER. *UPGRADE THE DECODER IMMEDIATELY*. + +4.022 Sat Feb 19, 2022 +4.021 Fri Feb 18, 2022 + * Early but incomplete versions of 4.023, skip these releases. + +4.020 Thurs Feb 17, 2022 + * Fix "panic: free from wrong pool" errors on threaded builds. + This error is only visible on DEBUGGING perls however it exists + regardless. If you are using a threaded build upgrade to this! + Thanks to Andreas J. Koenig for finding the bug, and Nicholas Clark + for suggesting valgrind to debug and fix it. + +4.019 Mon Feb 7, 2022 + * Fix build issue with latest perl - Thanks to Nicholas Clark + * Update zstd to 1.5.1 + 4.018 Thurs Aug 3, 2020 * Fix issue with gcc 10 with snappy compression. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/META.json new/Sereal-4.023/META.json --- old/Sereal-4.018/META.json 2020-08-03 12:38:39.000000000 +0200 +++ new/Sereal-4.023/META.json 2022-02-20 05:16:11.000000000 +0100 @@ -4,13 +4,13 @@ "Steffen Mueller <[email protected]>, Yves Orton <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.46, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Sereal", "no_index" : { @@ -32,8 +32,8 @@ }, "runtime" : { "requires" : { - "Sereal::Decoder" : "4.018", - "Sereal::Encoder" : "4.018", + "Sereal::Decoder" : "4.023", + "Sereal::Encoder" : "4.023", "perl" : "5.008" } }, @@ -42,8 +42,10 @@ "Data::Dumper" : "0", "File::Spec" : "0", "Scalar::Util" : "0", - "Sereal::Decoder" : "4.018", - "Sereal::Encoder" : "4.018", + "Sereal::Decoder" : "4.023", + "Sereal::Encoder" : "4.023", + "Test::Deep" : "0", + "Test::Differences" : "0", "Test::LongString" : "0", "Test::More" : "0.88", "Test::Warn" : "0" @@ -60,6 +62,6 @@ "url" : "git://github.com/Sereal/Sereal.git" } }, - "version" : "4.018", - "x_serialization_backend" : "JSON::PP version 2.27400" + "version" : "4.023", + "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/META.yml new/Sereal-4.023/META.yml --- old/Sereal-4.018/META.yml 2020-08-03 12:38:39.000000000 +0200 +++ new/Sereal-4.023/META.yml 2022-02-20 05:16:11.000000000 +0100 @@ -7,15 +7,17 @@ ExtUtils::MakeMaker: '0' File::Spec: '0' Scalar::Util: '0' - Sereal::Decoder: '4.018' - Sereal::Encoder: '4.018' + Sereal::Decoder: '4.023' + Sereal::Encoder: '4.023' + Test::Deep: '0' + Test::Differences: '0' Test::LongString: '0' Test::More: '0.88' Test::Warn: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.46, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,11 +28,11 @@ - t - inc requires: - Sereal::Decoder: '4.018' - Sereal::Encoder: '4.018' + Sereal::Decoder: '4.023' + Sereal::Encoder: '4.023' perl: '5.008' resources: bugtracker: https://github.com/Sereal/Sereal/issues repository: git://github.com/Sereal/Sereal.git -version: '4.018' +version: '4.023' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/Makefile.PL new/Sereal-4.023/Makefile.PL --- old/Sereal-4.018/Makefile.PL 2020-08-03 12:24:01.000000000 +0200 +++ new/Sereal-4.023/Makefile.PL 2022-02-20 05:06:44.000000000 +0100 @@ -4,7 +4,7 @@ use ExtUtils::MakeMaker; use Cwd; -our $VERSION= '4.018'; +our $VERSION= '4.023'; my $shared_dir= "../shared"; my $its_our_repo_file= "../this_is_the_Sereal_repo.txt"; @@ -40,14 +40,16 @@ 'meta-spec' => { version => 2 }, }, TEST_REQUIRES => { - 'Test::More' => 0.88, - 'Sereal::Encoder' => $VERSION, - 'Sereal::Decoder' => $VERSION, - 'Scalar::Util' => 0, - 'File::Spec' => 0, - 'Test::LongString' => '0', - 'Test::Warn' => '0', 'Data::Dumper' => '0', + 'File::Spec' => '0', + 'Scalar::Util' => '0', + 'Sereal::Decoder' => $VERSION, + 'Sereal::Encoder' => $VERSION, + 'Test::Deep' => '0', + 'Test::Differences' => '0', + 'Test::LongString' => '0', + 'Test::More' => '0.88', + 'Test::Warn' => '0', }, NAME => 'Sereal', VERSION_FROM => 'lib/Sereal.pm', # finds $VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/inc/Sereal/BuildTools.pm new/Sereal-4.023/inc/Sereal/BuildTools.pm --- old/Sereal-4.018/inc/Sereal/BuildTools.pm 2020-07-09 15:50:11.000000000 +0200 +++ new/Sereal-4.023/inc/Sereal/BuildTools.pm 2022-02-20 05:05:20.000000000 +0100 @@ -178,7 +178,14 @@ $gccversion= $1; } - if ( $catch_violations && ( $clang || $gccversion >= 4.3 ) ) { + if ( $] < 5.035005 && $catch_violations && ( $clang || $gccversion >= 4.3 ) ) { + + # v5.35.5 enables some C99 features including mixed declarations and code, + # and uses them in inline.h, hence we can't enable this warning flag + # without generating false positive warnings. + # Earlier versions of perl support older compilers that are strict C89, + # hence we still need to avoid mixed declarations and code, hence + # enable this warning on earlier perls so that we can still spot problems. # -Werror= introduced in GCC 4.3 # For trapping C++ // comments we would need -std=c89 (aka -ansi) @@ -242,4 +249,11 @@ ExtUtils::MakeMaker::WriteMakefile(%params); } +sub MY::postamble { + return <<'MAKE_FRAG'; +zstd/libzstd$(OBJ_EXT): zstd/Makefile + cd zstd && $(MAKE) all +MAKE_FRAG +} + 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/lib/Sereal.pm new/Sereal-4.023/lib/Sereal.pm --- old/Sereal-4.018/lib/Sereal.pm 2020-08-03 12:24:01.000000000 +0200 +++ new/Sereal-4.023/lib/Sereal.pm 2022-02-20 05:06:44.000000000 +0100 @@ -2,9 +2,9 @@ use 5.008; use strict; use warnings; -our $VERSION= '4.018'; +our $VERSION= '4.023'; our $XS_VERSION= $VERSION; $VERSION= eval $VERSION; -use Sereal::Encoder 4.018 qw( +use Sereal::Encoder 4.023 qw( encode_sereal sereal_encode_with_object SRL_UNCOMPRESSED @@ -12,7 +12,7 @@ SRL_ZLIB SRL_ZSTD ); -use Sereal::Decoder 4.018 qw( +use Sereal::Decoder 4.023 qw( decode_sereal looks_like_sereal decode_sereal_with_header_data diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sereal-4.018/t/lib/Sereal/TestSet.pm new/Sereal-4.023/t/lib/Sereal/TestSet.pm --- old/Sereal-4.018/t/lib/Sereal/TestSet.pm 2020-07-03 11:02:17.000000000 +0200 +++ new/Sereal-4.023/t/lib/Sereal/TestSet.pm 2022-02-20 05:05:20.000000000 +0100 @@ -1228,6 +1228,22 @@ my ( $ename, $opt, $encode_decode_callbacks )= @_; require Data::Dumper; + my $skip_long_string_tests= 0; + if ( + 4.015 <= $Sereal::Decoder::VERSION && $Sereal::Decoder::VERSION <= 4.019 + ) { + my $perl_is_debugging= $Config{"ccflags"}=~/-DDEBUGGING/; + my $perl_is_threaded= $Config{"useithreads"} || $Config{"usethreads"}; + if ($perl_is_debugging and $perl_is_threaded) { + diag "Skipping round trip tests on this perl!\n", + "Sereal::Decoder v4.015 - v4.019 has a known fault when used with threaded perls.\n", + "This fault will trigger assertion failures on DEBUGGING builds like this perl.\n", + "You are *STRONGLY* advised to upgrade to Sereal::Decoder 4.023 *IMMEDIATELY!\n"; + $skip_long_string_tests= 1; + return; + } + } + my $failed= 0; my $decoder= Sereal::Decoder->new($opt);
