[tex-live] .fmt problems, and luatex failure on Solaris Intel

Nelson H. F. Beebe beebe at math.utah.edu
Thu Jun 23 17:42:09 CEST 2011

I too have been seeing intermittent failures to build .fmt files on
both my home GNU/Linux Fedora 15 TeX Live 2011 installation, and on
our large central Solaris 10 Intel fileserver tree.  These mostly seem
to repair themselves with further updates, and because I've yet to
announce the new tree to our users, I haven't worried much about it.

This morning, I manually ran

	fmtutil-sys --all

on both systems.  On my home box, they all completed, but on the
Solaris Intel server, they failed for two reasons.

Reason 1:

	% fmtutil-sys --help
	/usr/local/share/lib/tex/texlive-2011-05/bin/i386-solaris/fmtutil: bad substitution

	% bash /usr/local/share/lib/tex/texlive-2011-05/bin/i386-solaris/fmtutil --help
	$Id: fmtutil 19225 2010-07-04 12:26:44Z preining $
	Usage: fmtutil [OPTION]... CMD [ARG]...
	Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT
	... long output omitted

Perhaps there is a bash-ism in that script, which should instead be
purely Bourne-shell compatible, because it begins with "#!/bin/sh".

I traced the script like this:

	% sh -xv /usr/local/share/lib/tex/texlive-2011-05/bin/i386-solaris/fmtutil-sys --help
	+ exec fmtutil --help
	/usr/local/share/lib/tex/texlive-2011-05/bin/i386-solaris/fmtutil: bad substitution

A further trace produces:

	% sh -xv /usr/local/share/lib/tex/texlive-2011-05/bin/i386-solaris/fmtutil --help |& grep -3 bad
	+ break
	+ help
	+ cat
	/usr/local/share/lib/tex/texlive-2011-05/bin/i386-solaris/fmtutil: bad substitution
	+ cleanup 0
	+ false

Reason 2:
On Solaris Intel, I get this final report:

`luatex -ini  -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini' failed
`luatex -ini  -jobname=lualatex -progname=lualatex lualatex.ini' failed
`luatex -ini  -jobname=luatex -progname=luatex luatex.ini' failed
`luatex -ini  -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed

>From earlier in the logs, here is the reason:

fmtutil: running `luatex -ini   -jobname=dviluatex -progname=dviluatex dviluatex.ini' ...
ld.so.1: luatex: fatal: relocation error: file
symbol asprintf: referenced symbol not found

The luatex executable is referencing a non-existent symbol.  This
seems to be the same problem as I reported earlier, and is due to the
builds being done on a Solaris 11 system.

I could do a build and install from source here on Solaris 10, but it
would be wiped by the next tlmgr update.

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -

More information about the tex-live mailing list