-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
Description
Description
Building wheel for pyvex (pyproject.toml): started
Building wheel for pyvex (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for pyvex (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [98 lines of output]
*** scikit-build-core 0.11.6 using CMake 3.31.10 (wheel)
*** Configuring CMake...
loading initial cache file scikit_build/CMakeInit.txt
-- The C compiler identification is GNU 16.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/gcc-latest/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/scikit_build
*** Building project with Ninja...
[1/61] Building C object CMakeFiles/genoffsets.dir/vex/auxprogs/genoffsets.c.o
[2/61] Linking C executable vex/auxprogs/genoffsets
[3/61] Generating pub/libvex_guest_offsets.h
[4/61] Building C object CMakeFiles/vex.dir/vex/priv/main_globals.c.o
[5/61] Building C object CMakeFiles/vex.dir/vex/priv/ir_match.c.o
[6/61] Building C object CMakeFiles/vex.dir/vex/priv/ir_inject.c.o
[7/61] Building C object CMakeFiles/vex.dir/vex/priv/host_arm_isel.c.o
[8/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_maddf.c.o
[9/61] Building C object CMakeFiles/vex.dir/vex/priv/s390_disasm.c.o
[10/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_simd256.c.o
[11/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_regs.c.o
[12/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_simd128.c.o
[13/61] Building C object CMakeFiles/vex.dir/vex/priv/main_util.c.o
[14/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_reg_alloc3.c.o
[15/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_simd64.c.o
[16/61] Building C object CMakeFiles/vex.dir/vex/priv/host_generic_reg_alloc2.c.o
[17/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_generic_bb_to_IR.c.o
[18/61] Building C object CMakeFiles/vex.dir/vex/priv/host_riscv64_defs.c.o
[19/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_arm_helpers.c.o
[20/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_generic_x87.c.o
[21/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_riscv64_helpers.c.o
[22/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_mips_helpers.c.o
[23/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_s390_helpers.c.o
[24/61] Building C object CMakeFiles/vex.dir/vex/priv/host_amd64_defs.c.o
[25/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_arm64_helpers.c.o
[26/61] Building C object CMakeFiles/vex.dir/vex/priv/host_x86_defs.c.o
[27/61] Building C object CMakeFiles/vex.dir/vex/priv/host_riscv64_isel.c.o
[28/61] Building C object CMakeFiles/vex.dir/vex/priv/ir_defs.c.o
[29/61] Building C object CMakeFiles/vex.dir/vex/priv/host_arm_defs.c.o
[30/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_ppc_helpers.c.o
[31/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_x86_helpers.c.o
[32/61] Building C object CMakeFiles/vex.dir/vex/priv/host_s390_isel.c.o
[33/61] Copying vex/pub to pyvex/include/
[34/61] Copying pyvex_c/pyvex.h to pyvex/include/
[35/61] Generating pyvex/vex_ffi.py using make_ffi.py
FAILED: [code=1] /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/pyvex/vex_ffi.py
cd /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3 && /usr/bin/cmake -E env /home/cc/venv/bin/python3.15t /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/make_ffi.py /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/pub
Traceback (most recent call last):
File "/tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/make_ffi.py", line 149, in <module>
doit(sys.argv[1])
~~~~^^^^^^^^^^^^^
File "/tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/make_ffi.py", line 125, in doit
good = find_good_scan(ffi_lines)
File "/tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/make_ffi.py", line 20, in find_good_scan
ffi = cffi.FFI()
File "/tmp/pip-build-env-gqgzs_62/overlay/lib64/python3.15t/site-packages/cffi/api.py", line 48, in __init__
import _cffi_backend as backend
ImportError: /tmp/pip-build-env-gqgzs_62/overlay/lib64/python3.15t/site-packages/_cffi_backend.cpython-315t-x86_64-linux-gnu.so: undefined symbol: _PyByteArray_empty_string
[36/61] Building C object CMakeFiles/vex.dir/vex/priv/host_mips_defs.c.o
[37/61] Building C object CMakeFiles/vex.dir/vex/priv/host_arm64_defs.c.o
[38/61] Building C object CMakeFiles/vex.dir/vex/priv/host_mips_isel.c.o
[39/61] Building C object CMakeFiles/vex.dir/vex/priv/multiarch_main_main.c.o
[40/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_amd64_helpers.c.o
[41/61] Building C object CMakeFiles/vex.dir/vex/priv/host_amd64_isel.c.o
[42/61] Building C object CMakeFiles/vex.dir/vex/priv/host_x86_isel.c.o
[43/61] Building C object CMakeFiles/vex.dir/vex/priv/host_arm64_isel.c.o
[44/61] Building C object CMakeFiles/vex.dir/vex/priv/ir_opt.c.o
[45/61] Building C object CMakeFiles/vex.dir/vex/priv/host_ppc_defs.c.o
[46/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_riscv64_toIR.c.o
In file included from /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/priv/main_globals.h:41,
from /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/priv/guest_riscv64_toIR.c:60:
/tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/priv/main_util.h:44:9: warning: ‘NULL’ redefined
44 | #define NULL ((void*)0)
| ^~~~
In file included from /usr/include/stdio.h:38,
from /tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/priv/guest_riscv64_toIR.c:55:
/opt/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/16.0.0/include/stddef.h:419:9: note: this is the location of the previous definition
419 | #define NULL ((void *)0)
| ^~~~
[47/61] Building C object CMakeFiles/vex.dir/vex/priv/host_ppc_isel.c.o
[48/61] Building C object CMakeFiles/vex.dir/vex/priv/host_s390_defs.c.o
[49/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_x86_toIR.c.o
[50/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_arm64_toIR.c.o
[51/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_s390_toIR.c.o
/tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/priv/guest_s390_toIR.c: In function ‘s390_irgen_EXRL’:
/tmp/pip-install-ebbs892e/pyvex_256bb39ae0764749bd9fa3d9c0f13cf3/vex/priv/guest_s390_toIR.c:13064:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
13064 | UChar *bytes = exrl_bytes + offset * 2UL;
| ^~~~~~~~~~
[52/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_ppc_toIR.c.o
[53/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_amd64_toIR.c.o
[54/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_arm_toIR.c.o
[55/61] Building C object CMakeFiles/vex.dir/vex/priv/guest_mips_toIR.c.o
ninja: build stopped: subcommand failed.
*** CMake build failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyvex
Failed to build pyvex
error: failed-wheel-build-for-install
Steps to reproduce the bug
No response
Environment
No response
Additional context
No response
Reactions are currently unavailable