[tlbuild] Patch needed in source/utils/xindy

Bruno Haible bruno at clisp.org
Mon Aug 5 22:54:09 CEST 2019


Hi Nelson,

> The problem is that those commands generate this failing one-liner:
> 
> STRIPPROG='strip' /bin/sh /local/build/bare/texlive-20190805/source/build-aux/install-sh   \
>     -c -s "/usr/local/lib/clisp/base/lisp.run"                                             \
>     "/local/build/bare/texlive-20190805/source/inst/bin/i586-unknown-freebsd13.0/xindy.run"
> 
> It fails because the install-sh copies the vendor file lisp.run into
> the TeX Live file xindy.run, and then applies the strip command to the
> latter. On this system, the lisp.run file has protection -r-xr-xr-x,
> so xindy.run gets the same protection, and the strip command dies
> because it lacks permission to rewrite that file.

How is this possible? The default mode in install-sh is 0755, and there
is explicit code (search for the comment "'strip' requires both read and
write access to temps.") to make sure 'strip' won't fail due to missing
write access.

Does running this script with "/bin/sh -x ..." reveal more details?

Bruno



More information about the tlbuild mailing list