Bug#894217: [reprotest] kk_KZ.RK1048 again

Inaki Malerba inaki at malerba.space
Tue Apr 17 21:47:07 BST 2018


Hi Ximin
> More generally, I'd argue that build programs shouldn't fail simply when LC_ALL is unrecognised, for example gcc works perfectly fine.
>
> $ LC_ALL=ououi gcc -c /dev/null 2>/dev/null; echo $?
> 0

Totally agree.
Normally, it should fallback to a known config, but, as you can see in
the following example, the problem it's not exactly that the LC_ALL is
unrecognized but the LC itself.
A similar problem happens with Sphinx.


Sorry if that's not what you meant.



```
# LC_ALL=kk_KZ.RK1048 help2man
Unknown encoding 'RK1048' at /usr/bin/help2man line 56.

# LC_ALL=bleble help2man
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "bleble",
    LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
`help2man' generates a man page out of `--help' and `--version' output.

Usage: help2man [OPTION]... EXECUTABLE

 -n, --name=STRING       description for the NAME paragraph
 -s, --section=SECTION   section number for manual page (1, 6, 8)
 -m, --manual=TEXT       name of manual (User Commands, ...)
 -S, --source=TEXT       source of program (FSF, Debian, ...)
 -L, --locale=STRING     select locale (default "C")
 -i, --include=FILE      include material from `FILE'
 -I, --opt-include=FILE  include material from `FILE' if it exists
 -o, --output=FILE       send output to `FILE'
 -p, --info-page=TEXT    name of Texinfo manual
 -N, --no-info           suppress pointer to Texinfo manual
 -l, --libtool           exclude the `lt-' from the program name
     --help              print this help, then exit
     --version           print version number, then exit

EXECUTABLE should accept `--help' and `--version' options and produce
output on
stdout although alternatives may be specified using:

 -h, --help-option=STRING     help option string
 -v, --version-option=STRING  version option string
 --version-string=STRING      version string
 --no-discard-stderr          include stderr when parsing option output

Report bugs to <bug-help2man at gnu.org>.
```

-- 
- ina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20180417/206090ad/attachment.sig>


More information about the Reproducible-builds mailing list