Source: python-zstandard
Version: 0.19.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230307 ftbfs-bookworm

Hi,

During a rebuild of all packages in testing (bookworm), your package failed
to build on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd docs; LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml . _build/html    
> Running Sphinx v5.3.0
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 14 source files that are out of date
> updating environment: [new config] 14 added, 0 changed, 0 removed
> reading sources... [  7%] api_usage
> reading sources... [ 14%] buffer
> reading sources... [ 21%] compression_parameters
> reading sources... [ 28%] compressor
> reading sources... [ 35%] concepts
> reading sources... [ 42%] contributing
> reading sources... [ 50%] decompressor
> reading sources... [ 57%] dictionaries
> reading sources... [ 64%] index
> reading sources... [ 71%] installing
> reading sources... [ 78%] misc_apis
> reading sources... [ 85%] multithreaded
> reading sources... [ 92%] news
> reading sources... [100%] projectinfo
> 
> WARNING: autodoc: failed to import class 'BufferSegment' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'BufferSegments' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'BufferWithSegments' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'BufferWithSegmentsCollection' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionParameters' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressor' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionWriter' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionReader' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionObj' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionChunker' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressor' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressionWriter' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressionReader' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdDecompressionObj' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'ZstdCompressionDict' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'train_dictionary' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'get_frame_parameters' from 
> module 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'frame_header_size' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'frame_content_size' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import class 'FrameParameters' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 
> 'estimate_decompression_context_size' from module 'zstandard'; the following 
> exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'open' from module 'zstandard'; 
> the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'compress' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> WARNING: autodoc: failed to import function 'decompress' from module 
> 'zstandard'; the following exception was raised:
> No module named 'zstandard'
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  7%] api_usage
> writing output... [ 14%] buffer
> writing output... [ 21%] compression_parameters
> writing output... [ 28%] compressor
> writing output... [ 35%] concepts
> writing output... [ 42%] contributing
> writing output... [ 50%] decompressor
> writing output... [ 57%] dictionaries
> writing output... [ 64%] index
> writing output... [ 71%] installing
> writing output... [ 78%] misc_apis
> writing output... [ 85%] multithreaded
> writing output... [ 92%] news
> writing output... [100%] projectinfo
> 
> generating indices... genindex 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, 24 warnings.
> 
> The HTML pages are in _build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py test 
> /<<PKGBUILDDIR>>/setup.py:32: DeprecationWarning: distutils Version classes 
> are deprecated. Use packaging.version instead.
>   cffi_version = LooseVersion(cffi.__version__)
> /<<PKGBUILDDIR>>/setup.py:33: DeprecationWarning: distutils Version classes 
> are deprecated. Use packaging.version instead.
>   if cffi_version < LooseVersion(MINIMUM_CFFI_VERSION):
> not modified: 'build/zstandard/_cffi.c'
> generating build/zstandard/_cffi.c
> (already up-to-date)
> 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 zstandard.egg-info
> writing zstandard.egg-info/PKG-INFO
> writing dependency_links to zstandard.egg-info/dependency_links.txt
> writing requirements to zstandard.egg-info/requires.txt
> writing top-level names to zstandard.egg-info/top_level.txt
> writing manifest file 'zstandard.egg-info/SOURCES.txt'
> reading manifest file 'zstandard.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'zstandard.egg-info/SOURCES.txt'
> running build_ext
> building 'zstandard.backend_c' extension
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ic-ext 
> -I/usr/include/python3.11 -c c-ext/backend_c.c -o 
> build/temp.linux-x86_64-cpython-311/c-ext/backend_c.o -DZSTD_MULTITHREAD 
> -I/usr/include
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 
> -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-311/c-ext/backend_c.o 
> -L/usr/lib/x86_64-linux-gnu -lzstd -o 
> /<<PKGBUILDDIR>>/zstandard/backend_c.cpython-311-x86_64-linux-gnu.so
> building 'zstandard._cffi' extension
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -I/<<PKGBUILDDIR>>/zstd -I/usr/include/python3.11 -c build/zstandard/_cffi.c 
> -o build/temp.linux-x86_64-cpython-311/build/zstandard/_cffi.o
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -I/<<PKGBUILDDIR>>/zstd -I/usr/include/python3.11 -c zstd/zstdlib.c -o 
> build/temp.linux-x86_64-cpython-311/zstd/zstdlib.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 
> -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-cpython-311/build/zstandard/_cffi.o 
> build/temp.linux-x86_64-cpython-311/zstd/zstdlib.o 
> -L/usr/lib/x86_64-linux-gnu -o 
> /<<PKGBUILDDIR>>/zstandard/_cffi.cpython-311-x86_64-linux-gnu.so
> test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes) ... 
> ERROR
> test_compressor_multi_compress_to_buffer 
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer) ... 
> ERROR
> test_data_structures_fuzzing 
> (unittest.loader._FailedTest.test_data_structures_fuzzing) ... ERROR
> test_train_dictionary (unittest.loader._FailedTest.test_train_dictionary) ... 
> ERROR
> test_decompressor_stream_reader 
> (unittest.loader._FailedTest.test_decompressor_stream_reader) ... ERROR
> test_decompressor_fuzzing 
> (unittest.loader._FailedTest.test_decompressor_fuzzing) ... ERROR
> test_compressor (unittest.loader._FailedTest.test_compressor) ... ERROR
> test_compressor_fuzzing (unittest.loader._FailedTest.test_compressor_fuzzing) 
> ... ERROR
> test_buffer_util (unittest.loader._FailedTest.test_buffer_util) ... ERROR
> test_open (unittest.loader._FailedTest.test_open) ... ERROR
> test_compressor_compress 
> (unittest.loader._FailedTest.test_compressor_compress) ... ERROR
> test_compressor_compressobj 
> (unittest.loader._FailedTest.test_compressor_compressobj) ... ERROR
> test_module_attributes (unittest.loader._FailedTest.test_module_attributes) 
> ... ERROR
> test_decompressor_read_to_iter 
> (unittest.loader._FailedTest.test_decompressor_read_to_iter) ... ERROR
> test_decompressor_multi_decompress_to_buffer 
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer) 
> ... ERROR
> test_decompressor_copy_stream 
> (unittest.loader._FailedTest.test_decompressor_copy_stream) ... ERROR
> test_decompressor_content_dict_chain 
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain) ... ERROR
> test_compressor_stream_reader 
> (unittest.loader._FailedTest.test_compressor_stream_reader) ... ERROR
> test_data_structures (unittest.loader._FailedTest.test_data_structures) ... 
> ERROR
> test_compressor_chunker (unittest.loader._FailedTest.test_compressor_chunker) 
> ... ERROR
> test_compressor_copy_stream 
> (unittest.loader._FailedTest.test_compressor_copy_stream) ... ERROR
> test_utility (unittest.loader._FailedTest.test_utility) ... ERROR
> test_decompressor (unittest.loader._FailedTest.test_decompressor) ... ERROR
> test_compressor_read_to_iter 
> (unittest.loader._FailedTest.test_compressor_read_to_iter) ... ERROR
> test_decompressor_decompressobj 
> (unittest.loader._FailedTest.test_decompressor_decompressobj) ... ERROR
> test_compressor_stream_writer 
> (unittest.loader._FailedTest.test_compressor_stream_writer) ... ERROR
> test_decompressor_stream_writer 
> (unittest.loader._FailedTest.test_decompressor_stream_writer) ... ERROR
> test_decompressor_decompress 
> (unittest.loader._FailedTest.test_decompressor_decompress) ... ERROR
> 
> ======================================================================
> ERROR: test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_estimate_sizes
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_estimate_sizes.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_multi_compress_to_buffer 
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_compressor_multi_compress_to_buffer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_multi_compress_to_buffer.py", 
> line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_data_structures_fuzzing 
> (unittest.loader._FailedTest.test_data_structures_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_data_structures_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_data_structures_fuzzing.py", line 10, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_train_dictionary 
> (unittest.loader._FailedTest.test_train_dictionary)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_train_dictionary
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_train_dictionary.py", line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_stream_reader 
> (unittest.loader._FailedTest.test_decompressor_stream_reader)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_stream_reader
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_stream_reader.py", line 5, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_fuzzing 
> (unittest.loader._FailedTest.test_decompressor_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_fuzzing.py", line 11, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor (unittest.loader._FailedTest.test_compressor)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_fuzzing 
> (unittest.loader._FailedTest.test_compressor_fuzzing)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_fuzzing
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_fuzzing.py", line 11, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_buffer_util (unittest.loader._FailedTest.test_buffer_util)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_buffer_util
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_buffer_util.py", line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_open (unittest.loader._FailedTest.test_open)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_open
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_open.py", line 6, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_compress 
> (unittest.loader._FailedTest.test_compressor_compress)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_compress
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_compress.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_compressobj 
> (unittest.loader._FailedTest.test_compressor_compressobj)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_compressobj
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_compressobj.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_module_attributes 
> (unittest.loader._FailedTest.test_module_attributes)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_module_attributes
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_module_attributes.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_read_to_iter 
> (unittest.loader._FailedTest.test_decompressor_read_to_iter)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_read_to_iter
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_read_to_iter.py", line 7, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_multi_decompress_to_buffer 
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_decompressor_multi_decompress_to_buffer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/tests/test_decompressor_multi_decompress_to_buffer.py", 
> line 4, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_copy_stream 
> (unittest.loader._FailedTest.test_decompressor_copy_stream)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_copy_stream
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_copy_stream.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_content_dict_chain 
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: 
> test_decompressor_content_dict_chain
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_content_dict_chain.py", line 
> 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_stream_reader 
> (unittest.loader._FailedTest.test_compressor_stream_reader)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_stream_reader
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_stream_reader.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_data_structures (unittest.loader._FailedTest.test_data_structures)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_data_structures
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_data_structures.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_chunker 
> (unittest.loader._FailedTest.test_compressor_chunker)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_chunker
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_chunker.py", line 3, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_copy_stream 
> (unittest.loader._FailedTest.test_compressor_copy_stream)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_copy_stream
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_copy_stream.py", line 5, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_utility (unittest.loader._FailedTest.test_utility)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_utility
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_utility.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor (unittest.loader._FailedTest.test_decompressor)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor.py", line 3, in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_read_to_iter 
> (unittest.loader._FailedTest.test_compressor_read_to_iter)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_read_to_iter
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_read_to_iter.py", line 4, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_decompressobj 
> (unittest.loader._FailedTest.test_decompressor_decompressobj)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_decompressobj
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_decompressobj.py", line 3, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_compressor_stream_writer 
> (unittest.loader._FailedTest.test_compressor_stream_writer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_compressor_stream_writer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_compressor_stream_writer.py", line 8, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_stream_writer 
> (unittest.loader._FailedTest.test_decompressor_stream_writer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_stream_writer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_stream_writer.py", line 7, 
> in <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ======================================================================
> ERROR: test_decompressor_decompress 
> (unittest.loader._FailedTest.test_decompressor_decompress)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decompressor_decompress
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_decompressor_decompress.py", line 3, in 
> <module>
>     import zstandard as zstd
>   File "/<<PKGBUILDDIR>>/zstandard/__init__.py", line 39, in <module>
>     from .backend_c import *  # type: ignore
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> ImportError: zstd C API versions mismatch; Python bindings were not 
> compiled/linked against expected zstd version (10504 returned by the lib, 
> 10504 hardcoded in zstd headers, 10502 hardcoded in the cext)
> 
> 
> ----------------------------------------------------------------------
> Ran 28 tests in 0.003s
> 
> FAILED (errors=28)
> Test failed: <unittest.runner.TextTestResult run=28 errors=28 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=28 errors=28 
> failures=0>
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: 
> python3.11 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2023/03/07/python-zstandard_0.19.0-3_testing.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230307;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230307&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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 mine
so that we can identify if something relevant changed in the meantime.

Reply via email to