brucemiller / LaTeXML

LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.
http://dlmf.nist.gov/LaTeXML/
Other
935 stars 99 forks source link

Error in make test #996

Closed dragonxtek closed 6 years ago

dragonxtek commented 6 years ago

I execute make without issues, but it cannot complete make test. What is the problem? This is the Test Summary Report:

Test Summary Report
-------------------
t/40_math.t          (Wstat: 256 Tests: 11 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
t/53_alignment.t     (Wstat: 256 Tests: 18 Failed: 1)
  Failed test:  18
  Non-zero exit status: 1
t/65_graphics.t      (Wstat: 256 Tests: 7 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
t/80_complex.t       (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/91_latexmlc_api.t  (Wstat: 768 Tests: 4 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
t/92_profiles.t      (Wstat: 1536 Tests: 13 Failed: 6)
  Failed tests:  5-10
  Non-zero exit status: 6
t/931_epub.t         (Wstat: 6400 Tests: 7 Failed: 5)
  Failed tests:  3-7
  Non-zero exit status: 25
  Parse errors: No plan found in TAP output
t/93_formats.t       (Wstat: 7680 Tests: 34 Failed: 30)
  Failed tests:  2-10, 14-34
  Non-zero exit status: 30
t/95_complex_config.t (Wstat: 768 Tests: 4 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
Files=27, Tests=321, 193 wallclock secs ( 0.10 usr  0.04 sys + 188.97 cusr  2.80 csys = 191.91 CPU)
Result: FAIL
Failed 9/27 test programs. 51/321 subtests failed.
Makefile:2836: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 3

I'm running Ubuntu 16.04 LTS

dginev commented 6 years ago

It looks like all tests are failing on your system, this could typically be related to insufficient permissions to execute the latexml binaries, or missing dependencies.

Could you run make and then execute for example:

perl blib/script/latexml t/math/array.tex --dest=array.xml

and share the log with us? Alternatively you can rerun make test with the verbosity flag enabled as:

make test TEST_VERBOSE=1
dginev commented 6 years ago

On closer look, this seems to be a limited subset of the tests failing, so this may be a very specific problem. Seeing the detailed TEST_VERBOSE=1 log should help figure out what went wrong exactly.

dragonxtek commented 6 years ago
✝  LaTeXML   master±  perl blib/script/latexml t/math/array.tex --dest=array.xml
latexml (LaTeXML version 0.8.2; revision e380f6c0)
processing started Mon May 14 15:16:32 2018

(Digesting TeX array...
(Loading LaTeXML/blib/lib/LaTeXML/Package/TeX.pool.ltxml...
(Loading LaTeXML/blib/lib/LaTeXML/Package/eTeX.pool.ltxml... 0.00 sec)
(Loading LaTeXML/blib/lib/LaTeXML/Package/pdfTeX.pool.ltxml... 0.00 sec) 0.10 sec)
(Processing content LaTeXML/t/math/array.tex...
(Loading LaTeXML/blib/lib/LaTeXML/Package/LaTeX.pool.ltxml... 0.12 sec)
(Loading LaTeXML/blib/lib/LaTeXML/Package/article.cls.ltxml... 0.01 sec) 0.16 sec) 0.26 sec)
(Building...
(Loading compiled schema LaTeXML/blib/lib/LaTeXML/resources/RelaxNG/LaTeXML.model... 0.01 sec)... 0.06 sec)
(Rewriting... 0.00 sec)
(Math Parsing...2 formulae ...[1][2]
Math parsing succeeded:
   ltx:XMArg: 11/11
   ltx:XMath: 2/2
 0.01 sec)
(Finalizing... 0.00 sec)
Conversion complete: No obvious problems.
processing finished Mon May 14 15:16:33 2018

The output for make test is the following:

LaTeXML   master±  make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00_unittest.t ........ 
ok 1 - use LaTeXML;
ok 2 - use LaTeXML::Package;
ok 3 - Make Token (x)
ok 4 - Got correct token (x)
ok 5 - Make Token (x)
ok 6 - Got correct deref (x)
ok 7 - Make Token (z)
ok 8 - Got correct token (z)
ok 9 - Make Tokens (x)
ok 10 - Got correct token (x)
ok 11 - Make Tokens from Token's (x,x,x)
ok 12 - Got correct tokens
ok 13 - Make Tokens from Tokens (x,x,x)
ok 14 - Make Token (z)
ok 15 - Got correct deref (x,x,x)
ok 16 - Make Tokens from Token's (z,z,z)
ok 17 - Got correct tokens (z,z,z)
ok 18 - Make Tokens from Tokens (x,x,x)
ok 19 - Got correct tokens (x,x,x)
ok 20 - Make balanced tokens
ok 21 - Check is balanced
ok 22 - Make unbalanced tokens
ok 23 - Check is not balancde
ok 24 - substitute tokens w/o params
ok 25 - Got correct (non)substitution
ok 26 - make tokens w/ params
ok 27 - subsitute tokens w/params
ok 28 - Got correct substitution
1..28
ok
t/05_tokenize.t ........ 
1..10
ok 1 - use LaTeXML::Core;
ok 2 - t/tokenize/alltt
ok 3 - t/tokenize/comment
ok 4 - t/tokenize/equality
ok 5 - t/tokenize/ligatures
ok 6 - t/tokenize/mathtokens
ok 7 - t/tokenize/percent
ok 8 - t/tokenize/url
ok 9 - t/tokenize/verb
ok 10 - t/tokenize/verbata
ok
t/10_expansion.t ....... 
1..32
ok 1 - use LaTeXML::Core;
ok 2 - t/expansion/aftergroup
ok 3 - t/expansion/definedness
ok 4 - t/expansion/endinput
ok 5 # skip No file t/expansion/endinputinner.xml
ok 6 # skip No file t/expansion/endinputinner2.xml
ok 7 - t/expansion/env
ok 8 - t/expansion/environments
ok 9 - t/expansion/etex
ok 10 - t/expansion/for
ok 11 # skip No file t/expansion/fragment1.xml
ok 12 # skip No file t/expansion/fragment2.xml
ok 13 - t/expansion/hyperurls
ok 14 - t/expansion/ifthen
ok 15 - t/expansion/keywords
ok 16 - t/expansion/lettercase
ok 17 - t/expansion/meaning
ok 18 - t/expansion/noexpand
ok 19 - t/expansion/numexpr
ok 20 - t/expansion/testchar
ok 21 - t/expansion/testexpand
ok 22 - t/expansion/testif
ok 23 - t/expansion/testinput
ok 24 - t/expansion/testmultido
ok 25 - t/expansion/textcase
ok 26 - t/expansion/toks
ok 27 - t/expansion/urls
ok 28 - t/expansion/whichcache
ok 29 # skip No file t/expansion/whichfrag1.xml
ok 30 # skip No file t/expansion/whichfrag1.tex.xml
ok 31 # skip No file t/expansion/whichfrag2.xml
ok 32 - t/expansion/whichinput
ok
t/12_grouping.t ........ 
1..3
ok 1 - use LaTeXML::Core;
ok 2 - t/grouping/mathgroup
ok 3 - t/grouping/scopemacro
ok
t/20_digestion.t ....... 
1..10
ok 1 - use LaTeXML::Core;
ok 2 - t/digestion/box
ok 3 - t/digestion/chardefs
ok 4 - t/digestion/def
ok 5 - t/digestion/defaultunits
ok 6 - t/digestion/dollar
ok 7 - t/digestion/io
ok 8 - t/digestion/primes
ok 9 - t/digestion/testctr
ok 10 - t/digestion/xargs
ok
t/22_fonts.t ........... 
1..19
ok 1 - use LaTeXML::Core;
ok 2 - t/fonts/accents
ok 3 - t/fonts/bbold
ok 4 - t/fonts/cancels
ok 5 - t/fonts/ding
ok 6 - t/fonts/esint
ok 7 - t/fonts/fonts
ok 8 - t/fonts/marvosym
ok 9 - t/fonts/mathaccents
ok 10 - t/fonts/mathbbol
ok 11 - t/fonts/mathcolor
ok 12 - t/fonts/mixed
ok 13 - t/fonts/omencodings
ok 14 - t/fonts/soul
ok 15 - t/fonts/stmaryrd
ok 16 - t/fonts/textcomp
ok 17 - t/fonts/textsymbols
ok 18 - t/fonts/ulem
ok 19 - t/fonts/wasysym
ok
t/30_encoding.t ........ 
1..26
ok 1 - use LaTeXML::Core;
ok 2 - t/encoding/ansinew
ok 3 - t/encoding/applemac
ok 4 - t/encoding/cp1250
ok 5 - t/encoding/cp1252
ok 6 - t/encoding/cp437
ok 7 - t/encoding/cp437de
ok 8 - t/encoding/cp850
ok 9 - t/encoding/cp852
ok 10 - t/encoding/cp858
ok 11 - t/encoding/cp865
ok 12 - t/encoding/decmulti
ok 13 - t/encoding/latin1
ok 14 - t/encoding/latin10
ok 15 - t/encoding/latin2
ok 16 - t/encoding/latin3
ok 17 - t/encoding/latin4
ok 18 - t/encoding/latin5
ok 19 - t/encoding/latin9
# Skip: Missing requirement ly1enc.def for t/encoding/ly1
ok 20 # skip Missing requirement ly1enc.def for t/encoding/ly1
ok 21 - t/encoding/ot1
ok 22 - t/encoding/t1
# Skip: Missing requirement t2aenc.def for t/encoding/t2a
ok 23 # skip Missing requirement t2aenc.def for t/encoding/t2a
# Skip: Missing requirement t2benc.def for t/encoding/t2b
ok 24 # skip Missing requirement t2benc.def for t/encoding/t2b
# Skip: Missing requirement t2cenc.def for t/encoding/t2c
ok 25 # skip Missing requirement t2cenc.def for t/encoding/t2c
ok 26 - t/encoding/ts1
ok
t/32_keyval.t .......... 
1..8
ok 1 - use LaTeXML::Core;
ok 2 - t/keyval/keyvalinline
ok 3 - t/keyval/keyvalstyle
ok 4 - t/keyval/xkeyvaladv
ok 5 - t/keyval/xkeyvalbasic
ok 6 - t/keyval/xkeyvalkvcompat
ok 7 - t/keyval/xkeyvalstyle
ok 8 - t/keyval/xkeyvalview
ok
t/33_keyval_options.t .. 
1..12
ok 1 - use LaTeXML::Core;
ok 2 - t/keyval_options/xkvdop1a
ok 3 - t/keyval_options/xkvdop1b
ok 4 - t/keyval_options/xkvdop2a
ok 5 - t/keyval_options/xkvdop2b
ok 6 - t/keyval_options/xkvdop3a
ok 7 - t/keyval_options/xkvdop3b
ok 8 - t/keyval_options/xkvdop4a
ok 9 - t/keyval_options/xkvdop5a
ok 10 - t/keyval_options/xkvdop5b
ok 11 - t/keyval_options/xkvdop6a
ok 12 - t/keyval_options/xkvdop6b
ok
t/40_math.t ............ 
1..11
ok 1 - use LaTeXML::Core;
ok 2 - t/math/array
ok 3 - t/math/arrows
ok 4 - t/math/choose
ok 5 - t/math/fracs
ok 6 - t/math/niceunits
ok 7 - t/math/not
not ok 8 - t/math/sampler

#   Failed test 't/math/sampler'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Couldn't convert t/math/sampler.tex: 0
ok 9 - t/math/simplemath
ok 10 - t/math/testover
ok 11 - t/math/testscripts
# Looks like you failed 1 test of 11.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 
t/50_structure.t ....... 
1..26
ok 1 - use LaTeXML::Core;
ok 2 - t/structure/IEEE
ok 3 - t/structure/abstract
ok 4 - t/structure/amsarticle
ok 5 - t/structure/article
ok 6 - t/structure/authors
ok 7 - t/structure/autoref
ok 8 - t/structure/badabstract
ok 9 - t/structure/beforeafter
ok 10 - t/structure/book
ok 11 - t/structure/endnote
ok 12 - t/structure/epitest
ok 13 - t/structure/eqnums
ok 14 - t/structure/fancyhdr
ok 15 - t/structure/figures
ok 16 - t/structure/filelist
ok 17 - t/structure/footnote
ok 18 - t/structure/hyperref
ok 19 - t/structure/itemize
ok 20 - t/structure/options
ok 21 - t/structure/para
ok 22 - t/structure/paralists
ok 23 - t/structure/plainsample
ok 24 - t/structure/report
ok 25 - t/structure/sec
ok 26 - t/structure/svabstract
ok
t/52_namespace.t ....... 
1..6
ok 1 - use LaTeXML::Core;
ok 2 - t/namespace/ns1
ok 3 - t/namespace/ns2
ok 4 - t/namespace/ns3
ok 5 - t/namespace/ns4
ok 6 - t/namespace/ns5
ok
t/53_alignment.t ....... 
1..18
ok 1 - use LaTeXML::Core;
ok 2 - t/alignment/algx
ok 3 - t/alignment/array
ok 4 - t/alignment/badeqnarray
ok 5 - t/alignment/colortbls
ok 6 - t/alignment/eqnarray
ok 7 - t/alignment/halign
ok 8 - t/alignment/halignatt
ok 9 - t/alignment/listing
ok 10 - t/alignment/longtable
ok 11 - t/alignment/mathmix
ok 12 - t/alignment/morse
ok 13 - t/alignment/plainmath
ok 14 - t/alignment/supertabular
ok 15 - t/alignment/tabtab
ok 16 - t/alignment/tabular
ok 17 - t/alignment/tabularstar
not ok 18 - t/alignment/vmode

#   Failed test 't/alignment/vmode'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Couldn't convert t/alignment/vmode.tex: 0
# Looks like you failed 1 test of 18.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests 
t/55_theorem.t ......... 
1..5
ok 1 - use LaTeXML::Core;
ok 2 - t/theorem/amstheorem
ok 3 - t/theorem/latextheorem
ok 4 - t/theorem/ntheorem
ok 5 - t/theorem/theorem
ok
t/56_ams.t ............. 
1..7
ok 1 - use LaTeXML::Core;
ok 2 - t/ams/amsdisplay
ok 3 - t/ams/cd
ok 4 - t/ams/genfracs
ok 5 - t/ams/mathtools
ok 6 - t/ams/matrix
ok 7 - t/ams/sideset
ok
t/65_graphics.t ........ 
1..7
ok 1 - use LaTeXML::Core;
ok 2 - t/graphics/calc
ok 3 - t/graphics/colors
ok 4 - t/graphics/framed
not ok 5 - t/graphics/graphrot

#   Failed test 't/graphics/graphrot'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Couldn't convert t/graphics/graphrot.tex: 0
ok 6 - t/graphics/picture
ok 7 - t/graphics/xcolors
# Looks like you failed 1 test of 7.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests 
t/70_parse.t ........... 
1..14
ok 1 - use LaTeXML::Core;
ok 2 - t/parse/compose
ok 3 - t/parse/functions
ok 4 - t/parse/kludge
ok 5 - t/parse/mixedfrac
ok 6 - t/parse/operators
ok 7 - t/parse/parens
ok 8 - t/parse/qm
ok 9 - t/parse/relations
ok 10 - t/parse/scripts
ok 11 - t/parse/sets
ok 12 - t/parse/spacing
ok 13 - t/parse/terms
ok 14 - t/parse/vertbars
ok
t/80_complex.t ......... 
1..4
ok 1 - use LaTeXML::Core;
not ok 2 - t/complex/aliceblog

#   Failed test 't/complex/aliceblog'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Couldn't convert t/complex/aliceblog.tex: 0
ok 3 - t/complex/hypertest
ok 4 - t/complex/xii
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 
t/81_babel.t ........... 
1..6
ok 1 - use LaTeXML::Core;
# Skip: Missing requirement frenchb.ldf for t/babel/french
ok 2 # skip Missing requirement frenchb.ldf for t/babel/french
# Skip: Missing requirement germanb.ldf for t/babel/german
ok 3 # skip Missing requirement germanb.ldf for t/babel/german
# Skip: Missing requirement greek.ldf for t/babel/greek
ok 4 # skip Missing requirement greek.ldf for t/babel/greek
ok 5 - t/babel/numprints
# Skip: Missing requirement germanb.ldf for t/babel/page545
ok 6 # skip Missing requirement germanb.ldf for t/babel/page545
ok
t/82_moderncv.t ........ 
1..2
ok 1 - use LaTeXML::Core;
ok 2 - t/moderncv/cs_cv
ok
t/90_latexmlpost.t ..... 
1..3
ok 1 - use LaTeXML::Core;
ok 2 - t/post/hyperref
ok 3 - t/post/simplemath
ok
t/91_latexmlc_api.t .... 
1..4
ok 1 - use LaTeXML::Core;
not ok 2 - latexmlc invocation for test port

#   Failed test 'latexmlc invocation for test port'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 3 - t/daemon/api/port

#   Failed test 't/daemon/api/port'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/api/port.test.xml to string: Could not create file parser context for file "t/daemon/api/port.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 4 - t/daemon/api/port

#   Failed test 't/daemon/api/port'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/api/port
#       got : ''
#  expected : 'No obvious problems'
# Looks like you failed 3 tests of 4.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests 
t/92_profiles.t ........ 
1..13
ok 1 - use LaTeXML::Core;
ok 2 - latexmlc invocation for test default
ok 3 - t/daemon/profiles/default
ok 4 - t/daemon/profiles/default
not ok 5 - latexmlc invocation for test fragment

#   Failed test 'latexmlc invocation for test fragment'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 6 - t/daemon/profiles/fragment

#   Failed test 't/daemon/profiles/fragment'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/profiles/fragment.test.xml to string: Could not create file parser context for file "t/daemon/profiles/fragment.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 7 - t/daemon/profiles/fragment

#   Failed test 't/daemon/profiles/fragment'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/profiles/fragment
#       got : ''
#  expected : 'No obvious problems'
not ok 8 - latexmlc invocation for test math

#   Failed test 'latexmlc invocation for test math'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 9 - t/daemon/profiles/math

#   Failed test 't/daemon/profiles/math'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/profiles/math.test.xml to string: Could not create file parser context for file "t/daemon/profiles/math.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 10 - t/daemon/profiles/math

#   Failed test 't/daemon/profiles/math'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/profiles/math
#       got : ''
#  expected : 'No obvious problems'
ok 11 - latexmlc invocation for test standard
ok 12 - t/daemon/profiles/standard
ok 13 - t/daemon/profiles/standard
# Looks like you failed 6 tests of 13.
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/13 subtests 
t/931_epub.t ........... 
ok 1 - latexmlc invocation for test 931_epub.t : 
ok 2 - epub file generated
not ok 3 - epub file has content

#   Failed test 'epub file has content'
#   at t/931_epub.t line 29.
format error: file is too short 
 at /usr/share/perl5/Archive/Zip/Archive.pm line 692.
    Archive::Zip::Archive::_findEndOfCentralDirectory(Archive::Zip::Archive=HASH(0x1a11f30), IO::File=GLOB(0x1fd96a0)) called at /usr/share/perl5/Archive/Zip/Archive.pm line 591
    Archive::Zip::Archive::readFromFileHandle(Archive::Zip::Archive=HASH(0x1a11f30), IO::File=GLOB(0x1fd96a0), "931_testirPB.epub") called at /usr/share/perl5/Archive/Zip/Archive.pm line 559
    Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x1a11f30), "931_testirPB.epub") called at t/931_epub.t line 32
not ok 4 - epub file successfully loads as Archive::Zip object

#   Failed test 'epub file successfully loads as Archive::Zip object'
#   at t/931_epub.t line 32.
#          got: '3'
#     expected: '0'
not ok 5 - correct number of files were present in final ePub

#   Failed test 'correct number of files were present in final ePub'
#   at t/931_epub.t line 33.
#          got: '0'
#     expected: '9'
not ok 6 - correct files were present in final ePub: 

#   Failed test 'correct files were present in final ePub: '
#   at t/931_epub.t line 35.
not ok 7 - log file was written to epub

#   Failed test 'log file was written to epub'
#   at t/931_epub.t line 38.
Can't call method "contents" on an undefined value at t/931_epub.t line 39.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 7.
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 5/7 subtests 
t/93_formats.t ......... 
1..34
ok 1 - use LaTeXML::Core;
not ok 2 - latexmlc invocation for test citation

#   Failed test 'latexmlc invocation for test citation'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 3 - t/daemon/formats/citation

#   Failed test 't/daemon/formats/citation'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/citation.test.xml to string: Could not create file parser context for file "t/daemon/formats/citation.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 4 - t/daemon/formats/citation

#   Failed test 't/daemon/formats/citation'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/citation
#       got : ''
#  expected : 'No obvious problems'
not ok 5 - latexmlc invocation for test citationraw

#   Failed test 'latexmlc invocation for test citationraw'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 6 - t/daemon/formats/citationraw

#   Failed test 't/daemon/formats/citationraw'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/citationraw.test.xml to string: Could not create file parser context for file "t/daemon/formats/citationraw.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 7 - t/daemon/formats/citationraw

#   Failed test 't/daemon/formats/citationraw'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/citationraw
#       got : ''
#  expected : 'No obvious problems'
not ok 8 - latexmlc invocation for test jats
not ok 9 - t/daemon/formats/jats
not ok 10 - t/daemon/formats/jats

#   Failed test 'latexmlc invocation for test jats'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'

#   Failed test 't/daemon/formats/jats'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/jats.test.xml to string: Could not create file parser context for file "t/daemon/formats/jats.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.

#   Failed test 't/daemon/formats/jats'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/jats
#       got : ''
#  expected : 'No obvious problems'
ok 11 - latexmlc invocation for test makebib
ok 12 - t/daemon/formats/makebib
ok 13 - t/daemon/formats/makebib
not ok 14 - latexmlc invocation for test mixedmath

#   Failed test 'latexmlc invocation for test mixedmath'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 15 - t/daemon/formats/mixedmath

#   Failed test 't/daemon/formats/mixedmath'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/mixedmath.test.xml to string: Could not create file parser context for file "t/daemon/formats/mixedmath.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 16 - t/daemon/formats/mixedmath

#   Failed test 't/daemon/formats/mixedmath'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/mixedmath
#       got : ''
#  expected : 'No obvious problems'
not ok 17 - latexmlc invocation for test noparse

#   Failed test 'latexmlc invocation for test noparse'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 18 - t/daemon/formats/noparse

#   Failed test 't/daemon/formats/noparse'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/noparse.test.xml to string: Could not create file parser context for file "t/daemon/formats/noparse.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 19 - t/daemon/formats/noparse

#   Failed test 't/daemon/formats/noparse'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/noparse
#       got : ''
#  expected : 'No obvious problems'
not ok 20 - latexmlc invocation for test parallel-math-cmml

#   Failed test 'latexmlc invocation for test parallel-math-cmml'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 21 - t/daemon/formats/parallel-math-cmml

#   Failed test 't/daemon/formats/parallel-math-cmml'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/parallel-math-cmml.test.xml to string: Could not create file parser context for file "t/daemon/formats/parallel-math-cmml.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 22 - t/daemon/formats/parallel-math-cmml

#   Failed test 't/daemon/formats/parallel-math-cmml'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/parallel-math-cmml
#       got : ''
#  expected : 'No obvious problems'
not ok 23 - latexmlc invocation for test parallel-math-om

#   Failed test 'latexmlc invocation for test parallel-math-om'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 24 - t/daemon/formats/parallel-math-om

#   Failed test 't/daemon/formats/parallel-math-om'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/parallel-math-om.test.xml to string: Could not create file parser context for file "t/daemon/formats/parallel-math-om.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 25 - t/daemon/formats/parallel-math-om

#   Failed test 't/daemon/formats/parallel-math-om'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/parallel-math-om
#       got : ''
#  expected : 'No obvious problems'
not ok 26 - latexmlc invocation for test parallel-math-pmml

#   Failed test 'latexmlc invocation for test parallel-math-pmml'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 27 - t/daemon/formats/parallel-math-pmml

#   Failed test 't/daemon/formats/parallel-math-pmml'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/parallel-math-pmml.test.xml to string: Could not create file parser context for file "t/daemon/formats/parallel-math-pmml.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 28 - t/daemon/formats/parallel-math-pmml

#   Failed test 't/daemon/formats/parallel-math-pmml'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/parallel-math-pmml
#       got : ''
#  expected : 'No obvious problems'
not ok 29 - latexmlc invocation for test parallel-math-xmath

#   Failed test 'latexmlc invocation for test parallel-math-xmath'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 30 - t/daemon/formats/parallel-math-xmath

#   Failed test 't/daemon/formats/parallel-math-xmath'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/parallel-math-xmath.test.xml to string: Could not create file parser context for file "t/daemon/formats/parallel-math-xmath.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 31 - t/daemon/formats/parallel-math-xmath

#   Failed test 't/daemon/formats/parallel-math-xmath'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/parallel-math-xmath
#       got : ''
#  expected : 'No obvious problems'
not ok 32 - latexmlc invocation for test tei

#   Failed test 'latexmlc invocation for test tei'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 33 - t/daemon/formats/tei

#   Failed test 't/daemon/formats/tei'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/formats/tei.test.xml to string: Could not create file parser context for file "t/daemon/formats/tei.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 34 - t/daemon/formats/tei

#   Failed test 't/daemon/formats/tei'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/formats/tei
#       got : ''
#  expected : 'No obvious problems'
# Looks like you failed 30 tests of 34.
Dubious, test returned 30 (wstat 7680, 0x1e00)
Failed 30/34 subtests 
t/94_runtimes.t ........ 
1..2
ok 1 - use LaTeXML::Core;
ok 2 # skip No file t/daemon/runtimes/timeout.xml and/or t/daemon/runtimes/timeout.status
ok
t/95_complex_config.t .. 
1..4
ok 1 - use LaTeXML::Core;
not ok 2 - latexmlc invocation for test exhaustive

#   Failed test 'latexmlc invocation for test exhaustive'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 233.
#          got: '512'
#     expected: '0'
not ok 3 - t/daemon/complex/exhaustive

#   Failed test 't/daemon/complex/exhaustive'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Could not convert file t/daemon/complex/exhaustive.test.xml to string: Could not create file parser context for file "t/daemon/complex/exhaustive.test.xml": No such file or directory at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 159.
not ok 4 - t/daemon/complex/exhaustive

#   Failed test 't/daemon/complex/exhaustive'
#   at LaTeXML/blib/lib/LaTeXML/Util/Test.pm line 93.
# Difference at line 1 for t/daemon/complex/exhaustive
#       got : ''
#  expected : 'No obvious problems'
# Looks like you failed 3 tests of 4.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests 

Test Summary Report
-------------------
t/40_math.t          (Wstat: 256 Tests: 11 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
t/53_alignment.t     (Wstat: 256 Tests: 18 Failed: 1)
  Failed test:  18
  Non-zero exit status: 1
t/65_graphics.t      (Wstat: 256 Tests: 7 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
t/80_complex.t       (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/91_latexmlc_api.t  (Wstat: 768 Tests: 4 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
t/92_profiles.t      (Wstat: 1536 Tests: 13 Failed: 6)
  Failed tests:  5-10
  Non-zero exit status: 6
t/931_epub.t         (Wstat: 6400 Tests: 7 Failed: 5)
  Failed tests:  3-7
  Non-zero exit status: 25
  Parse errors: No plan found in TAP output
t/93_formats.t       (Wstat: 7680 Tests: 34 Failed: 30)
  Failed tests:  2-10, 14-34
  Non-zero exit status: 30
t/95_complex_config.t (Wstat: 768 Tests: 4 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
Files=27, Tests=321, 196 wallclock secs ( 0.14 usr  0.01 sys + 191.71 cusr  2.73 csys = 194.59 CPU)
Result: FAIL
Failed 9/27 test programs. 51/321 subtests failed.
Makefile:2836: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 3
dginev commented 6 years ago

Thanks! Still somewhat mysterious, maybe I can ask you to run the single command but this time on a test that actually failed:

perl blib/script/latexml t/math/sampler.tex --dest=sampler.xml

the messages here should be conclusive. Also, feel free to throw in the perl version you get via perl --version, so that we have an eye open for backwards compatibility issues. Thanks again!

dragonxtek commented 6 years ago

I got the following error:

graphicx.sty.ltxml...File 
LaTeXML/blib/lib/LaTeXML/Package/graphicx.sty.ltxml had an error:

Fatal:misdefined:LaTeXML::Util::Image::BEGIN Can't locate class 'Image::Size' (not installed or misspelled?)
    LaTeXML/blib/lib/LaTeXML/Package/graphicx.sty.ltxml line 17
    In Core::Gullet[@0x522cdc0] LaTeXML/blib/lib/LaTeXML/Package/graphicx.sty.ltxml line 17
     <= Core::Definition::Constructor[\usepac... <= Core::Stomach[@0x4f93698]

How can I install it? I have perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi

dginev commented 6 years ago

If you've installed using the OS packages, you can try adding:

sudo apt-get install libimage-size-perl libimage-magick-perl

and retry the make process

dragonxtek commented 6 years ago

Fixed. I create a tutorial here about how to install it with all dependecies. For this specific error, I needed to install Image::Size with the following command: sudo cpan z Image::Size

dginev commented 6 years ago

Glad you got the installation to work!

Hm, maybe a bit too late to note, but if this is all you had to do, then following the "Get latexml" instructions listed here:

https://dlmf.nist.gov/LaTeXML/get.html

would have been enough to get a working installation. My mistake for not pointing to that link from the very start, I wrongly assumed that's where you're coming from.

Could you let me know what installation instructions you used initially, and where you found intuitive to look for that? We should ensure the Get page is visible enough, or alternative instructions are good enough.

dragonxtek commented 6 years ago

I started from github. I downloaded manual.pdf and I visited the official site link, but in this page I don't see any link about how to install it. (I didn't click on Get LaTeXML link because I already had the code). Anyway, thanks for your help.

dginev commented 6 years ago

cc @brucemiller , I think we can improve the "obviousness" of the exhaustive installation instructions.

Maybe more obvious links? Or renaming "Get" to "Install" which is a lot more intuitive to github users? Just throwing ideas out.

Thanks again to @dragonxtek for alerting us to this, and thanks for the blog post!! Closing here now that we've sorted out the details.