Bug#917722: pybind11: FTBFS: dh_auto_test: cd obj-x86_64-linux-gnu && make -j2 check ARGS\+=-j2 returned exit code 2
Lucas Nussbaum
lucas at debian.org
Sat Dec 29 22:12:40 GMT 2018
Source: pybind11
Version: 2.2.4-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/tests && /usr/bin/python3.7 -m pytest test_buffers.py test_builtin_casters.py test_call_policies.py test_callbacks.py test_chrono.py test_class.py test_constants_and_functions.py test_copy_move.py test_docstring_options.py test_eigen.py test_enum.py test_eval.py test_exceptions.py test_factory_constructors.py test_iostream.py test_kwargs_and_defaults.py test_local_bindings.py test_methods_and_attributes.py test_modules.py test_multiple_inheritance.py test_numpy_array.py test_numpy_dtypes.py test_numpy_vectorize.py test_opaque_types.py test_operator_overloading.py test_pickling.py test_pytypes.py test_sequences_and_iterators.py test_smart_ptr.py test_stl.py test_stl_binders.py test_virtual_functions.py
> [100%] Built target test_cmake_build
> ============================= test session starts ==============================
> platform linux -- Python 3.7.2rc1, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
> rootdir: /<<PKGBUILDDIR>>/tests, inifile: pytest.ini
> collected 298 items
>
> test_buffers.py .... [ 1%]
> test_builtin_casters.py ....s......... [ 6%]
> test_call_policies.py ......... [ 9%]
> test_callbacks.py ....... [ 11%]
> test_chrono.py ....... [ 13%]
> test_class.py ............... [ 18%]
> test_constants_and_functions.py .... [ 20%]
> test_copy_move.py ....s.. [ 22%]
> test_docstring_options.py . [ 22%]
> test_eigen.py ....................F.... [ 31%]
> test_enum.py ..... [ 32%]
> test_eval.py . [ 33%]
> test_exceptions.py ....... [ 35%]
> test_factory_constructors.py ......... [ 38%]
> test_iostream.py ............ [ 42%]
> test_kwargs_and_defaults.py ..... [ 44%]
> test_local_bindings.py .......... [ 47%]
> test_methods_and_attributes.py .................... [ 54%]
> test_modules.py ..... [ 56%]
> test_multiple_inheritance.py ........... [ 59%]
> test_numpy_array.py ................................. [ 70%]
> test_numpy_dtypes.py ............ [ 74%]
> test_numpy_vectorize.py ....... [ 77%]
> test_opaque_types.py .. [ 77%]
> test_operator_overloading.py ... [ 78%]
> test_pickling.py .... [ 80%]
> test_pytypes.py ........... [ 83%]
> test_sequences_and_iterators.py ...... [ 85%]
> test_smart_ptr.py ........... [ 89%]
> test_stl.py .......ss..... [ 94%]
> test_stl_binders.py ......... [ 97%]
> test_virtual_functions.py ........ [100%]
>
> =================================== FAILURES ===================================
> _________________________________ test_sparse __________________________________
>
> @pytest.requires_eigen_and_scipy
> def test_sparse():
> > assert_sparse_equal_ref(m.sparse_r())
>
> test_eigen.py:646:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/scipy/sparse/__init__.py:231: in <module>
> from .lil import *
> /usr/lib/python3/dist-packages/scipy/sparse/lil.py:19: in <module>
> from . import _csparsetools
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> > ???
> E RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216, got 192
>
> __init__.pxd:872: RuntimeWarning
> =========================== short test summary info ============================
> SKIP [1] test_builtin_casters.py:112: no <string_view>
> SKIP [1] test_copy_move.py:68: no <optional>
> SKIP [1] test_stl.py:97: no <optional>
> SKIP [1] test_stl.py:120: no <experimental/optional>
> =============== 1 failed, 293 passed, 4 skipped in 3.04 seconds ================
> make[4]: *** [tests/CMakeFiles/pytest.dir/build.make:61: tests/CMakeFiles/pytest] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[3]: *** [CMakeFiles/Makefile2:178: tests/CMakeFiles/pytest.dir/all] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[2]: *** [CMakeFiles/Makefile2:218: tests/CMakeFiles/check.dir/rule] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[1]: *** [Makefile:206: check] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> dh_auto_test: cd obj-x86_64-linux-gnu && make -j2 check ARGS\+=-j2 returned exit code 2
The full build log is available from:
http://aws-logs.debian.net/2018/12/29/pybind11_2.2.4-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!
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