[Debian-med-packaging] Bug#832299: python-ruffus: FTBFS: sphinx.ext.mathjax: other math package is already loaded
Andreas Tille
andreas at an3as.eu
Mon Jul 25 12:02:40 UTC 2016
On Sun, Jul 24, 2016 at 12:43:02AM +0200, Chris Lamb wrote:
> Running Sphinx v1.4.5
> making output directory...
> WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
>
> Extension error:
> sphinx.ext.mathjax: other math package is already loaded
> ['/home/lamby/temp/cdt.20160723234148.mpT9WCevsF.python-ruffus/python-ruffus-2.6.3+dfsg', '/usr/share/sphinx/scripts/python2', '/home/lamby/temp/cdt.20160723234148.mpT9WCevsF.python-ruffus/python-ruffus-2.6.3+dfsg/debian/python-ruffus/usr/lib/python2.7/dist-packages', '/home/lamby/temp/cdt.20160723234148.mpT9WCevsF.python-ruffus/python-ruffus-2.6.3+dfsg/.pybuild/pythonX.Y_2.7/build', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
> 2.6.3 2.6.3
> Makefile:53: recipe for target 'html' failed
> make[2]: *** [html] Error 1
I think this is fixed in last commit to Git[1].
However, I'm running into another build issue which is strange since dot
does not seem to support jpg any more:
...
OK
Running test_split_subdivide_checkpointing.py
Run pipeline normally...
Check that running again does nothing. (All up to date).
Running again with forced tasks to generate more files...
Check that running again does nothing. (All up to date).
Running again with forced tasks to generate even more files...
Check that running again does nothing. (All up to date).
. Run pipeline normally...
Check that running again does nothing. (All up to date).
Running again with forced tasks to generate more files...
Check that running again does nothing. (All up to date).
Running again with forced tasks to generate even more files...
Check that running again does nothing. (All up to date).
.
----------------------------------------------------------------------
Ran 2 tests in 5.001s
OK
Running test_pipeline_printout_graph.py
EE
======================================================================
ERROR: test_newstyle_ruffus (test_pipeline_printout_graph.Test_ruffus)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_pipeline_printout_graph.py", line 181, in test_newstyle_ruffus
no_key_legend = True)
File "/build/python-ruffus-2.6.3+dfsg/ruffus/task.py", line 1558, in printout_graph
pipeline_printout_graph(*unnamed_args, **named_args)
File "/build/python-ruffus-2.6.3+dfsg/ruffus/task.py", line 4659, in pipeline_printout_graph
signal_callback=is_node_up_to_date)
File "/build/python-ruffus-2.6.3+dfsg/ruffus/graph.py", line 1175, in graph_printout
raise subprocess.CalledProcessError(retcode, cmd + "\n" + "\n".join([str(result_str), str(error_str)]))
CalledProcessError: Command 'dot -Gsize='(11,8)' -Gdpi='120' -Tjpg < /tmp/tmpW40AHi.dot
Format: "jpg" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gd gd2 gv imap imap_np ismap pdf pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz x11 xdot xdot1.2 xdot1.4 xlib
' returned non-zero exit status 1
======================================================================
ERROR: test_ruffus (test_pipeline_printout_graph.Test_ruffus)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_pipeline_printout_graph.py", line 150, in test_ruffus
no_key_legend = True)
File "/build/python-ruffus-2.6.3+dfsg/ruffus/task.py", line 4659, in pipeline_printout_graph
signal_callback=is_node_up_to_date)
File "/build/python-ruffus-2.6.3+dfsg/ruffus/graph.py", line 1175, in graph_printout
raise subprocess.CalledProcessError(retcode, cmd + "\n" + "\n".join([str(result_str), str(error_str)]))
CalledProcessError: Command 'dot -Gsize='(11,8)' -Gdpi='120' -Tjpg < /tmp/tmpgacay7.dot
Format: "jpg" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gd gd2 gv imap imap_np ismap pdf pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz x11 xdot xdot1.2 xdot1.4 xlib
' returned non-zero exit status 1
----------------------------------------------------------------------
Ran 2 tests in 0.029s
FAILED (errors=2)
Run pipeline normally...
Run pipeline normally...
Before I cowardly deactivate these tests I wonder whether there is a
more sensible solution.
Kind regards
Andreas.
[1] https://anonscm.debian.org/git/debian-med/python-ruffus.git/tree/debian/patches/sphinx.ext.pngmath_deprecated.patch
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list