Bug#955679: python-geotiepoints: FTBFS: ModuleNotFoundError: No module named 'matplotlib'

Lucas Nussbaum lucas at debian.org
Fri Apr 3 20:42:36 BST 2020


Source: python-geotiepoints
Version: 1.1.8-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200402 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.7 setup.py config 
> Cython will not be used. Use environment variable 'USE_CYTHON=True' to use it
> running config
> I: pybuild base:217: python3.8 setup.py config 
> Cython will not be used. Use environment variable 'USE_CYTHON=True' to use it
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.7 setup.py build 
> Cython will not be used. Use environment variable 'USE_CYTHON=True' to use it
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/basic_interpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/geointerpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/modisinterpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/multilinear.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> copying geotiepoints/interpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_geointerpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_modis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_multilinear.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_interpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_satelliteinterpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_modisinterpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/tests
> running build_ext
> building 'geotiepoints.multilinear_cython' extension
> creating build
> creating build/temp.linux-x86_64-3.7
> creating build/temp.linux-x86_64-3.7/geotiepoints
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c geotiepoints/multilinear_cython.c -o build/temp.linux-x86_64-3.7/geotiepoints/multilinear_cython.o -O3
> In file included from /usr/include/python3.7m/numpy/ndarraytypes.h:1830,
>                  from /usr/include/python3.7m/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.7m/numpy/arrayobject.h:4,
>                  from geotiepoints/multilinear_cython.c:584:
> /usr/include/python3.7m/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>    17 | #warning "Using deprecated NumPy API, disable it with " \
>       |  ^~~~~~~
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/geotiepoints/multilinear_cython.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/multilinear_cython.cpython-37m-x86_64-linux-gnu.so
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> Cython will not be used. Use environment variable 'USE_CYTHON=True' to use it
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/basic_interpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/geointerpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/modisinterpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/multilinear.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> copying geotiepoints/interpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_geointerpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_modis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_multilinear.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_interpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_satelliteinterpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> copying geotiepoints/tests/test_modisinterpolator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/tests
> running build_ext
> building 'geotiepoints.multilinear_cython' extension
> creating build/temp.linux-x86_64-3.8
> creating build/temp.linux-x86_64-3.8/geotiepoints
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -I/usr/lib/python3/dist-packages/numpy/core/include -c geotiepoints/multilinear_cython.c -o build/temp.linux-x86_64-3.8/geotiepoints/multilinear_cython.o -O3
> In file included from /usr/include/python3.8/numpy/ndarraytypes.h:1830,
>                  from /usr/include/python3.8/numpy/ndarrayobject.h:12,
>                  from /usr/include/python3.8/numpy/arrayobject.h:4,
>                  from geotiepoints/multilinear_cython.c:584:
> /usr/include/python3.8/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>    17 | #warning "Using deprecated NumPy API, disable it with " \
>       |  ^~~~~~~
> geotiepoints/multilinear_cython.c: In function ‘__Pyx_modinit_type_init_code’:
> geotiepoints/multilinear_cython.c:24742:3: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
> 24742 |   __pyx_type___pyx_array.tp_print = 0;
>       |   ^~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/python3.8/object.h:746,
>                  from /usr/include/python3.8/pytime.h:6,
>                  from /usr/include/python3.8/Python.h:85,
>                  from geotiepoints/multilinear_cython.c:20:
> /usr/include/python3.8/cpython/object.h:260:30: note: declared here
>   260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
>       |                              ^~~~~~~~
> geotiepoints/multilinear_cython.c:24747:3: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
> 24747 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/python3.8/object.h:746,
>                  from /usr/include/python3.8/pytime.h:6,
>                  from /usr/include/python3.8/Python.h:85,
>                  from geotiepoints/multilinear_cython.c:20:
> /usr/include/python3.8/cpython/object.h:260:30: note: declared here
>   260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
>       |                              ^~~~~~~~
> geotiepoints/multilinear_cython.c:24762:3: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
> 24762 |   __pyx_type___pyx_memoryview.tp_print = 0;
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/python3.8/object.h:746,
>                  from /usr/include/python3.8/pytime.h:6,
>                  from /usr/include/python3.8/Python.h:85,
>                  from geotiepoints/multilinear_cython.c:20:
> /usr/include/python3.8/cpython/object.h:260:30: note: declared here
>   260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
>       |                              ^~~~~~~~
> geotiepoints/multilinear_cython.c:24775:3: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
> 24775 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/python3.8/object.h:746,
>                  from /usr/include/python3.8/pytime.h:6,
>                  from /usr/include/python3.8/Python.h:85,
>                  from geotiepoints/multilinear_cython.c:20:
> /usr/include/python3.8/cpython/object.h:260:30: note: declared here
>   260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
>       |                              ^~~~~~~~
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/geotiepoints/multilinear_cython.o -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_geotiepoints/build/geotiepoints/multilinear_cython.cpython-38-x86_64-linux-gnu.so
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: python3.7 setup.py test 
> Cython will not be used. Use environment variable 'USE_CYTHON=True' to use it
> running test
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> running egg_info
> creating python_geotiepoints.egg-info
> writing python_geotiepoints.egg-info/PKG-INFO
> writing dependency_links to python_geotiepoints.egg-info/dependency_links.txt
> writing requirements to python_geotiepoints.egg-info/requires.txt
> writing top-level names to python_geotiepoints.egg-info/top_level.txt
> writing manifest file 'python_geotiepoints.egg-info/SOURCES.txt'
> reading manifest file 'python_geotiepoints.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'docs/Makefile'
> warning: no files found matching '*' under directory 'docs/source'
> writing manifest file 'python_geotiepoints.egg-info/SOURCES.txt'
> running build_ext
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/multilinear_cython.cpython-37m-x86_64-linux-gnu.so -> geotiepoints
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_geotiepoints/build/geotiepoints/multilinear_cython.cpython-37m-x86_64-linux-gnu.so -> geotiepoints
> Traceback (most recent call last):
>   File "setup.py", line 142, in <module>
>     zip_safe=False
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
>     return distutils.core.setup(**attrs)
>   File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
>     dist.run_commands()
>   File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 237, in run
>     self.run_tests()
>   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 259, in run_tests
>     exit=False,
>   File "/usr/lib/python3.7/unittest/main.py", line 100, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib/python3.7/unittest/main.py", line 147, in parseArgs
>     self.createTests()
>   File "/usr/lib/python3.7/unittest/main.py", line 159, in createTests
>     self.module)
>   File "/usr/lib/python3.7/unittest/loader.py", line 220, in loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python3.7/unittest/loader.py", line 220, in <listcomp>
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python3.7/unittest/loader.py", line 205, in loadTestsFromName
>     test = obj()
>   File "/<<PKGBUILDDIR>>/geotiepoints/tests/__init__.py", line 74, in suite
>     from geotiepoints.tests import test_modisinterpolator
>   File "/<<PKGBUILDDIR>>/geotiepoints/tests/test_modisinterpolator.py", line 27, in <module>
>     from geotiepoints.modisinterpolator import modis_1km_to_250m, modis_1km_to_500m, modis_5km_to_1km
>   File "/<<PKGBUILDDIR>>/geotiepoints/modisinterpolator.py", line 29, in <module>
>     import xarray as xr
>   File "/usr/lib/python3/dist-packages/xarray/__init__.py", line 3, in <module>
>     from . import testing, tutorial, ufuncs
>   File "/usr/lib/python3/dist-packages/xarray/testing.py", line 5, in <module>
>     import pandas as pd
>   File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 182, in <module>
>     import pandas.testing
>   File "/usr/lib/python3/dist-packages/pandas/testing.py", line 7, in <module>
>     from pandas.util.testing import (
>   File "/usr/lib/python3/dist-packages/pandas/util/testing.py", line 18, in <module>
>     from matplotlib.cbook import MatplotlibDeprecationWarning
> ModuleNotFoundError: No module named 'matplotlib'
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: python3.7 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.7 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/04/02/python-geotiepoints_1.1.8-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!

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 Pkg-grass-devel mailing list