Bug#1002374: silx: FTBFS: AttributeError: module 'mistune' has no attribute 'BlockGrammar'

Lucas Nussbaum lucas at debian.org
Wed Dec 22 08:05:41 GMT 2021


Source: silx
Version: 0.15.2+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # build man pages
> dh_auto_build -- -s custom --build-args="env PYTHONPATH={build_dir} {interpreter} setup.py build_man"
> I: pybuild base:237: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_silx/build python3.10 setup.py build_man
> /<<PKGBUILDDIR>>/setup.py:46: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.command.clean import clean as Clean
> INFO:silx.setup:Use setuptools with cython
> INFO:silx.setup:Install requires: numpy >=1.21.5
> running build_man
> INFO:silx.setup:Build man for entry-point target 'silx'
> I: pybuild base:237: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_silx/build python3.9 setup.py build_man
> INFO:silx.setup:Use setuptools with cython
> INFO:silx.setup:Install requires: numpy >=1.21.5
> running build_man
> INFO:silx.setup:Build man for entry-point target 'silx'
> # build the documentation
> pybuild --build -s custom -p 3.9 --build-args="cd doc && env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m sphinx -N -bhtml source build/html"
> I: pybuild base:237: cd doc && env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_silx/build http_proxy='127.0.0.1:9' xvfb-run -a --server-args="-screen 0 1024x768x24" python3.9 -m sphinx -N -bhtml source build/html
> Running Sphinx v4.3.2
> /<<PKGBUILDDIR>>/doc/source/ext/snapshotqt_directive.py:146: SyntaxWarning: "is" with a literal. Did you mean "=="?
>   has_source_code = not (self.content is None or len(self.content) is 0)
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/nbconvert/filters/markdown_mistune.py", line 31, in <module>
>     class MathBlockGrammar(mistune.BlockGrammar):
> AttributeError: module 'mistune' has no attribute 'BlockGrammar'
> The full traceback has been saved in /tmp/sphinx-err-8k2_xxis.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> E: pybuild pybuild:355: build: plugin custom failed with: exit code=2: cd doc && env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_silx/build http_proxy='127.0.0.1:9' xvfb-run -a --server-args="-screen 0 1024x768x24" python3.9 -m sphinx -N -bhtml source build/html
> make[1]: *** [debian/rules:37: execute_after_dh_auto_build-indep] Error 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/silx_0.15.2+dfsg-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list