Discussion:
Bug#1090267: python-cffi: FTBFS: E TypeError: bad argument type for built-in operation
Add Reply
Santiago Vila
2024-12-16 18:00:22 UTC
Reply
Permalink
Package: src:python-cffi
Version: 1.17.1-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cffi
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/model.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/commontypes.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/lock.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/__init__.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_imp_emulation.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/recompiler.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/cparser.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/api.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/error.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/verifier.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_embedding.h -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-313/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-cpython-313/src/c
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 -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.13 -c src/c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-313/src/c/_cffi_backend.o
src/c/_cffi_backend.c: In function ‘b_do_dlopen’:
src/c/_cffi_backend.c:4579:22: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations]
4579 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:99,
from src/c/_cffi_backend.c:2:
/usr/include/python3.13/fileobject.h:22:46: note: declared here
22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -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-313/src/c/_cffi_backend.o -L/usr/lib/x86_64-linux-gnu -lffi -o build/lib.linux-x86_64-cpython-313/_cffi_backend.cpython-313-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-cpython-313/_cffi_backend.cpython-313-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/.
creating build/bdist.linux-x86_64/wheel/cffi
copying build/lib.linux-x86_64-cpython-313/cffi/vengine_cpy.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/model.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/_cffi_errors.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/cffi_opcode.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/setuptools_ext.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/backend_ctypes.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/commontypes.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/lock.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/parse_c_type.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/_embedding.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/__init__.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/vengine_gen.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/_imp_emulation.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/_shimmed_dist_utils.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/recompiler.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/ffiplatform.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/_cffi_include.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/cparser.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/pkgconfig.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/api.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/error.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-313/cffi/verifier.py -> build/bdist.linux-x86_64/wheel/./cffi
running install_egg_info
running egg_info
creating src/cffi.egg-info
writing src/cffi.egg-info/PKG-INFO
writing dependency_links to src/cffi.egg-info/dependency_links.txt
writing entry points to src/cffi.egg-info/entry_points.txt
writing requirements to src/cffi.egg-info/requires.txt
writing top-level names to src/cffi.egg-info/top_level.txt
writing manifest file 'src/cffi.egg-info/SOURCES.txt'
reading manifest file 'src/cffi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/cffi.egg-info/SOURCES.txt'
Copying src/cffi.egg-info to build/bdist.linux-x86_64/wheel/./cffi-1.17.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/cffi-1.17.1.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cffi/.tmp-iooi4tk5/cffi-1.17.1-cp313-cp313-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding '_cffi_backend.cpython-313-x86_64-linux-gnu.so'
adding 'cffi/__init__.py'
adding 'cffi/_cffi_errors.h'
adding 'cffi/_cffi_include.h'
adding 'cffi/_embedding.h'
adding 'cffi/_imp_emulation.py'
adding 'cffi/_shimmed_dist_utils.py'
adding 'cffi/api.py'
adding 'cffi/backend_ctypes.py'
adding 'cffi/cffi_opcode.py'
adding 'cffi/commontypes.py'
adding 'cffi/cparser.py'
adding 'cffi/error.py'
adding 'cffi/ffiplatform.py'
adding 'cffi/lock.py'
adding 'cffi/model.py'
adding 'cffi/parse_c_type.h'
adding 'cffi/pkgconfig.py'
adding 'cffi/recompiler.py'
adding 'cffi/setuptools_ext.py'
adding 'cffi/vengine_cpy.py'
adding 'cffi/vengine_gen.py'
adding 'cffi/verifier.py'
adding 'cffi-1.17.1.dist-info/LICENSE'
adding 'cffi-1.17.1.dist-info/METADATA'
adding 'cffi-1.17.1.dist-info/WHEEL'
adding 'cffi-1.17.1.dist-info/entry_points.txt'
adding 'cffi-1.17.1.dist-info/top_level.txt'
adding 'cffi-1.17.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built cffi-1.17.1-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cffi
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/model.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/commontypes.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/lock.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/__init__.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/_imp_emulation.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/recompiler.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/cparser.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/api.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/error.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/verifier.py -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/_embedding.h -> build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-312/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-cpython-312/src/c
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 -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.12 -c src/c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-312/src/c/_cffi_backend.o
src/c/_cffi_backend.c: In function ‘b_do_dlopen’:
src/c/_cffi_backend.c:4579:22: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations]
4579 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:72,
from src/c/_cffi_backend.c:2:
/usr/include/python3.12/fileobject.h:22:46: note: declared here
22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -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/src/c/_cffi_backend.o -L/usr/lib/x86_64-linux-gnu -lffi -o build/lib.linux-x86_64-cpython-312/_cffi_backend.cpython-312-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-cpython-312/_cffi_backend.cpython-312-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/.
creating build/bdist.linux-x86_64/wheel/cffi
copying build/lib.linux-x86_64-cpython-312/cffi/vengine_cpy.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/model.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/_cffi_errors.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/cffi_opcode.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/setuptools_ext.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/backend_ctypes.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/commontypes.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/lock.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/parse_c_type.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/_embedding.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/__init__.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/vengine_gen.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/_imp_emulation.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/_shimmed_dist_utils.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/recompiler.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/ffiplatform.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/_cffi_include.h -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/cparser.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/pkgconfig.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/api.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/error.py -> build/bdist.linux-x86_64/wheel/./cffi
copying build/lib.linux-x86_64-cpython-312/cffi/verifier.py -> build/bdist.linux-x86_64/wheel/./cffi
running install_egg_info
running egg_info
writing src/cffi.egg-info/PKG-INFO
writing dependency_links to src/cffi.egg-info/dependency_links.txt
writing entry points to src/cffi.egg-info/entry_points.txt
writing requirements to src/cffi.egg-info/requires.txt
writing top-level names to src/cffi.egg-info/top_level.txt
reading manifest file 'src/cffi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/cffi.egg-info/SOURCES.txt'
Copying src/cffi.egg-info to build/bdist.linux-x86_64/wheel/./cffi-1.17.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/cffi-1.17.1.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cffi/.tmp-h8otbvl6/cffi-1.17.1-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding '_cffi_backend.cpython-312-x86_64-linux-gnu.so'
adding 'cffi/__init__.py'
adding 'cffi/_cffi_errors.h'
adding 'cffi/_cffi_include.h'
adding 'cffi/_embedding.h'
adding 'cffi/_imp_emulation.py'
adding 'cffi/_shimmed_dist_utils.py'
adding 'cffi/api.py'
adding 'cffi/backend_ctypes.py'
adding 'cffi/cffi_opcode.py'
adding 'cffi/commontypes.py'
adding 'cffi/cparser.py'
adding 'cffi/error.py'
adding 'cffi/ffiplatform.py'
adding 'cffi/lock.py'
adding 'cffi/model.py'
adding 'cffi/parse_c_type.h'
adding 'cffi/pkgconfig.py'
adding 'cffi/recompiler.py'
adding 'cffi/setuptools_ext.py'
adding 'cffi/vengine_cpy.py'
adding 'cffi/vengine_gen.py'
adding 'cffi/verifier.py'
adding 'cffi-1.17.1.dist-info/LICENSE'
adding 'cffi-1.17.1.dist-info/METADATA'
adding 'cffi-1.17.1.dist-info/WHEEL'
adding 'cffi-1.17.1.dist-info/entry_points.txt'
adding 'cffi-1.17.1.dist-info/top_level.txt'
adding 'cffi-1.17.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built cffi-1.17.1-cp312-cp312-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
debian/rules execute_after_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 -m sphinx -b html -d doc/build/doctrees doc/source doc/build/html
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [ 11%] cdef
reading sources... [ 22%] embedding
reading sources... [ 33%] goals
reading sources... [ 44%] index
reading sources... [ 56%] installation
reading sources... [ 67%] overview
reading sources... [ 78%] ref
reading sources... [ 89%] using
reading sources... [100%] whatsnew

