Bug#1002373: python-fabio: FTBFS: AttributeError: module 'mistune' has no attribute 'BlockGrammar'

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


Source: python-fabio
Version: 0.12.0+dfsg-2
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>>'
> dh_auto_build
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> /<<PKGBUILDDIR>>/setup.py:49: 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:fabio.setup:Use setuptools with cython
> INFO:fabio.setup:Install requires: numpy >=1.21.5
> running build
> running build_py
> running build_ext
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> INFO:fabio.setup:Use setuptools with cython
> INFO:fabio.setup:Install requires: numpy >=1.21.5
> running build
> running build_py
> running build_ext
> dh_auto_build -- -s custom --build-args="PYTHONPATH={build_dir} xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} setup.py build_man"
> I: pybuild base:237: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_fabio/build xvfb-run -a --server-args="-screen 0 1024x768x24" python3.10 setup.py build_man
> /<<PKGBUILDDIR>>/setup.py:49: 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:fabio.setup:Use setuptools with cython
> INFO:fabio.setup:Install requires: numpy >=1.21.5
> running build_man
> INFO:fabio.setup:Build man for entry-point target 'fabio-convert'
> INFO:fabio.setup:Build man for entry-point target 'eiger2cbf'
> ERROR:eiger2cbf:Numexpr is needed to interpret formula ...
> INFO:fabio.setup:Build man for entry-point target 'eiger2crysalis'
> ERROR:eiger2crysalis:Numexpr is needed to interpret formula ...
> INFO:fabio.setup:Build man for entry-point target 'densify-Bragg'
> INFO:fabio.setup:Build man for entry-point target 'fabio_viewer'
> I: pybuild base:237: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_fabio/build xvfb-run -a --server-args="-screen 0 1024x768x24" python3.9 setup.py build_man
> INFO:fabio.setup:Use setuptools with cython
> INFO:fabio.setup:Install requires: numpy >=1.21.5
> running build_man
> INFO:fabio.setup:Build man for entry-point target 'fabio-convert'
> INFO:fabio.setup:Build man for entry-point target 'eiger2cbf'
> ERROR:eiger2cbf:Numexpr is needed to interpret formula ...
> INFO:fabio.setup:Build man for entry-point target 'eiger2crysalis'
> ERROR:eiger2crysalis:Numexpr is needed to interpret formula ...
> INFO:fabio.setup:Build man for entry-point target 'densify-Bragg'
> INFO:fabio.setup:Build man for entry-point target 'fabio_viewer'
> dh_auto_build -- -s custom --build-args="cd doc && PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html"
> I: pybuild base:237: cd doc && PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_fabio/build http_proxy='127.0.0.1:9' python3.10 -m sphinx -N -bhtml source build/html
> Running Sphinx v4.3.2
> 
> 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-o_1nh1ia.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 && PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_fabio/build http_proxy='127.0.0.1:9' python3.10 -m sphinx -N -bhtml source build/html
> I: pybuild base:237: cd doc && PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_fabio/build http_proxy='127.0.0.1:9' python3.9 -m sphinx -N -bhtml source build/html
> Running Sphinx v4.3.2
> 
> 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-btprhyz_.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 && PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_fabio/build http_proxy='127.0.0.1:9' python3.9 -m sphinx -N -bhtml source build/html
> dh_auto_build: error: pybuild --build -i python{version} -p "3.10 3.9" -s custom "--build-args=cd doc && PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" returned exit code 13
> make[1]: *** [debian/rules:21: override_dh_auto_build-indep] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-fabio_0.12.0+dfsg-2_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