Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed test 't/complex/figure_mixed_content' (debian 12, ubuntu 24.04) #2427

Closed
eserte opened this issue Oct 14, 2024 · 4 comments · Fixed by #2428
Closed

Failed test 't/complex/figure_mixed_content' (debian 12, ubuntu 24.04) #2427

eserte opened this issue Oct 14, 2024 · 4 comments · Fixed by #2428

Comments

@eserte
Copy link

eserte commented Oct 14, 2024

On some of my smoker systems (debian 12, ubuntu 24.04) the test suite fails like this:

#   Failed test 't/complex/figure_mixed_content'
#   at /home/cpansand/.cpan/build/2024101418/LaTeXML-0.8.8-0/blib/lib/LaTeXML/Util/Test.pm line 120.
# Difference at line 102 for t/complex/figure_mixed_content
#       got : '  <figure align="center" class="ltx_minipage" float="right" inlist="lof" vattach="middle" width="433.6pt" xml:id="S0.F2.fig1">'
#  expected : '  <figure float="right" xml:id="fig1">'
# Skip: Missing requirement siunitx.sty for t/complex/si
# Looks like you failed 1 test of 15.
t/80_complex.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests 
	(less 1 skipped subtest: 13 okay)
@dginev
Copy link
Collaborator

dginev commented Oct 14, 2024

Could you describe the entire installation process you took @eserte ? Is this the Debian-packaged latexml (if so, an exact identifying string would help), or is it the v0.8.8 release from CPAN?

Also, could you provide us a texlive version via tex --version? I assume one isn't installed, sine the siunitx test is getting skipped, but it helps to be sure.

@eserte
Copy link
Author

eserte commented Oct 14, 2024

The smokers operate via CPAN.pm. So the latest stable version on CPAN, v0.8.8 is used here.

The tex --version output on the debian 12 machine:

TeX 3.141592653 (TeX Live 2022/Debian)
kpathsea version 6.3.4
Copyright 2022 D.E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.

@eserte
Copy link
Author

eserte commented Oct 14, 2024

And a full sample report is available here: http://www.cpantesters.org/cpan/report/06089406-8a5e-11ef-8257-f5e76d8775ea
List of pass/fail reports at CPAN Testers: https://fast2-matrix.cpantesters.org/?dist=LaTeXML%200.8.8;reports=1

@dginev dginev added bug and removed question labels Oct 14, 2024
@dginev
Copy link
Collaborator

dginev commented Oct 14, 2024

I just checked our CI logs for the v0.8.8 release and we cover upto perl 5.34 and texlive 2021.

I think it may be time to update the CI images up to perl 5.38 and texlive 2022 - does that sound like a good idea @tkw1536 ? I can look into that, and it ought to reproduce the reported problem, so that we can diagnoze it on a local machine.

It is interesting that I never encountered this issue, given that Ubuntu tends to be very similar to Debian, and I've had this combination of perl+texlive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants