Control: severity 1026988 serious Control: tags 1026988 + patch pending Dear maintainer,
with yesterday's upload of file 1:5.44-1 to unstable your package now fails to build from source. To fix the issues, I've prepared an NMU for ruby-ruby-magic-static (versioned as 0.5.4-1.1), debdiff below. An upload to DELAYED/6 will follow shortly. Please feel free to tell me if I should delay it longer. Additionally, https://github.com/kwilczynski/ruby-magic/issues/38 is about this upstream. Regards, Christoph
diff -Nru ruby-ruby-magic-static-0.5.4/debian/changelog ruby-ruby-magic-static-0.5.4/debian/changelog --- ruby-ruby-magic-static-0.5.4/debian/changelog 2022-05-01 23:36:22.000000000 +0200 +++ ruby-ruby-magic-static-0.5.4/debian/changelog 2023-01-11 18:53:56.000000000 +0100 @@ -1,3 +1,10 @@ +ruby-ruby-magic-static (0.5.4-1.1) unstable; urgency=medium + + * Non-maintainer upload + * Adjust PARAM_BYTES_MAX for change in file 5.44. Closes: #1026988 + + -- Christoph Biedl <debian.a...@manchmal.in-ulm.de> Wed, 11 Jan 2023 18:53:56 +0100 + ruby-ruby-magic-static (0.5.4-1) unstable; urgency=medium * Team upload diff -Nru ruby-ruby-magic-static-0.5.4/debian/patches/adjust-for-new-file-bytes-max-value.patch ruby-ruby-magic-static-0.5.4/debian/patches/adjust-for-new-file-bytes-max-value.patch --- ruby-ruby-magic-static-0.5.4/debian/patches/adjust-for-new-file-bytes-max-value.patch 1970-01-01 01:00:00.000000000 +0100 +++ ruby-ruby-magic-static-0.5.4/debian/patches/adjust-for-new-file-bytes-max-value.patch 2023-01-11 18:52:25.000000000 +0100 @@ -0,0 +1,17 @@ +Subject: Fix test breakage introduced with file 5.44 +Author: Christoph Biedl <debian.a...@manchmal.in-ulm.de> +Date: 2023-01-11 +Bug-Debian: https://bugs.debian.org/1026988 +Forwarded: https://github.com/kwilczynski/ruby-magic/issues/38 + +--- a/test/test_magic.rb ++++ b/test/test_magic.rb +@@ -205,7 +205,7 @@ + end + + def test_magic_get_parameter_with_PARAM_BYTES_MAX +- assert_equal(1024 * 1024, @magic.get_parameter(Magic::PARAM_BYTES_MAX)) ++ assert_equal(1024 * 1024 * 7, @magic.get_parameter(Magic::PARAM_BYTES_MAX)) + end + + def test_magic_get_parameter_lower_boundary diff -Nru ruby-ruby-magic-static-0.5.4/debian/patches/series ruby-ruby-magic-static-0.5.4/debian/patches/series --- ruby-ruby-magic-static-0.5.4/debian/patches/series 2022-05-01 23:36:22.000000000 +0200 +++ ruby-ruby-magic-static-0.5.4/debian/patches/series 2023-01-11 18:44:05.000000000 +0100 @@ -1,2 +1,3 @@ relax-mini-portile2-dependency.patch 0002-test_magic-ignore-GC-compaction-test-on-unsupported-.patch +adjust-for-new-file-bytes-max-value.patch
signature.asc
Description: PGP signature