[tex-live] Warning with tlmgr

Greg' Ar Tourter artourter at gmail.com
Fri Dec 4 16:53:06 CET 2015


I have seen discussions about this somewhere (will look for it later) but
the outcome of it was that it was a bug in perl 5.22 which has been
reported upstream but not fixed yet.
I looked it up when slackware current got updated and the warning started
appearing.
I'll email back when I find the reference.

Cheers

Greg

On 4 December 2015 at 15:29, Norbert Preining <preining at logic.at> wrote:

> Hi Rolf,
>
> > Redundant argument in sprintf at
> /usr/local/texlive/2015/bin/x86_64-linux/tlmgr line 3123.
>
> > This is perl 5, version 22, subversion 0 (v5.22.0) built for
> x86_64-linux-thread-multi
>
> Interesting. THis is propably:
>         sprintf ('%*2$s', $currnr, $totalnrdigits)
>
> perl 5.20 manual says:
>             (minimum) width
>                 Arguments are usually formatted to be only as wide as
> required
>                 to display the given value. You can override the width by
>                 putting a number here, or get the width from the next
> argument
>                 (with "*") or from a specified argument (e.g., with "*2$"):
>
>                  printf "<%s>", "a";       # prints "<a>"
>                  printf "<%6s>", "a";      # prints "<     a>"
>                  printf "<%*s>", 6, "a";   # prints "<     a>"
>                  printf '<%*2$s>', "a", 6; # prints "<     a>"
>                  printf "<%2s>", "long";   # prints "<long>" (does not
> truncate)
>
> (in perldoc sprintf)
>
> SO I am a bit surprised.
>
> Can you please check what perl 5.22 docs say to sprintf and this case?
>
> Thanks
>
> Norbert
>
> ------------------------------------------------------------------------
> PREINING, Norbert                               http://www.preining.info
> JAIST, Japan                                 TeX Live & Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20151204/c1688f7e/attachment.html>


More information about the tex-live mailing list