I'm working on importing a new upstream version for scid package and I want to get rid of "national-encoding" lintian warning.Are you sure converting that file is useful and won't break the software for the
--- Output ---Your input and output file is the same. Looks like iconv crashes with
iconv -f ISO-8859-15 -t UTF-8 -o /home/josgalo/devel/debian/packaging/scid/build-area/scid-4.7.4+dfsg1/debian/tmp/scid/usr/share/scid/tcl/lang/hungary.tcl \
/home/josgalo/devel/debian/packaging/scid/build-area/scid-4.7.4+dfsg1/debian/tmp/scid/usr/share/scid/tcl/lang/hungary.tcl
make[1]: *** [debian/rules:23: override_dh_auto_install] Error del busPlease run your commands with LANG=C if you intend to show the output when asking for help.
Your input and output file is the same. Looks like iconv crashes with
SIGBUS in this case, instead of just silently truncating the file or something like that, as many other tools would do in this case. If you
really want to convert the file, you need to output the result to a
different file and then move it to the old location.
Are you sure converting that file is useful and won't break the software for the
use cases when this file is used?
On Mon, Jul 11, 2022 at 11:57:21PM +0500, Andrey Rahmatullin wrote:
Your input and output file is the same. Looks like iconv crashes with SIGBUS in this case, instead of just silently truncating the file or something like that, as many other tools would do in this case. If you really want to convert the file, you need to output the result to a different file and then move it to the old location.
Or use "sponge"; package "moreutils".
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 299 |
Nodes: | 16 (2 / 14) |
Uptime: | 70:08:00 |
Calls: | 6,694 |
Calls today: | 4 |
Files: | 12,228 |
Messages: | 5,346,306 |
Posted today: | 1 |