far2l
far2l copied to clipboard
far2l does not build with python on ubuntu 24.04 lts
I have tried last release 2.6.3, it did not build due to some xerces error I have tried master, and it fails to build
Building wheels for collected packages: cffi, pycparser
Building wheel for cffi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cffi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [59 lines of output]
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'virtual:world', not found
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/cffi
copying src/cffi/cparser.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/__init__.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/pkgconfig.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/_imp_emulation.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/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/ffiplatform.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/vengine_cpy.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/setuptools_ext.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/backend_ctypes.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/_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
creating build/temp.linux-x86_64-cpython-312/src
creating build/temp.linux-x86_64-cpython-312/src/c
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/home/yaroslav/app/far2l/_build/python/python/include -I/usr/includ
e/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:15:10: fatal error: ffi.h: No such file or directory
15 | #include <ffi.h>
| ^~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Building wheel for pycparser (pyproject.toml) ... done
Created wheel for pycparser: filename=pycparser-2.22-py3-none-any.whl size=117551 sha256=d01d869e00d8365b7bb830598d8c24ce87aeff684b3f5129d750ea7eb5f67821
Stored in directory: /home/yaroslav/.cache/pip/wheels/36/53/17/c0ae2e096d359a9a8faf47fd7ded8f4c878af41a3c66cb5199
Successfully built pycparser
Failed to build cffi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)
gmake[2]: *** [python/CMakeFiles/python.dir/build.make:80: python/incpy/far2lcffi.py] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1334: python/CMakeFiles/python.dir/all] ERror 2
gmake: *** [Makefile:156: all] Error 2