-
Notifications
You must be signed in to change notification settings - Fork 114
Milestone
Description
Issue
The installation of LaTeXML fails when attempting to install it via the cpan LaTeXML
instruction. Specifically it fails during the make test phase of installation. This is performed with a fresh intsall of Strawberry Perl.
Details
The log files indicates that the issue is with the structure.t
and complex.t
tests. Examining those specific entries, we find:
t/50_structure.t .......... 26/44 # Failed test 't/structure/figure_grids'
# at C:\STRAWB~1\cpan\build\LaTeXML-0.8.8-1\blib\lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 10 for t/structure/figure_grids
# got : ' <graphics candidates="..\graphics\none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=213.96474pt,keepaspectratio=true" xml:id="g1"></graphics>'
# expected : ' <graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=213.96474pt,keepaspectratio=true" xml:id="g1"></graphics>'
and
t/80_complex.t ............ 6/15 # Failed test 't/complex/figure_dual_caption'
# at C:\STRAWB~1\cpan\build\LaTeXML-0.8.8-1\blib\lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 14 for t/complex/figure_dual_caption
# got : ' <graphics candidates="..\graphics\none.png" graphic="../graphics/none.png" options="width=411.93767pt,keepaspectratio=true" xml:id="S0.F2.g1"></graphics>'
# expected : ' <graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=411.93767pt,keepaspectratio=true" xml:id="S0.F2.g1"></graphics>'
t/80_complex.t ............ 7/15 # Failed test 't/complex/figure_mixed_content'
# at C:\STRAWB~1\cpan\build\LaTeXML-0.8.8-1\blib\lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 81 for t/complex/figure_mixed_content
# got : ' <graphics candidates="..\graphics\none.png" graphic="../graphics/none.png" options="width=85.35826pt,keepaspectratio=true" xml:id="S0.F1.sf1.g1"></graphics>'
# expected : ' <graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=85.35826pt,keepaspectratio=true" xml:id="S0.F1.sf1.g1"></graphics>'
Comparing the test results to the expected values, it is clear that the build is either producing slashes in the wrong direction or the expected direction of the slashes is incorrect. I suspect that this is likely an issue with Windows and Linux using different slash directions to denote paths.
Log
Running make test for BRMILLER/LaTeXML-0.8.8.tar.gz
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/000_test_context.t ...... #
t/000_test_context.t ...... 1/1 # LaTeXML version 0.8.8
# XML::LibXML 2.0209; libxml2 21004
# XML::LibXSLT 2.002001; libxslt 10137
# TeX 3.141592653 (TeX Live 2024)
t/000_test_context.t ...... ok
t/002_unit_findfile.t ..... ok
t/003_unit_imagemagick.t .. 1/? # Skip: This unit test only examines basic Image::Magick conversion, when installed.
t/003_unit_imagemagick.t .. ok
t/00_unittest.t ........... ok
t/05_tokenize.t ........... ok
t/10_expansion.t .......... ok
t/12_grouping.t ........... ok
t/170_grammar_coverage.t .. skipped: Only checked in continuous integration. (use make test CI=true)
t/20_digestion.t .......... ok
t/22_fonts.t .............. ok
t/30_encoding.t ........... ok
t/32_keyval.t ............. ok
t/33_keyval_options.t ..... ok
t/40_math.t ............... ok
t/50_structure.t .......... 25/44
t/50_structure.t .......... 26/44 # Failed test 't/structure/figure_grids'
# at C:\STRAWB~1\cpan\build\LaTeXML-0.8.8-1\blib\lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 10 for t/structure/figure_grids
# got : ' <graphics candidates="..\graphics\none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=213.96474pt,keepaspectratio=true" xml:id="g1"></graphics>'
# expected : ' <graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=213.96474pt,keepaspectratio=true" xml:id="g1"></graphics>'
t/50_structure.t .......... 30/44 # Skip: t/structure/glossary is only checked in continuous integration. (use make test CI=true)
t/50_structure.t .......... 43/44 # Looks like you failed 1 test of 44.
t/50_structure.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/44 subtests
(less 2 skipped subtests: 41 okay)
t/52_namespace.t .......... ok
t/53_alignment.t .......... ok
t/55_theorem.t ............ ok
t/56_ams.t ................ ok
t/65_graphics.t ........... ok
t/70_parse.t .............. ok
t/80_complex.t ............ 5/15
t/80_complex.t ............ 6/15 # Failed test 't/complex/figure_dual_caption'
# at C:\STRAWB~1\cpan\build\LaTeXML-0.8.8-1\blib\lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 14 for t/complex/figure_dual_caption
# got : ' <graphics candidates="..\graphics\none.png" graphic="../graphics/none.png" options="width=411.93767pt,keepaspectratio=true" xml:id="S0.F2.g1"></graphics>'
# expected : ' <graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=411.93767pt,keepaspectratio=true" xml:id="S0.F2.g1"></graphics>'
t/80_complex.t ............ 7/15 # Failed test 't/complex/figure_mixed_content'
# at C:\STRAWB~1\cpan\build\LaTeXML-0.8.8-1\blib\lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 81 for t/complex/figure_mixed_content
# got : ' <graphics candidates="..\graphics\none.png" graphic="../graphics/none.png" options="width=85.35826pt,keepaspectratio=true" xml:id="S0.F1.sf1.g1"></graphics>'
# expected : ' <graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=85.35826pt,keepaspectratio=true" xml:id="S0.F1.sf1.g1"></graphics>'
t/80_complex.t ............ 11/15 # Skip: t/complex/si is only checked in continuous integration. (use make test CI=true)
t/80_complex.t ............ 15/15 # Looks like you failed 2 tests of 15.
t/80_complex.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/15 subtests
(less 1 skipped subtest: 12 okay)
t/81_babel.t .............. ok
t/82_moderncv.t ........... ok
t/83_expl3.t .............. 1/3 # Skip: t/expl3/tilde_tricks is only checked in continuous integration. (use make test CI=true)
t/83_expl3.t .............. 2/3 # Skip: t/expl3/xparse is only checked in continuous integration. (use make test CI=true)
t/83_expl3.t .............. ok
t/84_slides.t ............. ok
t/90_latexmlpost.t ........ ok
t/91_latexmlc_api.t ....... ok
t/92_profiles.t ........... ok
t/931_epub.t .............. ok
t/93_formats.t ............ ok
t/94_runtimes.t ........... ok
t/95_complex_config.t ..... ok
t/96_fatal.t .............. ok
t/97_manifest.t ........... skipped: Only checked in continuous integration. (use make test CI=true)
Test Summary Report
-------------------
t/50_structure.t (Wstat: 256 (exited 1) Tests: 44 Failed: 1)
Failed test: 26
Non-zero exit status: 1
t/80_complex.t (Wstat: 512 (exited 2) Tests: 15 Failed: 2)
Failed tests: 6-7
Non-zero exit status: 2
Files=35, Tests=452, 991 wallclock secs ( 0.09 usr + 0.06 sys = 0.16 CPU)
Result: FAIL
Failed 2/35 test programs. 3/452 subtests failed.
gmake: *** [makefile:1669: test_dynamic] Error 255
BRMILLER/LaTeXML-0.8.8.tar.gz
C:\STRAWB~1\c\bin\gmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BRMILLER/LaTeXML-0.8.8.tar.gz
Stopping: 'install' failed for 'LaTeXML'.
Foadsf