Le 12/04/2017 à 12:05, Guenter Milde a écrit :
On 2017-04-11, Jean-Pierre Chrétien wrote:
Le 11/04/2017 à 10:13, Kornel Benko a écrit :
Am Dienstag, 11. April 2017 um 09:33:15, schrieb Jean-Pierre Chrétien 
<jeanpierre.chret...@free.fr>

I applied this, and I am now down to 33 failures :

The following tests FAILED:
        1777 - export/doc/cs/Tutorial_pdf (Failed)
        1778 - DEFAULTOUTPUT_export/doc/cs/Tutorial_pdf2 (Failed)
        2177 - export/doc/eu/Intro_pdf (Failed)
        2178 - DEFAULTOUTPUT_export/doc/eu/Intro_pdf2 (Failed)
        2193 - export/doc/eu/Tutorial_pdf (Failed)
        2194 - DEFAULTOUTPUT_export/doc/eu/Tutorial_pdf2 (Failed)
        2716 - export/doc/pl/Intro_pdf (Failed)
        2717 - DEFAULTOUTPUT_export/doc/pl/Intro_pdf2 (Failed)
        2732 - export/doc/pl/Tutorial_pdf (Failed)
        2733 - DEFAULTOUTPUT_export/doc/pl/Tutorial_pdf2 (Failed)

...

These work here for me (subset of Debian TeXLive packages).
It seems you are missing some language definition files.

I'm puzzled, the failure is due to missing document class either Book or Article, which makes no sense as all the previous test on doc files passed.
Here is an example of the ctest log:

<cite>
1777/6420 Testing: export/doc/cs/Tutorial_pdf
1777/6420 Test: export/doc/cs/Tutorial_pdf
Command: "/usr/bin/cmake" "-DLYX_ROOT=/ext/lyx/master/lib/doc" "-DLYX_TESTS_USERDIR=/ext/lyx/buildmaster/Testing/.lyx" "-Dlyx=/ext/lyx/buildmaster/bin/lyx2.3" "-DWORKDIR=/ext/lyx/buildmaster/autotests/out-home" "-Dformat=pdf" "-Dfonttype=defaultF" "-Dextension=pdf" "-Dfile=cs/Tutorial" "-Dinverted=0" "-DTOP_SRC_DIR=/ext/lyx/master" "-DIgnoreErrorMessage=" "-DPERL_EXECUTABLE=/usr/local/bin/perl" "-DXMLLINT_EXECUTABLE=/usr/bin/xmllint" "-DENCODING=default" "-P" "/ext/lyx/master/development/autotests/export.cmake"
Directory: /ext/lyx/buildmaster/autotests/out-home
"export/doc/cs/Tutorial_pdf" start time: Apr 11 14:14 CEST
Output:
----------------------------------------------------------
-- IgnoreErrorMessage =
-- using fonttype = defaultF
-- LYX_TESTS_USERDIR = /ext/lyx/buildmaster/Testing/.lyx
-- Converting with perl /ext/lyx/master/development/autotests/useSystemFonts.pl
-- Using source "/ext/lyx/master/lib/doc/cs/Tutorial.lyx"
-- Using dest "/ext/lyx/buildmaster/autotests/out-home/AbC_1tT0pf/cs/Tutorial_pdf_defaultF.lyx" res1 = 1 for "/ext/lyx/master/lib/doc/cs/Tutorial.lyx" to be copied to /ext/lyx/buildmaster/autotests/out-home/AbC_1tT0pf/cs/Tutorial_pdf_defaultF.lyx -- Executing /ext/lyx/buildmaster/bin/lyx2.3 -userdir "/ext/lyx/buildmaster/Testing/.lyx" -E pdf cs/Tutorial_defaultF.pdf "/ext/lyx/buildmaster/autotests/out-home/AbC_1tT0pf/cs/Tutorial_pdf_defaultF.lyx"
Warning: Document class not available
----------------------------------------
The selected document class
        Book (Standard Class)
requires external files that are not available.
The document class can still be used, but the
document cannot be compiled until the following
prerequisites are installed:
        book.cls
</cite>

        2955 - export/doc/zh_CN/Intro_pdf (Failed)
        2956 - DEFAULTOUTPUT_export/doc/zh_CN/Intro_pdf2 (Failed)
        2968 - export/doc/zh_CN/Tutorial_pdf (Failed)
        2969 - DEFAULTOUTPUT_export/doc/zh_CN/Tutorial_pdf2 (Failed)

I don't have Chinese TeX installed.

I have it, missing article.cls file here.


        3061 - export/examples/Literate_pdf (Failed)
        3062 - export/examples/Literate_pdf2 (Failed)

Fails here as well.

I had not installed noweb because it is obsolete, but after the test I did and LyX finds all right noweb.sty. I still get however a LyX message asking for a

   literate->latex

converter. I do not have a literate file format, and I do have any idea of what the converter should do, the wiki does not help on this. This message appears also with other noweb based example files, as listerrors.lyx and noweb2lyx.lyx.


I think I can investigate file by file now.

Then
 - I get the same latex file dependencies problem as seen before with

examples/pl/splash.lyx (article.cls not found)
examples/ja/beamer.lyx (beamer.cls and other common sty files missing)
examples/sweave.lyx (article.cls and fancyvrb.sty missing)
templates/aastex6.lyx (aastex6.cls and other common sty files missing)

- as José pointed out DocBook won't use math anyway, I can safely remove it from the tests.

- I had not installed knitr and dependencies in R, knitr.lyx and Rjournal.lyx work OK now by hand (I documented the installation in the wiki);

- templates/AGUtex.lyx fails because I do not have agutex.cls installed, and won't be able to do it from Internet as the class has been obsoleted by AGU. If someone has it... (just for the sake of completeness).

To summarize:
1/ all the tests failing because of missing packages run OK when I compile by hand (21/33)
 2/ the noweb files miss a literate to latex converter (5/33)
 3/ the files using module Rnw work by hand, I expect them to run with ctest 
(4/33)
 4/ the AGUtex file misses an obsoleted class file (2/33)
 5/ the docbook file is irrelevant (1/33).

I'm going to investigate problem 1/ further. I built the cmake tree from scratch, but I may try again, or run from the intermediate files created to execute the tests. I need info to cope with 2/ and 4/.

--
Jean-Pierre



Reply via email to