/<<PKGBUILDDIR>>/doc/source/installation.rst:53: ERROR: Unknown target name: "github". [docutils]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files...
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/build/html/_static/documentation_options.js
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/build/html/_static/basic.css
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/build/html/_static/language_data.js
Writing evaluated template result to /<<PKGBUILDDIR>>/doc/build/html/_static/alabaster.css
copying static files: done
copying extra files...
copying extra files: done
copying assets: done
writing output... [ 11%] cdef
writing output... [ 22%] embedding
writing output... [ 33%] goals
writing output... [ 44%] index
writing output... [ 56%] installation
writing output... [ 67%] overview
writing output... [ 78%] ref
writing output... [ 89%] using
writing output... [100%] whatsnew

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML pages are in doc/build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_SYSTEM=custom \
PYBUILD_BEFORE_TEST="{interpreter} setup.py egg_info" \
PYBUILD_TEST_ARGS="{interpreter} -m pytest src/c/ testing/" \
dh_auto_test
I: pybuild pybuild:308: python3.13 setup.py egg_info
running egg_info
writing src/cffi.egg-info/PKG-INFO
writing dependency_links to src/cffi.egg-info/dependency_links.txt
writing entry points to src/cffi.egg-info/entry_points.txt
writing requirements to src/cffi.egg-info/requires.txt
writing top-level names to src/cffi.egg-info/top_level.txt
reading manifest file 'src/cffi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/cffi.egg-info/SOURCES.txt'
I: pybuild base:311: python3.13 -m pytest src/c/ testing/
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 2053 items

