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. 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). > Where did you find the file aas_sample_pdf4_systemF.tex? I did not find it, it is mentioned in the error log Testing/Temporary/LastTest.log (see below). 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 ':' support/Systemcall.cpp (291): Systemcall: 'xelatex "aas_sample_pdf4_systemF.tex"' finished with exit code 1 -- Exporting aas_sample.lyx to pdf4 CMake Error at /usr/local/src/lyx/development/autotests/export.cmake:153 (message): Export failed <end of output> Test time = 67.26 sec ---------------------------------------------------------- Test Failed. "EXAMPLES_export/examples/aas_sample_pdf4_systemF" end time: Jan 13 22:43 CET "EXAMPLES_export/examples/aas_sample_pdf4_systemF" time elapsed: 00:01:07 ---------------------------------------------------------- End testing: Jan 13 22:43 CET export:examples = 67.26 sec