[Python-modules-team] Bug#971982: python-feather-format ftbfs with python3-defaults (python3.9) from experimental

Emmanuel Arias eamanu at yaerobi.com
Sun Oct 11 02:12:38 BST 2020


Package: src:python-feather-format
Version: 0.3.1+dfsg1-4
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

[...]
running build_ext
building 'feather.ext' extension
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c feather/ext.cpp -o build/temp.linux-x86_64-3.9/feather/ext.o -std=c++11 -O3
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from feather/ext.cpp:670:
/usr/lib/python3/dist-packages/numpy/core/include/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 -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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/buffer.cc -o build/temp.linux-x86_64-3.9/src/feather/buffer.o -std=c++11 -O3
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/io.cc -o build/temp.linux-x86_64-3.9/src/feather/io.o -std=c++11 -O3
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/metadata.cc -o build/temp.linux-x86_64-3.9/src/feather/metadata.o -std=c++11 -O3
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/reader.cc -o build/temp.linux-x86_64-3.9/src/feather/reader.o -std=c++11 -O3
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/status.cc -o build/temp.linux-x86_64-3.9/src/feather/status.o -std=c++11 -O3
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/types.cc -o build/temp.linux-x86_64-3.9/src/feather/types.o -std=c++11 -O3
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=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifeather -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/src -I/usr/include/python3.9 -c src/feather/writer.cc -o build/temp.linux-x86_64-3.9/src/feather/writer.o -std=c++11 -O3
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/feather/ext.o build/temp.linux-x86_64-3.9/src/feather/buffer.o build/temp.linux-x86_64-3.9/src/feather/io.o build/temp.linux-x86_64-3.9/src/feather/metadata.o build/temp.linux-x86_64-3.9/src/feather/reader.o build/temp.linux-x86_64-3.9/src/feather/status.o build/temp.linux-x86_64-3.9/src/feather/types.o build/temp.linux-x86_64-3.9/src/feather/writer.o -o /<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/feather/ext.cpython-39-x86_64-linux-gnu.so
feather (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: feather (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: feather
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 32, in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
  File "/usr/lib/python3/dist-packages/pandas/_libs/__init__.py", line 3, in <module>
    from .tslibs import (
  File "/usr/lib/python3/dist-packages/pandas/_libs/tslibs/__init__.py", line 3, in <module>
    from .conversion import localize_pydatetime, normalize_date
ModuleNotFoundError: No module named 'pandas._libs.tslibs.conversion'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/feather/__init__.py", line 17, in <module>
    from feather.api import read_dataframe, write_dataframe
  File "/<<BUILDDIR>>/python-feather-format-0.3.1+dfsg1/feather/api.py", line 17, in <module>
    import pandas as pd
  File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 36, in <module>
    raise ImportError(
ImportError: C extension: No module named 'pandas._libs.tslibs.conversion' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.


----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: python3.9 setup.py test
dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned exit code 13
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2020-10-10T23:12:08Z

Finished
--------



More information about the Python-modules-team mailing list