Bug#966933: pyfai: FTBFS: RuntimeError: Fail to generate 'pyFAI-drawmask' man documentation

Lucas Nussbaum lucas at debian.org
Mon Aug 3 09:32:40 BST 2020


Source: pyfai
Version: 0.19.0+dfsg1-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/.cache/ # create POCL cachedir in order to avoid an FTBFS in sbuild
> dh_auto_build
> 	pybuild --build -i python{version} -p 3.8
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
> INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
> INFO:pyFAI.setup:Use setuptools
> INFO:pyFAI.setup:Install requires: numpy >=1.19.1
> running build
> running build_py
> running build_ext
> 	pybuild --build -i python{version}-dbg -p 3.8
> I: pybuild base:217: /usr/bin/python3-dbg setup.py build 
> INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
> INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
> INFO:pyFAI.setup:Use setuptools
> INFO:pyFAI.setup:Install requires: numpy >=1.19.1
> running build
> running build_py
> running build_ext
> mkdir -p /<<PKGBUILDDIR>>/.cache/ # create POCL cachedir in order to avoid an FTBFS in sbuild
> dh_auto_build -- -s custom -p 3.8 --build-args="PYTHONPATH={build_dir} xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} setup.py build_man"
> 	pybuild --build -i python{version} -p 3.8 -s custom -p 3.8 "--build-args=PYTHONPATH={build_dir} xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} setup.py build_man"
> I: pybuild base:217: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build xvfb-run -a --server-args="-screen 0 1024x768x24" python3.8 setup.py build_man
> INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
> INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
> INFO:pyFAI.setup:Use setuptools
> INFO:pyFAI.setup:Install requires: numpy >=1.19.1
> running build_man
> INFO:pyFAI.setup:Build man for entry-point target 'check_calib'
> INFO:pyFAI.setup:Build man for entry-point target 'detector2nexus'
> INFO:pyFAI.setup:Build man for entry-point target 'diff_map'
> INFO:pyFAI.setup:Build man for entry-point target 'diff_tomo'
> INFO:pyFAI.setup:Build man for entry-point target 'eiger-mask'
> INFO:pyFAI.setup:Build man for entry-point target 'MX-calibrate'
> INFO:pyFAI.setup:Build man for entry-point target 'pyFAI-average'
> INFO:pyFAI.setup:Build man for entry-point target 'pyFAI-benchmark'
> INFO:pyFAI.setup:Build man for entry-point target 'pyFAI-calib'
> INFO:pyFAI.setup:Build man for entry-point target 'pyFAI-calib2'
> INFO:pyFAI.setup:Build man for entry-point target 'pyFAI-drawmask'
> Traceback (most recent call last):
>   File "/tmp/pyFAI.app.drawmask_602gz4t1", line 4, in <module>
>     import pyFAI.app.drawmask as app
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/app/drawmask.py", line 52, in <module>
>     import silx.gui.plot
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/__init__.py", line 63, in <module>
>     from .PlotWidget import PlotWidget  # noqa
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/PlotWidget.py", line 55, in <module>
>     from . import matplotlib
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/matplotlib/__init__.py", line 67, in <module>
>     _matplotlib_use('Qt5Agg', warn=True, force=False)
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/matplotlib/__init__.py", line 59, in _matplotlib_use
>     matplotlib.use(backend, warn=warn, force=force)
> TypeError: use() got an unexpected keyword argument 'warn'
> WARNING:pyFAI.setup:Error while getting synopsis for module 'pyFAI.app.drawmask'.
> help2man: can't get `--help' info from /tmp/pyFAI-drawmask_k1kd4nv3
> Try `--no-discard-stderr' if option outputs to stderr
> INFO:pyFAI.setup:Error while generating man file for target 'pyFAI-drawmask'.
> INFO:pyFAI.setup:See the following execution of: /usr/bin/python3.8 /tmp/pyFAI-drawmask_k1kd4nv3 --help
> Traceback (most recent call last):
>   File "/tmp/pyFAI-drawmask_k1kd4nv3", line 4, in <module>
>     import pyFAI.app.drawmask as app
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/app/drawmask.py", line 52, in <module>
>     import silx.gui.plot
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/__init__.py", line 63, in <module>
>     from .PlotWidget import PlotWidget  # noqa
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/PlotWidget.py", line 55, in <module>
>     from . import matplotlib
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/matplotlib/__init__.py", line 67, in <module>
>     _matplotlib_use('Qt5Agg', warn=True, force=False)
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/matplotlib/__init__.py", line 59, in _matplotlib_use
>     matplotlib.use(backend, warn=warn, force=force)
> TypeError: use() got an unexpected keyword argument 'warn'
> INFO:pyFAI.setup:Return code: 1
> INFO:pyFAI.setup:See the following execution of: /usr/bin/python3.8 /tmp/pyFAI-drawmask_k1kd4nv3 --version
> Traceback (most recent call last):
>   File "/tmp/pyFAI-drawmask_k1kd4nv3", line 4, in <module>
>     import pyFAI.app.drawmask as app
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/app/drawmask.py", line 52, in <module>
>     import silx.gui.plot
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/__init__.py", line 63, in <module>
>     from .PlotWidget import PlotWidget  # noqa
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/PlotWidget.py", line 55, in <module>
>     from . import matplotlib
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/matplotlib/__init__.py", line 67, in <module>
>     _matplotlib_use('Qt5Agg', warn=True, force=False)
>   File "/usr/lib/python3/dist-packages/silx/gui/plot/matplotlib/__init__.py", line 59, in _matplotlib_use
>     matplotlib.use(backend, warn=warn, force=force)
> TypeError: use() got an unexpected keyword argument 'warn'
> INFO:pyFAI.setup:Return code: 1
> Traceback (most recent call last):
>   File "setup.py", line 1112, in <module>
>     setup_package()
>   File "setup.py", line 1108, in setup_package
>     setup(**setup_kwargs)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
>     return distutils.core.setup(**attrs)
>   File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
>     dist.run_commands()
>   File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
>     cmd_obj.run()
>   File "setup.py", line 348, in run
>     raise RuntimeError("Fail to generate '%s' man documentation" % target_name)
> RuntimeError: Fail to generate 'pyFAI-drawmask' man documentation
> E: pybuild pybuild:352: build: plugin custom failed with: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build xvfb-run -a --server-args="-screen 0 1024x768x24" python3.8 setup.py build_man
> dh_auto_build: error: pybuild --build -i python{version} -p 3.8 -s custom -p 3.8 "--build-args=PYTHONPATH={build_dir} xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} setup.py build_man" returned exit code 13
> make[1]: *** [debian/rules:34: override_dh_auto_build-indep] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/pyfai_0.19.0+dfsg1-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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list