Discussion:
[tex-k] Building Latex, Failed Test
Karl Berry
2017-11-12 23:31:45 UTC
Permalink
../../../texk/web2c/luatexdir/luaimage.test: line 12: 24131 Segmentation fault (core dumped) ./l uatex -ini luaimage
Thanks for the report.

First, please recompile with ./Build -g to remove optimization.
That is, I'm hoping you're using my little Build script;
if not, set CFLAGS=-g CXXFLAGS=-g before the configure && make.
(The crash doesn't happen on my system (x86_64-linux, centos7 -> gcc.4.8.5).)

If the crash still happens, please let us know the os and compiler
versions you're using. If you're up for it, you could
cd ../Work/texk/web2c
gdb luatex
set env TEXMFCNF=$srcdir/../kpathsea
set env TEXINPUTS=$srcdir/luatexdir/tests:$srcdir/tests
r -ini luaimage

(where $srcdir is the .../web2c source, not build, directory), and see
where it crashes.

Meanwhile, as for the original problem:

Due to the incompatibility of xindy from the official version of texlive

What is the incompatibility? The { Perl thing, or something else?

(installed with install-tl) I've decided to build latex myself.

BTW, you can compile and install xindy on its own without bothering
about the rest, if you want ...

utils/xindy/xindy-src/make-rules/inputenc/make-inp-rules.pl
-- if (/\\indexentry{(.+)--([8-9a-f][0-9a-f])\}\{1\}/)
++ if (/\\indexentry\{(.+)--([8-9a-f][0-9a-f])\}\{1\}/)
Thanks. We need to do that. Committed to TL (r45768).

Also I created xlocale.h as a symlink to locale.h (which I read somewhere)
ln -s /usr/include/locale.h /usr/include/xlocale.h
That doesn't make sense to me and shouldn't be necessary AFAIK, but I
doubt it matters to the test failure.

Thanks,
Karl

Loading...