src/c/test_c.py ........................................................ [ 2%]
........................................................................ [ 6%]
...............s.......................s................................ [ 9%]
............................. [ 11%]
testing/cffi0/test_cdata.py . [ 11%]
testing/cffi0/test_ctypes.py ..................s...............s.s.s.... [ 13%]
...s.........................sssssss..s..s.............................. [ 16%]
...............sssssssss [ 17%]
testing/cffi0/test_ffi_backend.py ..................s................... [ 19%]
..ss.................................................................... [ 23%]
...................s...s................................................ [ 26%]
.................s.s...s................... [ 28%]
testing/cffi0/test_function.py ......s.......s.....s..ss..sss..ss [ 30%]
testing/cffi0/test_model.py ............. [ 31%]
testing/cffi0/test_ownlib.py ..ss...sssss [ 31%]
testing/cffi0/test_parsing.py .........................s........... [ 33%]
testing/cffi0/test_platform.py .... [ 33%]
testing/cffi0/test_unicode_literals.py ............ [ 34%]
testing/cffi0/test_verify.py ...................s......s.....s.......... [ 36%]
........................................................................ [ 39%]
...............................s...s.............ss.. [ 42%]
testing/cffi0/test_verify2.py ...................s......s.....s......... [ 44%]
........................................................................ [ 48%]
................................s...s.............ss.. [ 50%]
testing/cffi0/test_version.py ..... [ 50%]
testing/cffi0/test_vgen.py ...................s......s.....s............ [ 53%]
........................................................................ [ 56%]
.............................s...s.............ss.. [ 59%]
testing/cffi0/test_vgen2.py ...................s......s.....s........... [ 61%]
........................................................................ [ 64%]
..............................s...s.............ss.. [ 67%]
testing/cffi0/test_zdistutils.py ...................................... [ 69%]
testing/cffi0/test_zintegration.py ........ [ 69%]
testing/cffi1/test_cffi_binary.py . [ 69%]
testing/cffi1/test_commontypes.py ... [ 69%]
testing/cffi1/test_dlopen.py ............... [ 70%]
testing/cffi1/test_dlopen_unicode_literals.py ............... [ 71%]
testing/cffi1/test_ffi_obj.py .............................s............ [ 73%]
. [ 73%]
testing/cffi1/test_function_args.py s [ 73%]
testing/cffi1/test_new_ffi_1.py ........................................ [ 75%]
.........................................s...s.......................... [ 78%]
.........F.. [ 79%]
testing/cffi1/test_parse_c_type.py .................. [ 80%]
testing/cffi1/test_pkgconfig.py ... [ 80%]
testing/cffi1/test_re_python.py ..................... [ 81%]
testing/cffi1/test_realize_c_type.py ......... [ 81%]
testing/cffi1/test_recompiler.py ....................................... [ 83%]
..........................s............................................. [ 87%]
.......................s.....s.......................... [ 90%]
testing/cffi1/test_unicode_literals.py ....... [ 90%]
testing/cffi1/test_verify1.py ..............................s........... [ 92%]
...............................................................s.....xxx [ 95%]
....x......................s...s....s...s.ss [ 98%]
testing/cffi1/test_zdist.py ....................... [ 99%]
testing/embedding/test_basic.py ..... [ 99%]
testing/embedding/test_performance.py ..... [ 99%]
testing/embedding/test_recursive.py . [ 99%]
testing/embedding/test_thread.py .... [ 99%]
testing/embedding/test_tlocal.py . [100%]

