Package: sloccount Version: 2.26-5.2 Severity: normal # sloccount . Creating filelist for runtime Categorizing files. Finding a working MD5 command.... Found a working MD5 command. utf8 "\xB0" does not map to Unicode at /usr/bin/break_filelist line 663, <CODE_FILE> line 1. Malformed UTF-8 character (fatal) at /usr/bin/break_filelist line 664, <CODE_FILE> line 1.
Upon encountering the first .o (or other binary) file, it aborts. I'd argue that having binary files in a source tree aren't that rare, and that sloccount should handle them gracefully - ignoring them, perhaps trying for UCS-16 first and then ignoring them, simply list them per extension as having one line each, or whatever. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sloccount depends on: ii libc6 2.28-6 ii perl 5.28.1-4 sloccount recommends no packages. Versions of packages sloccount suggests: pn doc-base <none> -- no debconf information --