From josuast at hotmail.com Sun Nov 12 12:21:27 2017 From: josuast at hotmail.com (Josua Stingelin) Date: Sun, 12 Nov 2017 11:21:27 +0000 Subject: [tex-k] Building Latex, Failed Test Message-ID: Dear Gents, As requested here is my report! > ============================================================================ > Testsuite summary for Web2C 2018/dev > ============================================================================ > # TOTAL: 89 > # PASS: 86 > # SKIP: 2 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See ./test-suite.log > Please report to tex-k at tug.org > ============================================================================ > PASS: luatexdir/luatex.test > FAIL: luatexdir/luaimage.test > PASS: luatexdir/luajittex.test luaimage.log: > This is LuaTeX, Version 1.0.4 (TeX Live 2018/dev) (INITEX) > restricted system commands enabled. > (../../../texk/web2c/luatexdir/tests/luaimage.tex > (../../../texk/web2c/tests/basic.tex Preloading the plain format: codes, > registers, parameters, macros, math definitions, output routines, hyphenation)) > > Beginning to dump on file luaimage.fmt > (format=luaimage 2017.11.12) > 2374 strings using 6765 bytes > 10085 memory locations dumped; current usage is 132&5003 > 1335 multiletter control sequences > \font\nullfont=nullfont > 0 preloaded fonts > No pages of output. > Transcript written on luaimage.log. > ../../../texk/web2c/luatexdir/luaimage.test: line 12: 24131 Segmentation fault (core dumped) ./l uatex -ini luaimage > FAIL luatexdir/luaimage.test (exit status: 1) Due to the incompatibility of xindy from the official version of texlive (installed with install-tl) I've decided to build latex myself. I had to change one file (though I doubt it has any influence on the test failure) `utils/xindy/xindy-src/make-rules/inputenc/make-inp-rules.pl` Line 12: > while () { > -- if (/\\indexentry{(.+)--([8-9a-f][0-9a-f])\}\{1\}/) > ++ if (/\\indexentry\{(.+)--([8-9a-f][0-9a-f])\}\{1\}/) 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 Should you require any additional information please contact me. Best Regards, Josua From karl at freefriends.org Mon Nov 13 00:31:45 2017 From: karl at freefriends.org (Karl Berry) Date: Sun, 12 Nov 2017 23:31:45 GMT Subject: [tex-k] Building Latex, Failed Test In-Reply-To: Message-ID: <201711122331.vACNVjAT008648@freefriends.org> > ../../../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 From karl at freefriends.org Wed Nov 29 01:09:09 2017 From: karl at freefriends.org (Karl Berry) Date: Wed, 29 Nov 2017 00:09:09 GMT Subject: [tex-k] \pdfprimitive and back_input In-Reply-To: <20171009100321.bf80bbed9ae1dfeca6c54872@yahoo.co.jp> Message-ID: <201711290009.vAT0994W003126@freefriends.org> Hi Hironori, Subject: [tex-k] \pdfprimitive and back_input For the record, I've just installed your (revised) fixes for pdftex in pdftex r784 and TL r45936. I added most of the explanation you've sent as commentary in pdftex.web, but didn't change any of your code. The three simple tests I wrote for it are at http://tug.org/svn/pdftex/branches/stable/tests/08-pdfprimitive. I submitted your (HK) fix for xetex at https://sourceforge.net/p/xetex/bugs/143. Thanks so much for doing this work, Karl