=================================== FAILURES ===================================
_______________________ TestNewFFI1.test_import_from_lib _______________________

self = <testing.cffi1.test_new_ffi_1.TestNewFFI1 object at 0x7fdcc61eac10>

def test_import_from_lib(self):
ffi2 = cffi.FFI()
ffi2.cdef("int myfunc(int); extern int myvar;\n#define MYFOO ...\n")
outputfilename = recompile(ffi2, "_test_import_from_lib",
"int myfunc(int x) { return x + 1; }\n"
"int myvar = -5;\n"
"#define MYFOO 42", tmpdir=str(udir))
load_dynamic("_test_import_from_lib", outputfilename)
from _test_import_from_lib.lib import myfunc, myvar, MYFOO
assert MYFOO == 42
assert myfunc(43) == 44
assert myvar == -5 # but can't be changed, so not very useful
from _test_import_from_lib.lib import bar
E TypeError: bad argument type for built-in operation

testing/cffi1/test_new_ffi_1.py:1799: TypeError
----------------------------- Captured stdout call -----------------------------
generating /tmp/ffi-0/_test_import_from_lib.c
setting the current directory to '/tmp/ffi-0'
------------------------------ Captured log call -------------------------------
INFO root:dist.py:970 running build_ext
INFO root:build_ext.py:530 building '_test_import_from_lib' extension
INFO root:spawn.py:60 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/usr/include/python3.13 -c _test_import_from_lib.c -o ./_test_import_from_lib.o
INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -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 ./_test_import_from_lib.o -L/usr/lib/x86_64-linux-gnu -o ./_test_import_from_lib.cpython-313-x86_64-linux-gnu.so
=============================== warnings summary ===============================
src/c/test_c.py::test_callback_return_type
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_callback_return_type.<locals>.cb at 0x7fdcc51d9e40>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/c/test_c.py", line 1453, in test_callback_return_type
assert f(max) == 42
~^^^^^
OverflowError: int too big to convert

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

src/c/test_c.py::test_callback_returning_wchar_t
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_callback_returning_wchar_t.<locals>.cb at 0x7fdcc51d9da0>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/c/test_c.py", line 1748, in cb
raise ValueError
ValueError

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

src/c/test_c.py::test_cast_with_functionptr
/<<PKGBUILDDIR>>/src/c/test_c.py:2166: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
newp(BStructPtr, [cast(BCharP, 0)])

