Your message dated Sat, 26 Aug 2023 14:52:30 +0000
with message-id <[email protected]>
and subject line Bug#1041236: fixed in ruby-nokogiri 1.15.4+dfsg-1
has caused the Debian Bug report #1041236,
regarding ruby-nokogiri: useless use of a variable in void context in version.rb
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.)
--
1041236: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041236
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-nokogiri
Version: 1.13.10+dfsg-2+b1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
When loading nokogiri, with 'ruby -w' i get a warning
/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/nokogiri-1.13.10/lib/nokogiri/version/info.rb:85:
warning: possibly useless use of a variable in void context
The relevent lines are
72 def warnings
73 warnings = []
# ... other code adding to warnings is versions mismatch
85 warnings
86 #Debian: ignore warnings from mismatching build/load versions
87 []
88 end
So it looks like Debian has made the function return an empty list instead of
the 'warnings'
variable, but has left 85 as a useless use of a variable.
Assuming there is a reason for hiding those warnings, I think it would be
better to change
line 85 to say 'warnings=[]' and then the function would returning a now empty
warnings message:
but ruby wouldnt complain.
-- System Information:
Debian Release: 12.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-10-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ruby-nokogiri depends on:
ii libc6 2.36-9
ii libruby 1:3.1
ii libruby3.1 3.1.2-7
ii libxml2 2.9.14+dfsg-1.2
ii libxslt1.1 1.1.35-1
ii racc 1.6.2-1
ii ruby 1:3.1
ii ruby-mini-portile2 2.8.1-1
ii ruby-pkg-config 1.5.1-1
ii zlib1g 1:1.2.13.dfsg-1
ruby-nokogiri recommends no packages.
ruby-nokogiri suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ruby-nokogiri
Source-Version: 1.15.4+dfsg-1
Done: Lucas Nussbaum <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ruby-nokogiri, 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.
Lucas Nussbaum <[email protected]> (supplier of updated ruby-nokogiri 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, 26 Aug 2023 16:00:34 +0200
Source: ruby-nokogiri
Architecture: source
Version: 1.15.4+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Lucas Nussbaum <[email protected]>
Closes: 1041236
Changes:
ruby-nokogiri (1.15.4+dfsg-1) unstable; urgency=medium
.
* New upstream version 1.15.4+dfsg
* Refresh patches
* Drop patch 0004-Remove-jar-files-in-the-file-list-in-gemspec.patch -- no
longer needed
* Refresh packaging using dh-make-ruby
* Remove now-useless lintian overrides
* Update patch 0002-Ignore-mismatching-versions-of-libs.patch to fix a
warning. Thanks Richard Lewis for the report and the suggested fix.
Closes: #1041236
* This upload breaks ruby-roxml 4.2.0-1 and ruby-html-proofer 3.19.2-7
Checksums-Sha1:
2a7a73945f5e226c900fa04aaad9758719b0aea6 2410 ruby-nokogiri_1.15.4+dfsg-1.dsc
939e4a5789c6048d6f6cd3d99cace2a47ea19b9f 724532
ruby-nokogiri_1.15.4+dfsg.orig.tar.xz
89b03aecbef5b2301327608b6c5a132436b30432 12932
ruby-nokogiri_1.15.4+dfsg-1.debian.tar.xz
97e6ec7e721db71ba201446de5115cd3faa6ebe7 13005
ruby-nokogiri_1.15.4+dfsg-1_source.buildinfo
Checksums-Sha256:
6b5bcb5f203dc1defb72d0dc16043ac798c4591255921228893c12c444e1b0ae 2410
ruby-nokogiri_1.15.4+dfsg-1.dsc
230df37183c8de23d5526daf1539916d06514e01c8377c8d626de2f9b9f65b8a 724532
ruby-nokogiri_1.15.4+dfsg.orig.tar.xz
ddb644c99b06dbfb7ab792c44c8277e9324b9549843e59321804663b3322f636 12932
ruby-nokogiri_1.15.4+dfsg-1.debian.tar.xz
0c1b5cd99d8ccb259e039c1a8b91fa0037b5d69bc24076af1187897852be9a63 13005
ruby-nokogiri_1.15.4+dfsg-1_source.buildinfo
Files:
51fcd758038672ef42fedcb49d98fb14 2410 ruby optional
ruby-nokogiri_1.15.4+dfsg-1.dsc
3130003bbe92fb88597576584722724b 724532 ruby optional
ruby-nokogiri_1.15.4+dfsg.orig.tar.xz
c5d25e15ec77995449ace41ea4a02a88 12932 ruby optional
ruby-nokogiri_1.15.4+dfsg-1.debian.tar.xz
c4bb78b721b670262d2a4a838ef6e102 13005 ruby optional
ruby-nokogiri_1.15.4+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE/t7ByzN7z1CfQ8IkORS1MvTfvpkFAmTqBjMACgkQORS1MvTf
vpmpjRAArXGOzFdmq6BPusggi985457imro3CdqKEw6A9or0qc6WxAuPm7KTYZkA
1gQHUtYrRPEaefAfIfTmZZslWJMDvydqchSfwOpT/Pbq25nHNyM+PtEL9kWuu0EJ
q4+9LwgzhHxZGV/zXZYYmqG+49QfAsgk/gB+QCqagdd8zqqThlKkbtxvA/W0Kk02
3DQwbUg9YA2i0r46nUBgtqjzIFT159hRrmWyh2YufgVGd3BurZnNiF4cewwmtUnK
Vmm+dSuJZ8lyEvFA22Xtzj3NjqTDKYQVzOBLfFK34qLGmMYiuz8QQrE2boepdBOH
Ulsids403bDuH0hh24AXc188RGczVLSW7RTWph2zzOFY/aZIldaW6SIQNDJKpIi1
xbbrtAbHI7eBU7d/zc+WIUFWz4QlcmSSGFHG6XswEohpiC91gZ6iNHJRfdJWOTef
hbF5UhTHBGorjD7Ll8HBxzGvRCcrbLMguHIWb8UdhHTaySJZhsTo6wCTDRs5Kyku
nf+BfqYUKZRTKgG7bI9TkPkaU2KaGHFMUgq5uONoN6r+xGy8bAQga1LwezXri6Bp
0D785TH5ipq+bV71uq5EzHXvzpZealwX3cs8pS51ccc1fUh+iwdY77xJ2F8U67mY
V75OBEORocyW7qx1Kj3olG2B8rTPGuBQJT83IFtOvXwx6TZ7WYA=
=fFrT
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers