Your message dated Sun, 25 May 2025 15:30:16 +0200
with message-id
<fzn2fum35oteno6vxrueqpj3asc3v3xy3mtjghqbvdvpl6u...@tarta.nabijaczleweli.xyz>
and subject line Close: Bug#944622: sloccount: Fails in a non-ASCII directory
has caused the Debian Bug report #944622,
regarding sloccount: Fails in a non-ASCII directory
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 ow...@bugs.debian.org
immediately.)
--
944622: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944622
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sloccount
Version: 2.26-5.2
Severity: normal
When $CWD contains a non-ASCII character (I had an o", ie. ö),
sloccount fails silently by giving a total of 0 lines.
Files are found initially, but then can't be accumulated correctly or so.
Have a non-directory at the top, so creating directory top_dir
Adding /home/...ö.../.... to top_dir
Creating filelist for förderungen
Adding /home/...ö.../.... to top_dir
Have a non-directory at the top, so creating directory src_top_dir
Adding /home/...ö.../.... to src_top_dir
Adding /home/...ö.../.... to src_top_dir
Adding /home/...ö.../.... to src_top_dir
Adding /home/...ö.../.... to src_top_dir
Adding /home/...ö.../.... to src_top_dir
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Computing results.
SLOC Directory SLOC-by-Language (Sorted)
0 ....ö...... (none)
0 src_top_dir (none)
0 top_dir (none)
SLOC total is zero, no further analysis performed.
-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Versions of packages sloccount depends on:
ii libc6 2.29-3
ii perl 5.28.1-6
sloccount recommends no packages.
Versions of packages sloccount suggests:
pn doc-base <none>
-- no debconf information
--
--- End Message ---
--- Begin Message ---
On Sun, May 25, 2025 at 08:58:45AM +0200, Philipp Marek wrote:
> Put some build artifacts in that directory,
> ie. files that are not UTF8. (.o, binaries, etc.)
>
> When reading such files /usr/bin/break_filelist stops with an error,
> unless the locale is binary-safe (LC_ALL=C).
>
> Categorizing files.
> utf8 "\xB8" does not map to Unicode at /usr/bin/break_filelist line 664,
> <CODE_FILE> line 1.
> Malformed UTF-8 character (fatal) at /usr/bin/break_filelist line 665,
> <CODE_FILE> line 1.
This is #922318.
signature.asc
Description: PGP signature
--- End Message ---