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_ext building 'gmpy2' extension creating build creating build/temp.-cpython-310 creating build/temp.-cpython-310/src arm-openwrt-linux-muslgnueabi-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-arm_cortex-a15+neon-vfpv4_musl_eabi/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-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/gmpy2-2.0.8=gmpy2-2.0.8 -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-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/python3.10 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c src/gmpy2.c -o build/temp.-cpython-310/src/gmpy2.o In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from src/gmpy2.c:404: /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 src/gmpy2.c:426: src/gmpy.h:226: warning: "Py_RETURN_NOTIMPLEMENTED" redefined 226 | #define Py_RETURN_NOTIMPLEMENTED\ | In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:74: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/object.h:623: note: this is the location of the previous definition 623 | #define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented) | In file included from src/gmpy2.c:509: src/mpz_pylong.c: In function 'mpn_sizebits': src/mpz_pylong.c:55:10: warning: right shift count >= width of type [-Wshift-count-overflow] 55 | if ((x >> 32) != 0) { x >>= 32; cnt += 32; } | ^~ src/mpz_pylong.c:55:27: warning: right shift count >= width of type [-Wshift-count-overflow] 55 | if ((x >> 32) != 0) { x >>= 32; cnt += 32; } | ^~~ src/mpz_pylong.c: In function 'mpn_pythonhash': src/mpz_pylong.c:225:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (bit_pos <= 8*sizeof(mp_limb_t)) | ^~ In file included from src/gmpy2.c:541: src/gmpy_mpmath.c: In function 'Pympz_mpmath_normalize': src/gmpy_mpmath.c:103:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 103 | rnd = Py2or3String_AsString(rndstr)[0]; | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/unicodeobject.h:1046, from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:83: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c:160:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'mpir_si' {aka 'long int'} [-Wsign-compare] 160 | if (mpz_sizeinbase(lower->z, 2) == shift) { | ^~ src/gmpy_mpmath.c:162:52: warning: comparison of integer expressions of different signedness: 'mp_bitcnt_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 162 | if (mpz_scan1(lower->z, 0) == shift-1) { | ^~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_create': src/gmpy_mpmath.c:246:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 246 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 3)); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c:314:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'mpir_si' {aka 'long int'} [-Wsign-compare] 314 | if (mpz_sizeinbase(lower->z, 2)==shift) { | ^~ src/gmpy_mpmath.c:316:51: warning: comparison of integer expressions of different signedness: 'mp_bitcnt_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 316 | if (mpz_scan1(lower->z, 0)==shift-1) { | ^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:77: src/gmpy_mpz.c: In function 'Pympz_hash': /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyhash.h:30:37: warning: left shift count >= width of type [-Wshift-count-overflow] 30 | #define _PyHASH_MODULUS (((size_t)1 << _PyHASH_BITS) - 1) | ^~ src/gmpy_mpz.c:1217:68: note: in expansion of macro '_PyHASH_MODULUS' 1217 | hash = (Py_hash_t)mpn_mod_1(self->z->_mp_d, mpz_size(self->z), _PyHASH_MODULUS); | ^~~~~~~~~~~~~~~ src/gmpy_mpq.c: In function 'Pympq_hash': /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyhash.h:30:37: warning: left shift count >= width of type [-Wshift-count-overflow] 30 | #define _PyHASH_MODULUS (((size_t)1 << _PyHASH_BITS) - 1) | ^~ src/gmpy_mpq.c:676:62: note: in expansion of macro '_PyHASH_MODULUS' 676 | hash = (Py_hash_t)mpn_mod_1(temp->_mp_d, mpz_size(temp), _PyHASH_MODULUS); | ^~~~~~~~~~~~~~~ error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc' failed with exit code 1 make[3]: *** [Makefile:54: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/gmpy2-2.0.8/.built] Error 1 time: package/feeds/packages/python-gmpy2/compile#1.85#0.44#3.21