Am Mittwoch, 13. Januar 2016 um 21:50:15, schrieb Guenter Milde <mi...@users.sf.net> > Dear Kornel, > > On 2016-01-13, Kornel Benko wrote: > > Am Mittwoch, 13. Januar 2016 um 16:54:05, schrieb Guenter Milde > > >> After applying the second one (aas_sample), I experienced a test failure: > > >> The following tests FAILED: > >> 1945 - EXAMPLES_export/examples/aas_sample_pdf4_systemF (Failed) > >> Errors while running CTest > > >> However, manually changing the fonts to "non-TeX" and running export with > >> XeTeX worked without error! > > >> Looking at the Testing/Temporary/ log, I see > > >> kpathsea:make_tex: Invalid fontname `FreeMono:', contains ':' > >> support/Systemcall.cpp (291): Systemcall: 'xelatex > >> "aas_sample_pdf4_systemF.tex"' finished with exit code 1 > > >> This explains a bit: The "hidden" font replacements lead to failure! > > > It does not explain. Passes here. And the font entries in the used > > (e.g. converted) lyx file are: > > > \fontencoding global > > \font_roman "default" "FreeSerif" > > \font_sans "default" "FreeSans" > > \font_typewriter "default" "FreeMono" > > \font_math "auto" "auto" > > \font_default_family default > > ... > > While the error message may be misleading, the problem is that the "FreeMono" > font is not found here, not by XeTeX nor by LyX. > However, without font setting replacement, the test passes.
If it is not found, then maybe your TeX installation is broken? > Three options: > > a) mark it as unreliable, > b) don't use FreeMono > c) ignore that the test fails at my site (there are many more tests failing > here, because I don't have a complete TeXLive installation and I don't > intent do download all of TeXLive just to run the tests...) > > I am fine with b) and c). > c then. > > Where did you find the file aas_sample_pdf4_systemF.tex? > > I did not find it, it is mentioned in the error log OK, but you claimed that the font replacement is guilty. > Testing/Temporary/LastTest.log (see below). This is not always a proof, sometimes tests running parallel with other tests fail. Rerunning the test alone may pass. Do you use 'ctest -j' ? > Günter > > > Start testing: Jan 13 22:42 CET > ---------------------------------------------------------- > 1960/4957 Testing: EXAMPLES_export/examples/aas_sample_pdf4_systemF > 1960/4957 Test: EXAMPLES_export/examples/aas_sample_pdf4_systemF > Command: "/usr/bin/cmake" "-DLYX_ROOT=/usr/local/src/lyx/lib/examples" > "-DLYX_TESTS_USERDIR=/usr/local/src/lyxtest/Testing/.lyx" > "-Dlyx=/usr/local/src/lyxtest/bin/lyx2.2" > "-DWORKDIR=/usr/local/src/lyxtest/autotests/out-home" "-Dformat=pdf4" > "-Dfonttype=systemF" "-Dextension=pdf4" "-Dfile=aas_sample" "-Dinverted=0" > "-DTOP_SRC_DIR=/usr/local/src/lyx" "-DPERL_EXECUTABLE=/usr/bin/perl" "-P" > "/usr/local/src/lyx/development/autotests/export.cmake" > Directory: /usr/local/src/lyxtest/autotests/out-home > "EXAMPLES_export/examples/aas_sample_pdf4_systemF" start time: Jan 13 22:42 > CET > Output: > ---------------------------------------------------------- > -- using fonttype = systemF > -- LYX_TESTS_USERDIR = /usr/local/src/lyxtest/Testing/.lyx > -- Converting with perl > /usr/local/src/lyx/development/autotests/useSystemFonts.pl > -- Using source "/usr/local/src/lyx/lib/examples/aas_sample.lyx" > -- Using dest > "/usr/local/src/lyxtest/autotests/out-home/AbC_a6_yuy/aas_sample_pdf4_systemF.lyx" > res1 = 1 for "/usr/local/src/lyx/lib/examples/aas_sample.lyx" to be copied to > /usr/local/src/lyxtest/autotests/out-home/AbC_a6_yuy/aas_sample_pdf4_systemF.lyx > -- Executing /usr/local/src/lyxtest/bin/lyx2.2 -userdir > "/usr/local/src/lyxtest/Testing/.lyx" -E pdf4 aas_sample_systemF.pdf4 > "/usr/local/src/lyxtest/autotests/out-home/AbC_a6_yuy/aas_sample_pdf4_systemF.lyx" > This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015/Debian) > (preloaded format=xelatex) > restricted \write18 enabled. > entering extended mode > (./aas_sample_pdf4_systemF.tex > LaTeX2e <2015/10/01> patch level 1 > Babel <3.9m> and hyphenation patterns for 53 languages loaded. > > kpathsea:make_tex: Invalid fontname `FreeMono:', contains ':' > support/Systemcall.cpp (291): Systemcall: 'xelatex > "aas_sample_pdf4_systemF.tex"' finished with exit code 1 > This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015/Debian) > (preloaded format=xelatex) > restricted \write18 enabled. > entering extended mode > (./aas_sample_pdf4_systemF.tex > LaTeX2e <2015/10/01> patch level 1 > Babel <3.9m> and hyphenation patterns for 53 languages loaded. > > kpathsea:make_tex: Invalid fontname `FreeMono:', contains ':' I can see the error. Where did the ':' came from? To be sure, we can try to obtain the converted lyx file. For this you have to patch the file export.cmake:150 Comment this line, e.g. change to #execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory "${TempDir}") Now run the test ctest -R EXAMPLES_export/examples/aas_sample_pdf4_systemF and search for the dir AbC\* find . -name AbC\* Inside this dir is a file named aas_sample_pdf4_systemF.lyx. Please check this file for wrong font selection. Kornel
signature.asc
Description: This is a digitally signed message part.