tlmgr fails on Solaris 10

George N. White III gnwiii at
Sat Feb 13 16:52:45 CET 2021

On Fri, 12 Feb 2021 at 11:04, Prof Brian Ripley <ripley at>

> which is a very old OS, but we still have a box running for
> software-testing purposes.
> The problem is line 261 of,
>        chomp (my $guessed_platform = `/bin/sh '$config_guess'`);
> It seems config.guess has been taken from GNU Autoconf which tries hard
> to run it under a suitable shell, preferably Bash.  On Solaris /bin/sh
> is a real Bourne shell, but config.guess uses extensions and Autoconf
> has never used it.

> My workaround has been to replace /bin/sh by /bin/bash, but
> unfortunately that needs to be done every time the infrastructure is
> updated.  It would be kinder to have a fix upstream.

Upstream is GNU, but would it be enough for texlive to distribute
with the shebang line modified to use bash (maybe even "#! /usr/bin/env
bash" so
users could provide a bash)?

There is a need for easy mechanisms to catch such gratuitous
Upstream developers are not always interested in supporting a wide variety
of OS's,
so integrators like texlive (and R) are left to deal with changes that
affect their users.

It might be helpful to have a lowest common  denominator option in
that reports use of constructs missing on some /bin/sh instances.

George N. White III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the tex-live mailing list.