testing/cffi0/test_ffi_backend.py::TestFFI::test_callback_crash
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function BackendTests.test_callback_crash.<locals>.cb at 0x7fdcc561bc40>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi0/backend_tests.py", line 848, in cb
raise Exception
Exception

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi0/test_ffi_backend.py::TestFFI::test_callback_decorator
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function BackendTests.test_callback_decorator.<locals>.cb at 0x7fdcc52d0a40>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi0/backend_tests.py", line 1390, in test_callback_decorator
assert cb((1 << (sz*8-1)) - 1, -10) == 42
~~^^^^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: int too big to convert

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi0/test_parsing.py::test_missing_newline_bug
/<<PKGBUILDDIR>>/src/c/../cffi/cparser.py:436: UserWarning: #pragma in cdef() are entirely ignored. They should be removed for now, otherwise your code might behave differently in a future version of CFFI if #pragma support gets added. Note that '#pragma pack' needs to be replaced with the 'packed' keyword argument to cdef().
warnings.warn(

testing/cffi1/test_ffi_obj.py::test_ffi_callback
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_ffi_callback.<locals>.<lambda> at 0x7fdcc515d760>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_ffi_obj.py", line 130, in <lambda>
assert ffi.callback("int(int)", lambda x: x + "", error=-66)(10) == -66
~~^~~~
TypeError: unsupported operand type(s) for +: 'int' and 'str'

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_ffi_obj.py::test_ffi_callback_decorator
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_ffi_callback_decorator.<locals>.<lambda> at 0x7fdcc515d760>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_ffi_obj.py", line 136, in <lambda>
assert deco(lambda x: x + "")(10) == -66
~~^~~~
TypeError: unsupported operand type(s) for +: 'int' and 'str'

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_crash
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function TestNewFFI1.test_callback_crash.<locals>.cb at 0x7fdcc4d1f420>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_new_ffi_1.py", line 863, in cb
raise Exception
Exception

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_decorator
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function TestNewFFI1.test_callback_decorator.<locals>.cb at 0x7fdcc6b22ca0>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_new_ffi_1.py", line 1341, in test_callback_decorator
assert cb((1 << (sz*8-1)) - 1, -10) == 42
~~^^^^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: int too big to convert

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_recompiler.py::test_macro_var_callback
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_macro_var_callback.<locals>.get_my_value at 0x7fdcc5c6f920>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/_pytest/python_api.py", line 976, in raises
func(*args[1:], **kwargs)
~~~~^^^^^^^^^^^^^^^^^^^^^
TypeError: initializer for ctype 'int *' must be a cdata pointer, not str

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_import_from_lib - T...
= 1 failed, 1954 passed, 94 skipped, 4 xfailed, 11 warnings in 211.78s (0:03:31) =
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: python3.13 -m pytest src/c/ testing/
I: pybuild pybuild:308: python3.12 setup.py egg_info
running egg_info
writing src/cffi.egg-info/PKG-INFO
writing dependency_links to src/cffi.egg-info/dependency_links.txt
writing entry points to src/cffi.egg-info/entry_points.txt
writing requirements to src/cffi.egg-info/requires.txt
writing top-level names to src/cffi.egg-info/top_level.txt
reading manifest file 'src/cffi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/cffi.egg-info/SOURCES.txt'
I: pybuild base:311: python3.12 -m pytest src/c/ testing/
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 2053 items

src/c/test_c.py ........................................................ [ 2%]
........................................................................ [ 6%]
...............s.......................s................................ [ 9%]
............................. [ 11%]
testing/cffi0/test_cdata.py . [ 11%]
testing/cffi0/test_ctypes.py ..................s...............s.s.s.... [ 13%]
...s.........................sssssss..s..s.............................. [ 16%]
...............sssssssss [ 17%]
testing/cffi0/test_ffi_backend.py ..................s................... [ 19%]
..ss.................................................................... [ 23%]
...................s...s................................................ [ 26%]
.................s.s...s................... [ 28%]
testing/cffi0/test_function.py ......s.......s.....s..ss..sss..ss [ 30%]
testing/cffi0/test_model.py ............. [ 31%]
testing/cffi0/test_ownlib.py ..ss...sssss [ 31%]
testing/cffi0/test_parsing.py .........................s........... [ 33%]
testing/cffi0/test_platform.py .... [ 33%]
testing/cffi0/test_unicode_literals.py ............ [ 34%]
testing/cffi0/test_verify.py ...................s......s.....s.......... [ 36%]
........................................................................ [ 39%]
...............................s...s.............ss.. [ 42%]
testing/cffi0/test_verify2.py ...................s......s.....s......... [ 44%]
........................................................................ [ 48%]
................................s...s.............ss.. [ 50%]
testing/cffi0/test_version.py ..... [ 50%]
testing/cffi0/test_vgen.py ...................s......s.....s............ [ 53%]
........................................................................ [ 56%]
.............................s...s.............ss.. [ 59%]
testing/cffi0/test_vgen2.py ...................s......s.....s........... [ 61%]
........................................................................ [ 64%]
..............................s...s.............ss.. [ 67%]
testing/cffi0/test_zdistutils.py ...................................... [ 69%]
testing/cffi0/test_zintegration.py ........ [ 69%]
testing/cffi1/test_cffi_binary.py . [ 69%]
testing/cffi1/test_commontypes.py ... [ 69%]
testing/cffi1/test_dlopen.py ............... [ 70%]
testing/cffi1/test_dlopen_unicode_literals.py ............... [ 71%]
testing/cffi1/test_ffi_obj.py .............................s............ [ 73%]
. [ 73%]
testing/cffi1/test_function_args.py s [ 73%]
testing/cffi1/test_new_ffi_1.py ........................................ [ 75%]
.........................................s...s.......................... [ 78%]
............ [ 79%]
testing/cffi1/test_parse_c_type.py .................. [ 80%]
testing/cffi1/test_pkgconfig.py ... [ 80%]
testing/cffi1/test_re_python.py ..................... [ 81%]
testing/cffi1/test_realize_c_type.py ......... [ 81%]
testing/cffi1/test_recompiler.py ....................................... [ 83%]
..........................s............................................. [ 87%]
.......................s.....s.......................... [ 90%]
testing/cffi1/test_unicode_literals.py ....... [ 90%]
testing/cffi1/test_verify1.py ..............................s........... [ 92%]
...............................................................s.....xxx [ 95%]
....x......................s...s....s...s.ss [ 98%]
testing/cffi1/test_zdist.py ....................... [ 99%]
testing/embedding/test_basic.py ..... [ 99%]
testing/embedding/test_performance.py ..... [ 99%]
testing/embedding/test_recursive.py . [ 99%]
testing/embedding/test_thread.py .... [ 99%]
testing/embedding/test_tlocal.py . [100%]

=============================== warnings summary ===============================
src/c/test_c.py::test_callback_return_type
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_callback_return_type.<locals>.cb at 0x7fa9967939c0>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/c/test_c.py", line 1453, in test_callback_return_type
assert f(max) == 42
^^^^^^
OverflowError: int too big to convert

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

src/c/test_c.py::test_callback_returning_wchar_t
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_callback_returning_wchar_t.<locals>.cb at 0x7fa9960b84a0>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/c/test_c.py", line 1748, in cb
raise ValueError
ValueError

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

src/c/test_c.py::test_cast_with_functionptr
/<<PKGBUILDDIR>>/src/c/test_c.py:2166: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
newp(BStructPtr, [cast(BCharP, 0)])

testing/cffi0/test_ffi_backend.py::TestFFI::test_callback_crash
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function BackendTests.test_callback_crash.<locals>.cb at 0x7fa9963fba60>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi0/backend_tests.py", line 848, in cb
raise Exception
Exception

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi0/test_ffi_backend.py::TestFFI::test_callback_decorator
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function BackendTests.test_callback_decorator.<locals>.cb at 0x7fa995b30680>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi0/backend_tests.py", line 1390, in test_callback_decorator
assert cb((1 << (sz*8-1)) - 1, -10) == 42
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: int too big to convert

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi0/test_parsing.py::test_missing_newline_bug
/<<PKGBUILDDIR>>/src/c/../cffi/cparser.py:436: UserWarning: #pragma in cdef() are entirely ignored. They should be removed for now, otherwise your code might behave differently in a future version of CFFI if #pragma support gets added. Note that '#pragma pack' needs to be replaced with the 'packed' keyword argument to cdef().
warnings.warn(

testing/cffi1/test_ffi_obj.py::test_ffi_callback
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_ffi_callback.<locals>.<lambda> at 0x7fa996ec5080>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_ffi_obj.py", line 130, in <lambda>
assert ffi.callback("int(int)", lambda x: x + "", error=-66)(10) == -66
~~^~~~
TypeError: unsupported operand type(s) for +: 'int' and 'str'

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_ffi_obj.py::test_ffi_callback_decorator
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_ffi_callback_decorator.<locals>.<lambda> at 0x7fa995f89260>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_ffi_obj.py", line 136, in <lambda>
assert deco(lambda x: x + "")(10) == -66
~~^~~~
TypeError: unsupported operand type(s) for +: 'int' and 'str'

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_crash
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function TestNewFFI1.test_callback_crash.<locals>.cb at 0x7fa998f1df80>: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_new_ffi_1.py", line 863, in cb
raise Exception
Exception

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_decorator
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function TestNewFFI1.test_callback_decorator.<locals>.cb at 0x7fa998f1fec0>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testing/cffi1/test_new_ffi_1.py", line 1341, in test_callback_decorator
assert cb((1 << (sz*8-1)) - 1, -10) == 42
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: int too big to convert

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

testing/cffi1/test_recompiler.py::test_macro_var_callback
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_macro_var_callback.<locals>.get_my_value at 0x7fa996646fc0>, trying to convert the result back to C: None

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/_pytest/python_api.py", line 976, in raises
func(*args[1:], **kwargs)
TypeError: initializer for ctype 'int *' must be a cdata pointer, not str

warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===== 1955 passed, 94 skipped, 4 xfailed, 11 warnings in 213.50s (0:03:33) =====
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13
make[1]: *** [debian/rules:17: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.
Stefano Rivera
2024-12-21 15:20:01 UTC
Reply
Permalink
Control: reassign -1 python3.13
Control: found -1 python3.13/3.13.1-2
Control: affects -1 src:python-cffi
Control: forwarded -1 https://github.com/python/cpython/issues/128030
Control: tag -1 + patch fixed-upstream

This was a cPython regression and will be fixed in python3.13.

Stefano

Loading...