/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.-cpython-310 creating build/lib.-cpython-310/cffi copying cffi/cparser.py -> build/lib.-cpython-310/cffi copying cffi/verifier.py -> build/lib.-cpython-310/cffi copying cffi/commontypes.py -> build/lib.-cpython-310/cffi copying cffi/lock.py -> build/lib.-cpython-310/cffi copying cffi/vengine_cpy.py -> build/lib.-cpython-310/cffi copying cffi/cffi_opcode.py -> build/lib.-cpython-310/cffi copying cffi/model.py -> build/lib.-cpython-310/cffi copying cffi/backend_ctypes.py -> build/lib.-cpython-310/cffi copying cffi/setuptools_ext.py -> build/lib.-cpython-310/cffi copying cffi/error.py -> build/lib.-cpython-310/cffi copying cffi/recompiler.py -> build/lib.-cpython-310/cffi copying cffi/pkgconfig.py -> build/lib.-cpython-310/cffi copying cffi/api.py -> build/lib.-cpython-310/cffi copying cffi/vengine_gen.py -> build/lib.-cpython-310/cffi copying cffi/__init__.py -> build/lib.-cpython-310/cffi copying cffi/ffiplatform.py -> build/lib.-cpython-310/cffi copying cffi/_cffi_include.h -> build/lib.-cpython-310/cffi copying cffi/parse_c_type.h -> build/lib.-cpython-310/cffi copying cffi/_embedding.h -> build/lib.-cpython-310/cffi copying cffi/_cffi_errors.h -> build/lib.-cpython-310/cffi warning: build_py: byte-compiling is disabled, skipping. running build_ext building '_cffi_backend' extension creating build/temp.-cpython-310 creating build/temp.-cpython-310/c arc-openwrt-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/include -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/include -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/cffi-1.15.0=cffi-1.15.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include/python3.10 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c c/_cffi_backend.c -o build/temp.-cpython-310/c/_cffi_backend.o In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from c/_cffi_backend.c:2: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from c/_cffi_backend.c:15: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/ffi.h:20:2: error: #error "Unsupported Architecture" 20 | #error "Unsupported Architecture" | ^~~~~ In file included from c/malloc_closure.h:6, from c/_cffi_backend.c:121: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/ffi.h:20:2: error: #error "Unsupported Architecture" 20 | #error "Unsupported Architecture" | ^~~~~ In file included from c/_cffi_backend.c:121: c/malloc_closure.h:81:5: error: unknown type name 'ffi_closure' 81 | ffi_closure closure; | ^~~~~~~~~~~ c/malloc_closure.h:158:31: error: unknown type name 'ffi_closure' 158 | static void cffi_closure_free(ffi_closure *p) | ^~~~~~~~~~~ c/malloc_closure.h:166:8: error: unknown type name 'ffi_closure' 166 | static ffi_closure *cffi_closure_alloc(void) | ^~~~~~~~~~~ c/_cffi_backend.c:336:5: error: unknown type name 'ffi_closure' 336 | ffi_closure *closure; | ^~~~~~~~~~~ c/_cffi_backend.c:340:5: error: unknown type name 'ffi_cif' 340 | ffi_cif cif; | ^~~~~~~ c/_cffi_backend.c: In function 'cdataowninggc_dealloc': c/_cffi_backend.c:1922:9: error: unknown type name 'ffi_closure' 1922 | ffi_closure *closure = ((CDataObject_closure *)cd)->closure; | ^~~~~~~~~~~ c/_cffi_backend.c:1923:46: error: request for member 'user_data' in something not a structure or union 1923 | PyObject *args = (PyObject *)(closure->user_data); | ^~ c/_cffi_backend.c:1930:13: warning: implicit declaration of function 'cffi_closure_free'; did you mean 'cffi_closure_alloc'? [-Wimplicit-function-declaration] 1930 | cffi_closure_free(closure); | ^~~~~~~~~~~~~~~~~ | cffi_closure_alloc c/_cffi_backend.c: In function 'cdataowninggc_traverse': c/_cffi_backend.c:1954:9: error: unknown type name 'ffi_closure' 1954 | ffi_closure *closure = ((CDataObject_closure *)cd)->closure; | ^~~~~~~~~~~ c/_cffi_backend.c:1955:46: error: request for member 'user_data' in something not a structure or union 1955 | PyObject *args = (PyObject *)(closure->user_data); | ^~ c/_cffi_backend.c: In function 'cdataowninggc_clear': c/_cffi_backend.c:1978:9: error: unknown type name 'ffi_closure' 1978 | ffi_closure *closure = ((CDataObject_closure *)cd)->closure; | ^~~~~~~~~~~ c/_cffi_backend.c:1979:46: error: request for member 'user_data' in something not a structure or union 1979 | PyObject *args = (PyObject *)(closure->user_data); | ^~ c/_cffi_backend.c:1980:16: error: request for member 'user_data' in something not a structure or union 1980 | closure->user_data = NULL; | ^~ c/_cffi_backend.c: In function 'cdataowninggc_repr': c/_cffi_backend.c:2222:9: error: unknown type name 'ffi_closure' 2222 | ffi_closure *closure = ((CDataObject_closure *)cd)->closure; | ^~~~~~~~~~~ c/_cffi_backend.c:2223:45: error: request for member 'user_data' in something not a structure or union 2223 | PyObject *args = (PyObject *)closure->user_data; | ^~ c/_cffi_backend.c: At top level: c/_cffi_backend.c:2928:65: error: unknown type name 'ffi_abi' 2928 | fb_prepare_cif(PyObject *fargs, CTypeDescrObject *, Py_ssize_t, ffi_abi); | ^~~~~~~ c/_cffi_backend.c: In function 'cdata_call': c/_cffi_backend.c:3076:9: error: unknown type name 'ffi_abi' 3076 | ffi_abi fabi; | ^~~~~~~ c/_cffi_backend.c:3122:21: warning: implicit declaration of function 'fb_prepare_cif' [-Wimplicit-function-declaration] 3122 | cif_descr = fb_prepare_cif(fvarargs, fresult, nargs_declared, fabi); | ^~~~~~~~~~~~~~ c/_cffi_backend.c:3122:19: warning: assignment to 'cif_description_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3122 | cif_descr = fb_prepare_cif(fvarargs, fresult, nargs_declared, fabi); | ^ c/_cffi_backend.c:3186:5: warning: implicit declaration of function 'ffi_call' [-Wimplicit-function-declaration] 3186 | ffi_call(&cif_descr->cif, (void (*)(void))(cd->c_data), | ^~~~~~~~ c/_cffi_backend.c: In function 'new_primitive_type': c/_cffi_backend.c:4741:5: error: unknown type name 'ffi_type' 4741 | ffi_type *ffitype; | ^~~~~~~~ c/_cffi_backend.c:4759:28: error: 'ffi_type_sint8' undeclared (first use in this function) 4759 | case 1: ffitype = &ffi_type_sint8; break; | ^~~~~~~~~~~~~~ c/_cffi_backend.c:4759:28: note: each undeclared identifier is reported only once for each function it appears in c/_cffi_backend.c:4760:28: error: 'ffi_type_sint16' undeclared (first use in this function) 4760 | case 2: ffitype = &ffi_type_sint16; break; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:4761:28: error: 'ffi_type_sint32' undeclared (first use in this function) 4761 | case 4: ffitype = &ffi_type_sint32; break; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:4762:28: error: 'ffi_type_sint64' undeclared (first use in this function) 4762 | case 8: ffitype = &ffi_type_sint64; break; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:4768:24: error: 'ffi_type_float' undeclared (first use in this function) 4768 | ffitype = &ffi_type_float; | ^~~~~~~~~~~~~~ c/_cffi_backend.c:4770:24: error: 'ffi_type_double' undeclared (first use in this function) 4770 | ffitype = &ffi_type_double; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:4778:28: error: 'ffi_type_longdouble' undeclared (first use in this function) 4778 | ffitype = &ffi_type_longdouble; | ^~~~~~~~~~~~~~~~~~~ c/_cffi_backend.c:4792:28: error: 'ffi_type_uint8' undeclared (first use in this function) 4792 | case 1: ffitype = &ffi_type_uint8; break; | ^~~~~~~~~~~~~~ c/_cffi_backend.c:4793:28: error: 'ffi_type_uint16' undeclared (first use in this function) 4793 | case 2: ffitype = &ffi_type_uint16; break; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:4794:28: error: 'ffi_type_uint32' undeclared (first use in this function) 4794 | case 4: ffitype = &ffi_type_uint32; break; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:4795:28: error: 'ffi_type_uint64' undeclared (first use in this function) 4795 | case 8: ffitype = &ffi_type_uint64; break; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c: At top level: c/_cffi_backend.c:5488:5: error: unknown type name 'ffi_type' 5488 | ffi_type **atypes; | ^~~~~~~~ c/_cffi_backend.c:5489:5: error: unknown type name 'ffi_type' 5489 | ffi_type *rtype; | ^~~~~~~~ c/_cffi_backend.c:5513:8: error: unknown type name 'ffi_type' 5513 | static ffi_type *fb_unsupported(CTypeDescrObject *ct, const char *place, | ^~~~~~~~ c/_cffi_backend.c:5523:8: error: unknown type name 'ffi_type' 5523 | static ffi_type *fb_fill_type(struct funcbuilder_s *fb, CTypeDescrObject *ct, | ^~~~~~~~ c/_cffi_backend.c: In function 'fb_fill_type': c/_cffi_backend.c:5529:17: error: 'ffi_type' undeclared (first use in this function) 5529 | return (ffi_type *)ct->ct_extra; | ^~~~~~~~ c/_cffi_backend.c:5529:27: error: expected expression before ')' token 5529 | return (ffi_type *)ct->ct_extra; | ^ c/_cffi_backend.c:5532:17: error: 'ffi_type_pointer' undeclared (first use in this function) 5532 | return &ffi_type_pointer; | ^~~~~~~~~~~~~~~~ c/_cffi_backend.c:5535:17: error: 'ffi_type_void' undeclared (first use in this function) 5535 | return &ffi_type_void; | ^~~~~~~~~~~~~ c/_cffi_backend.c:5546:19: error: 'ffistruct' undeclared (first use in this function) 5546 | ffi_type *ffistruct, *ffifield; | ^~~~~~~~~ c/_cffi_backend.c:5546:31: error: 'ffifield' undeclared (first use in this function) 5546 | ffi_type *ffistruct, *ffifield; | ^~~~~~~~ c/_cffi_backend.c:5546:28: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5546 | ffi_type *ffistruct, *ffifield; | ^ c/_cffi_backend.c:5547:20: error: 'elements' undeclared (first use in this function) 5547 | ffi_type **elements; | ^~~~~~~~ c/_cffi_backend.c:5615:63: error: expected expression before ')' token 5615 | elements = fb_alloc(fb, (nflat + 1) * sizeof(ffi_type*)); | ^ c/_cffi_backend.c:5641:31: error: 'FFI_TYPE_STRUCT' undeclared (first use in this function) 5641 | ffistruct->type = FFI_TYPE_STRUCT; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c: In function 'fb_build': c/_cffi_backend.c:5682:46: error: 'ffi_type' undeclared (first use in this function) 5682 | fb->atypes = fb_alloc(fb, nargs * sizeof(ffi_type*)); | ^~~~~~~~ c/_cffi_backend.c:5682:55: error: expected expression before ')' token 5682 | fb->atypes = fb_alloc(fb, nargs * sizeof(ffi_type*)); | ^ c/_cffi_backend.c:5697:22: error: request for member 'size' in something not a structure or union 5697 | i = fb->rtype->size; | ^~ c/_cffi_backend.c:5698:36: error: 'ffi_arg' undeclared (first use in this function) 5698 | if (i < (Py_ssize_t)sizeof(ffi_arg)) | ^~~~~~~ c/_cffi_backend.c:5708:19: error: 'atype' undeclared (first use in this function); did you mean 'dl_type'? 5708 | ffi_type *atype; | ^~~~~ | dl_type c/_cffi_backend.c: At top level: c/_cffi_backend.c:5855:42: error: unknown type name 'ffi_abi' 5855 | ffi_abi fabi) | ^~~~~~~ c/_cffi_backend.c: In function 'new_function_type': c/_cffi_backend.c:5945:19: warning: assignment to 'cif_description_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5945 | cif_descr = fb_prepare_cif(fargs, fresult, -1, fabi); | ^ c/_cffi_backend.c: In function 'b_new_function_type': c/_cffi_backend.c:5996:30: error: 'FFI_DEFAULT_ABI' undeclared (first use in this function) 5996 | int ellipsis = 0, fabi = FFI_DEFAULT_ABI; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c: In function 'convert_from_object_fficallback': c/_cffi_backend.c:6016:45: error: 'ffi_arg' undeclared (first use in this function) 6016 | if (ctype->ct_size < (Py_ssize_t)sizeof(ffi_arg)) { | ^~~~~~~ c/_cffi_backend.c: At top level: c/_cffi_backend.c:6259:29: error: unknown type name 'ffi_cif' 6259 | static void invoke_callback(ffi_cif *cif, void *result, void **args, | ^~~~~~~ c/_cffi_backend.c: In function 'prepare_callback_info_tuple': c/_cffi_backend.c:6301:35: error: 'ffi_arg' undeclared (first use in this function) 6301 | if (size < (Py_ssize_t)sizeof(ffi_arg)) | ^~~~~~~ c/_cffi_backend.c: In function 'b_callback': c/_cffi_backend.c:6347:5: error: unknown type name 'ffi_closure' 6347 | ffi_closure *closure; | ^~~~~~~~~~~ c/_cffi_backend.c:6348:5: error: unknown type name 'ffi_status' 6348 | ffi_status status; | ^~~~~~~~~~ c/_cffi_backend.c:6385:12: error: request for member 'user_data' in something not a structure or union 6385 | closure->user_data = NULL; | ^~ c/_cffi_backend.c:6408:18: warning: implicit declaration of function 'ffi_prep_closure' [-Wimplicit-function-declaration] 6408 | status = ffi_prep_closure(closure, &cif_descr->cif, | ^~~~~~~~~~~~~~~~ c/_cffi_backend.c:6409:35: error: 'invoke_callback' undeclared (first use in this function) 6409 | invoke_callback, infotuple); | ^~~~~~~~~~~~~~~ c/_cffi_backend.c:6413:19: error: 'FFI_OK' undeclared (first use in this function); did you mean 'F_OK'? 6413 | if (status != FFI_OK) { | ^~~~~~ | F_OK c/_cffi_backend.c:6419:16: error: request for member 'user_data' in something not a structure or union 6419 | if (closure->user_data != infotuple) { | ^~ c/_cffi_backend.c:6437:12: error: request for member 'user_data' in something not a structure or union 6437 | closure->user_data = NULL; | ^~ In file included from c/cffi1_module.c:3, from c/_cffi_backend.c:7939: c/realize_c_type.c: In function 'realize_c_type_or_func_now': c/realize_c_type.c:577:19: error: 'FFI_DEFAULT_ABI' undeclared (first use in this function) 577 | abi = FFI_DEFAULT_ABI; | ^~~~~~~~~~~~~~~ c/_cffi_backend.c: In function 'PyInit__cffi_backend': c/_cffi_backend.c:8045:55: error: 'FFI_DEFAULT_ABI' undeclared (first use in this function) 8045 | if (PyModule_AddIntConstant(m, "FFI_DEFAULT_ABI", FFI_DEFAULT_ABI) < 0 || | ^~~~~~~~~~~~~~~ At top level: c/_cffi_backend.c:5670:12: warning: 'fb_build' defined but not used [-Wunused-function] 5670 | static int fb_build(struct funcbuilder_s *fb, PyObject *fargs, | ^~~~~~~~ error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/arc-openwrt-linux-gnu-gcc' failed with exit code 1 make[3]: *** [Makefile:47: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/cffi-1.15.0/.built] Error 1 time: package/feeds/packages/python-cffi/compile#1.85#0.26#2.71