Bug#982700: pygmsh: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Feb 13 17:07:00 GMT 2021


Source: pygmsh
Version: 7.1.5-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210213 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>>'
> dh_auto_build
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh
> copying pygmsh/__about__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh
> copying pygmsh/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh
> copying pygmsh/_cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh
> copying pygmsh/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh
> copying pygmsh/_optimize.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/geo
> copying pygmsh/geo/geometry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/geo
> copying pygmsh/geo/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/geo
> copying pygmsh/geo/dummy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/geo
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/geometry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/curve_loop.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/plane_surface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/line.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/bspline.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/surface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/ellipse_arc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/polygon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/dummy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/line_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/volume.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/spline.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/circle_arc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/point.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> copying pygmsh/common/surface_loop.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/common
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/torus.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/rectangle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/geometry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/wedge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/ball.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/box.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/cone.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/cylinder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/dummy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> copying pygmsh/occ/disk.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/occ
> PYTHONPATH=. python3 -m sphinx -N -bhtml doc/ build/html # HTML generator
> Running Sphinx v3.4.3
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 4 source files that are out of date
> updating environment: [new config] 4 added, 0 changed, 0 removed
> reading sources... [ 25%] common
> reading sources... [ 50%] geo
> reading sources... [ 75%] index
> reading sources... [100%] occ
> 
> /<<PKGBUILDDIR>>/pygmsh/geo/__init__.py:docstring of pygmsh.geo:1: WARNING: duplicate object description of pygmsh.geo, other instance in geo, use :noindex: for one of them
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 25%] common
> writing output... [ 50%] geo
> writing output... [ 75%] index
> writing output... [100%] occ
> 
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 1 warning.
> 
> The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build; python3.9 -m unittest discover -v 
> pygmsh (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: pygmsh (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: pygmsh
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/__init__.py", line 1, in <module>
>     from . import geo, occ
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/geo/__init__.py", line 1, in <module>
>     from .geometry import Geometry
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build/pygmsh/geo/geometry.py", line 4, in <module>
>     import gmsh
>   File "/usr/lib/python3/dist-packages/gmsh.py", line 40, in <module>
>     lib = CDLL(libpath)
>   File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
>     self._handle = _dlopen(self._name, mode)
> OSError: /usr/lib/x86_64-linux-gnu/libgmsh.so.4.7: undefined symbol: _ZN4voro20voronoicell_neighborC1Ev
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pygmsh/build; python3.9 -m unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2021/02/13/pygmsh_7.1.5-1_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 me
so that we can identify if something relevant changed in the meantime.

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