Source: python-zstandard
Version: 0.22.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, 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 v7.2.6
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> writing output...
> building [html]: targets for 15 source files that are out of date
> updating environment: [new config] 15 added, 0 changed, 0 removed
> [2Kreading sources... [ 7%] api_usage
> [2Kreading sources... [ 13%] buffer
> [2Kreading sources... [ 20%] compression_parameters
> [2Kreading sources... [ 27%] compressor
> [2Kreading sources... [ 33%] concepts
> [2Kreading sources... [ 40%] contributing
> [2Kreading sources... [ 47%] decompressor
> [2Kreading sources... [ 53%] dictionaries
> [2Kreading sources... [ 60%] index
> [2Kreading sources... [ 67%] installing
> [2Kreading sources... [ 73%] misc_apis
> [2Kreading sources... [ 80%] missing_features
> [2Kreading sources... [ 87%] multithreaded
> [2Kreading sources... [ 93%] news
> [2Kreading 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
> copying assets... copying static files... done
> copying extra files... done
> done
> [2Kwriting output... [ 7%] api_usage
> [2Kwriting output... [ 13%] buffer
> [2Kwriting output... [ 20%] compression_parameters
> [2Kwriting output... [ 27%] compressor
> [2Kwriting output... [ 33%] concepts
> [2Kwriting output... [ 40%] contributing
> [2Kwriting output... [ 47%] decompressor
> [2Kwriting output... [ 53%] dictionaries
> [2Kwriting output... [ 60%] index
> [2Kwriting output... [ 67%] installing
> [2Kwriting output... [ 73%] misc_apis
> [2Kwriting output... [ 80%] missing_features
> [2Kwriting output... [ 87%] multithreaded
> [2Kwriting output... [ 93%] news
> [2Kwriting output... [100%] projectinfo
>
> generating indices... genindex done
> writing additional pages... search 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:311: python3.12 setup.py test
> /<<PKGBUILDDIR>>/setup.py:37: DeprecationWarning: distutils Version classes
> are deprecated. Use packaging.version instead.
> cffi_version = LooseVersion(cffi.__version__)
> /<<PKGBUILDDIR>>/setup.py:38: 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.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> 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 -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
> -Wall -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ic-ext -I/usr/include/python3.12 -c
> c-ext/backend_c.c -o build/temp.linux-x86_64-cpython-312/c-ext/backend_c.o
> -DZSTD_MULTITHREAD -I/usr/include
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g
> -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
> build/temp.linux-x86_64-cpython-312/c-ext/backend_c.o
> -L/usr/lib/x86_64-linux-gnu -lzstd -o
> /<<PKGBUILDDIR>>/zstandard/backend_c.cpython-312-x86_64-linux-gnu.so
> building 'zstandard._cffi' extension
> x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
> -Wall -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd
> -I/usr/include/python3.12 -c build/zstandard/_cffi.c -o
> build/temp.linux-x86_64-cpython-312/build/zstandard/_cffi.o
> x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
> -Wall -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd
> -I/usr/include/python3.12 -c zstd/zstd.c -o
> build/temp.linux-x86_64-cpython-312/zstd/zstd.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g
> -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
> build/temp.linux-x86_64-cpython-312/build/zstandard/_cffi.o
> build/temp.linux-x86_64-cpython-312/zstd/zstd.o -L/usr/lib/x86_64-linux-gnu
> -o /<<PKGBUILDDIR>>/zstandard/_cffi.cpython-312-x86_64-linux-gnu.so
> test_compressor_copy_stream
> (unittest.loader._FailedTest.test_compressor_copy_stream) ... ERROR
> test_decompressor_copy_stream
> (unittest.loader._FailedTest.test_decompressor_copy_stream) ... ERROR
> test_data_structures (unittest.loader._FailedTest.test_data_structures) ...
> ERROR
> test_decompressor_content_dict_chain
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain) ... ERROR
> test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes) ...
> ERROR
> test_compressor_compressobj
> (unittest.loader._FailedTest.test_compressor_compressobj) ... ERROR
> test_decompressor_stream_writer
> (unittest.loader._FailedTest.test_decompressor_stream_writer) ... ERROR
> test_decompressor_fuzzing
> (unittest.loader._FailedTest.test_decompressor_fuzzing) ... 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_decompress
> (unittest.loader._FailedTest.test_decompressor_decompress) ... ERROR
> test_compressor_compress
> (unittest.loader._FailedTest.test_compressor_compress) ... ERROR
> test_compressor_multi_compress_to_buffer
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer) ...
> ERROR
> test_compressor_stream_reader
> (unittest.loader._FailedTest.test_compressor_stream_reader) ... ERROR
> test_decompressor (unittest.loader._FailedTest.test_decompressor) ... ERROR
> test_compressor (unittest.loader._FailedTest.test_compressor) ... ERROR
> test_compressor_fuzzing (unittest.loader._FailedTest.test_compressor_fuzzing)
> ... ERROR
> test_decompressor_decompressobj
> (unittest.loader._FailedTest.test_decompressor_decompressobj) ... ERROR
> test_open (unittest.loader._FailedTest.test_open) ... ERROR
> test_buffer_util (unittest.loader._FailedTest.test_buffer_util) ... ERROR
> test_compressor_chunker (unittest.loader._FailedTest.test_compressor_chunker)
> ... ERROR
> test_compressor_stream_writer
> (unittest.loader._FailedTest.test_compressor_stream_writer) ... ERROR
> test_decompressor_stream_reader
> (unittest.loader._FailedTest.test_decompressor_stream_reader) ... ERROR
> test_compressor_read_to_iter
> (unittest.loader._FailedTest.test_compressor_read_to_iter) ... ERROR
> test_utility (unittest.loader._FailedTest.test_utility) ... ERROR
> test_train_dictionary (unittest.loader._FailedTest.test_train_dictionary) ...
> ERROR
> test_data_structures_fuzzing
> (unittest.loader._FailedTest.test_data_structures_fuzzing) ... ERROR
> test_decompressor_multi_decompress_to_buffer
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer)
> ... ERROR
>
> ======================================================================
> 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
>
>
> ======================================================================
> 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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.12/unittest/loader.py", line 137, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
>
>
> ----------------------------------------------------------------------
> Ran 28 tests in 0.002s
>
> 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:389: test: plugin distutils failed with: exit code=1:
> python3.12 setup.py test
> I: pybuild base:311: python3.11 setup.py test
> /<<PKGBUILDDIR>>/setup.py:37: DeprecationWarning: distutils Version classes
> are deprecated. Use packaging.version instead.
> cffi_version = LooseVersion(cffi.__version__)
> /<<PKGBUILDDIR>>/setup.py:38: 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.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running 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
> 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
> -Werror=implicit-function-declaration -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -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 -Wl,-z,relro
> -Wl,-z,now -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -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
> -Werror=implicit-function-declaration -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -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
> -Werror=implicit-function-declaration -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/<<PKGBUILDDIR>>/zstd
> -I/usr/include/python3.11 -c zstd/zstd.c -o
> build/temp.linux-x86_64-cpython-311/zstd/zstd.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro
> -Wl,-z,now -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -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/zstd.o -L/usr/lib/x86_64-linux-gnu
> -o /<<PKGBUILDDIR>>/zstandard/_cffi.cpython-311-x86_64-linux-gnu.so
> test_compressor_copy_stream
> (unittest.loader._FailedTest.test_compressor_copy_stream) ... ERROR
> test_decompressor_copy_stream
> (unittest.loader._FailedTest.test_decompressor_copy_stream) ... ERROR
> test_data_structures (unittest.loader._FailedTest.test_data_structures) ...
> ERROR
> test_decompressor_content_dict_chain
> (unittest.loader._FailedTest.test_decompressor_content_dict_chain) ... ERROR
> test_estimate_sizes (unittest.loader._FailedTest.test_estimate_sizes) ...
> ERROR
> test_compressor_compressobj
> (unittest.loader._FailedTest.test_compressor_compressobj) ... ERROR
> test_decompressor_stream_writer
> (unittest.loader._FailedTest.test_decompressor_stream_writer) ... ERROR
> test_decompressor_fuzzing
> (unittest.loader._FailedTest.test_decompressor_fuzzing) ... 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_decompress
> (unittest.loader._FailedTest.test_decompressor_decompress) ... ERROR
> test_compressor_compress
> (unittest.loader._FailedTest.test_compressor_compress) ... ERROR
> test_compressor_multi_compress_to_buffer
> (unittest.loader._FailedTest.test_compressor_multi_compress_to_buffer) ...
> ERROR
> test_compressor_stream_reader
> (unittest.loader._FailedTest.test_compressor_stream_reader) ... ERROR
> test_decompressor (unittest.loader._FailedTest.test_decompressor) ... ERROR
> test_compressor (unittest.loader._FailedTest.test_compressor) ... ERROR
> test_compressor_fuzzing (unittest.loader._FailedTest.test_compressor_fuzzing)
> ... ERROR
> test_decompressor_decompressobj
> (unittest.loader._FailedTest.test_decompressor_decompressobj) ... ERROR
> test_open (unittest.loader._FailedTest.test_open) ... ERROR
> test_buffer_util (unittest.loader._FailedTest.test_buffer_util) ... ERROR
> test_compressor_chunker (unittest.loader._FailedTest.test_compressor_chunker)
> ... ERROR
> test_compressor_stream_writer
> (unittest.loader._FailedTest.test_compressor_stream_writer) ... ERROR
> test_decompressor_stream_reader
> (unittest.loader._FailedTest.test_decompressor_stream_reader) ... ERROR
> test_compressor_read_to_iter
> (unittest.loader._FailedTest.test_compressor_read_to_iter) ... ERROR
> test_utility (unittest.loader._FailedTest.test_utility) ... ERROR
> test_train_dictionary (unittest.loader._FailedTest.test_train_dictionary) ...
> ERROR
> test_data_structures_fuzzing
> (unittest.loader._FailedTest.test_data_structures_fuzzing) ... ERROR
> test_decompressor_multi_decompress_to_buffer
> (unittest.loader._FailedTest.test_decompressor_multi_decompress_to_buffer)
> ... ERROR
>
> ======================================================================
> 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
>
>
> ======================================================================
> 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 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 162, 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 (10506 returned by the lib,
> 10506 hardcoded in zstd headers, 10505 hardcoded in the cext)
>
>
> ----------------------------------------------------------------------
> Ran 28 tests in 0.002s
>
> 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:389: test: plugin distutils failed with: exit code=1:
> python3.11 setup.py test
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-zstandard_0.22.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&[email protected]&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.