av build fails from develop branch.
Output:
STDOUT:
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- cython>=3.1.0,<4
- setuptools>=77.0
* Getting build dependencies for wheel...
Compiling av/filter/loudnorm.py because it changed.
[1/1] Cythonizing av/filter/loudnorm.py
Compiling av/frame.py because it changed.
[1/1] Cythonizing av/frame.py
Compiling av/option.py because it changed.
[1/1] Cythonizing av/option.py
Compiling av/dictionary.py because it changed.
[1/1] Cythonizing av/dictionary.py
Compiling av/packet.py because it changed.
[1/1] Cythonizing av/packet.py
Compiling av/index.py because it changed.
[1/1] Cythonizing av/index.py
Compiling av/bitstream.py because it changed.
[1/1] Cythonizing av/bitstream.py
Compiling av/opaque.py because it changed.
[1/1] Cythonizing av/opaque.py
Compiling av/descriptor.py because it changed.
[1/1] Cythonizing av/descriptor.py
Compiling av/error.py because it changed.
[1/1] Cythonizing av/error.py
Compiling av/stream.py because it changed.
[1/1] Cythonizing av/stream.py
Compiling av/format.py because it changed.
[1/1] Cythonizing av/format.py
Compiling av/device.py because it changed.
[1/1] Cythonizing av/device.py
Compiling av/logging.py because it changed.
[1/1] Cythonizing av/logging.py
Compiling av/plane.py because it changed.
[1/1] Cythonizing av/plane.py
Compiling av/utils.py because it changed.
[1/1] Cythonizing av/utils.py
Compiling av/buffer.py because it changed.
[1/1] Cythonizing av/buffer.py
Compiling av/_core.py because it changed.
[1/1] Cythonizing av/_core.py
Compiling av/container/streams.py because it changed.
[1/1] Cythonizing av/container/streams.py
Compiling av/container/output.py because it changed.
[1/1] Cythonizing av/container/output.py
Compiling av/container/pyio.py because it changed.
[1/1] Cythonizing av/container/pyio.py
Error compiling Cython file:
------------------------------------------------------------
...
if (
self.fseek is not None
and self.ftell is not None
and (seekable is None or seekable())
):
seek_func: seek_func_t = pyio_seek
^
------------------------------------------------------------
av/container/pyio.py:40:12: 'seek_func' redeclared
Traceback (most recent call last):
File "/home/somnath/codes/git/my-org/image-to-animation-offline/kivy/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/home/somnath/codes/git/my-org/image-to-animation-offline/kivy/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/somnath/codes/git/my-org/image-to-animation-offline/kivy/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/build-env-eu0duayz/lib/python3.14/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-eu0duayz/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/build-env-eu0duayz/lib/python3.14/site-packages/setuptools/build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-eu0duayz/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 193, in <module>
File "/tmp/build-env-eu0duayz/lib/python3.14/site-packages/Cython/Build/Dependencies.py", line 1153, in cythonize
cythonize_one(*args)
~~~~~~~~~~~~~^^^^^^^
File "/tmp/build-env-eu0duayz/lib/python3.14/site-packages/Cython/Build/Dependencies.py", line 1264, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: av/container/pyio.py
TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
Please let me know if you need further details from me.
avbuild fails fromdevelopbranch.Output:
Please let me know if you need further details from me.