Your message dated Sat, 20 Mar 2021 20:50:46 +0000
with message-id <[email protected]>
and subject line Bug#973248: fixed in puppet 5.5.22-2
has caused the Debian Bug report #973248,
regarding Deprecation warning in Ruby 2.7: $SAFE will become a normal global
variable in Ruby 3.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
973248: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973248
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet
Version: 5.5.22-1
This is a similar but different bug as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955532 .
I get this warning on a puppet run:
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning:
$SAFE will become a normal global variable in Ruby 3.0
I tried fixing it by setting Warning[:deprecated] = false, but that does
not work for this specific warning, weirdly enough.
So I tried another minimal approach. This fixes it for me, and it should
also fix those other deprecation warnings from #955532, so that patch
can be dropped if you want.
--- a/puppet 2020-10-25 18:04:24.000000000 +0100
+++ b/puppet 2020-10-27 19:45:13.784467214 +0100
@@ -1,5 +1,11 @@
#!/usr/bin/ruby
+def Warning.warn(w)
+ if w !~ /warning: (URI.(un|)escape is obsolete|\$SAFE will become a
normal global variable)/
+ super w
+ end
+end
+
begin
require 'puppet/util/command_line'
Puppet::Util::CommandLine.new.execute
Mike.
--- End Message ---
--- Begin Message ---
Source: puppet
Source-Version: 5.5.22-2
Done: Micah Anderson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
puppet, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Micah Anderson <[email protected]> (supplier of updated puppet package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 20 Mar 2021 15:37:05 -0400
Source: puppet
Architecture: source
Version: 5.5.22-2
Distribution: unstable
Urgency: medium
Maintainer: Puppet Package Maintainers
<[email protected]>
Changed-By: Micah Anderson <[email protected]>
Closes: 973248
Changes:
puppet (5.5.22-2) unstable; urgency=medium
.
* Add 0013-fix-SAFE-deprecation-warning.patch (Closes: #973248)
Checksums-Sha1:
a94cc4029ca220ba8a3681819b327050beb0d55c 1803 puppet_5.5.22-2.dsc
fe8489cf1638709158e25eb10a256b150ef25a76 43384 puppet_5.5.22-2.debian.tar.xz
66bc72b0566f533d648e351bcd3b7ccb4f22e149 7784 puppet_5.5.22-2_amd64.buildinfo
Checksums-Sha256:
a04db8d58d677042177f5b4ada6dca5008589f03b861c716833593a34a3301c5 1803
puppet_5.5.22-2.dsc
0a8dd4333db310e86436d5afb0a15b4f219236c0ebb5cddb3d39d0558647ef7e 43384
puppet_5.5.22-2.debian.tar.xz
f87f01d4a9215fca9da43968880bb4efc14f9d37671ffdcab1326460a2d03508 7784
puppet_5.5.22-2_amd64.buildinfo
Files:
2aac3d8b556423e6e5aabf3a47f515b9 1803 admin optional puppet_5.5.22-2.dsc
42650e045e4cbab104b0d31a3f2afa0e 43384 admin optional
puppet_5.5.22-2.debian.tar.xz
c93ff678550fea27694d04e4ed446178 7784 admin optional
puppet_5.5.22-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iNUEARYKAH0WIQSKaorDIe5ctk4CGbUtLGXdsnRG5QUCYFZaJ18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OEE2
QThBQzMyMUVFNUNCNjRFMDIxOUI1MkQyQzY1RERCMjc0NDZFNQAKCRAtLGXdsnRG
5VIXAP9Q3wjg3oAQT+t3W4ynlqfQZqCOCYRsAzFXhqb/IKWTZAD9FRmEcWKzCvYR
INvBUAobTZmdKH/K7z1+KYAv9ah37g0=
=ARnZ
-----END PGP SIGNATURE-----
--- End Message ---