When using debsums, some files (non-ASCII?) can't be checked.
Example:
$ reportbug debsums
*** Welcome to reportbug. Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'Philipp Marek <philipp@marek.priv.at>' as your from address.
Getting status for debsums...
Verifying package integrity...
There may be a problem with your installation of debsums;
the following problems were detected by debsums:
debsums: can't check debsums file /usr/share/doc/debsums/NEWS.Debian.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/doc/debsums/changelog.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/de/man1/debsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/es/man1/debsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/fr/man1/debsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/man1/debsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/man1/rdebsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/pt/man1/debsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/ru/man1/debsums.1.gz (Wide character in subroutine entry)
debsums: can't check debsums file /usr/share/man/sv/man1/debsums.1.gz (Wide character in subroutine entry)
Do you still want to file a report [y|N|q|?]? y
Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html
Hi Philipp,
thanks for this bug report!
Philipp Marek wrote:
Huh? This is weird…
Can't reproduce:
~/pkg-perl/debsums → reportbug debsums
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'Axel Beckert <abe@debian.org>' as your from address.
Getting status for debsums...
Verifying package integrity...
Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Nothing new to report; exiting.
I also tried
env LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 LANGUAGE=de_DE:de debsums debsums
(no de_AT available on my dev box, but de_DE should be close enough
for that case), but to no avail. (Tagging as "unreproducible" for that
— which doesn't mean that the bug is not there, it's just unclear
under what conditions it shows up.)
Showed up even in the automatically gathered section:
And indeed, those are just the non-ASCII (well, binary) files.
But sorry, currently no idea what the cause could be. Especially not
why this wide character is reported to be in a subroutine entry. I
though suspect that this is caused by debsums usage of lambda calculus
style subroutines. So if someone has an idea… (Tagging as "help" for
that.)
And yes, I probably could just add something "binmode STDIN, ':utf8';"
or so, but without understanding the issue, I'm reluctant to add such
snippet. And without being able to reproduce it, it's also hard to
say, if it would help at all, as the wide character wasn't reported in
STDIN or STDOUT or so, but in a subroutine entry.
Regards, Axel