+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_xiaomihome + echo 1 + echo 2 + sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease Reading package lists... Building dependency tree... Reading state information... 4 packages can be upgraded. Run 'apt list --upgradable' to see them. + sudo apt-get install -y python3 python3-pip python3-dev python3-venv Reading package lists... Building dependency tree... Reading state information... python3 is already the newest version (3.11.2-1+b1). python3-pip is already the newest version (23.0.1+dfsg-1+rpt1). python3-dev is already the newest version (3.11.2-1+b1). python3-venv is already the newest version (3.11.2-1+b1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. + echo 3 + sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv + echo 4 + sudo /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: pip in ./html/plugins/xiaomihome/resources/python_venv/lib/python3.11/site-packages (25.3) Requirement already satisfied: wheel in ./html/plugins/xiaomihome/resources/python_venv/lib/python3.11/site-packages (0.45.1) + echo 5 + sudo /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pycrypto Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pycrypto Using cached pycrypto-2.6.1.tar.gz (446 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pycrypto Building wheel for pycrypto (pyproject.toml): started Building wheel for pycrypto (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for pycrypto (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [84 lines of output] /tmp/pip-build-env-_s3a7r57/overlay/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: Public Domain See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for __gmpz_init in -lgmp... yes checking for __gmpz_init in -lmpir... no checking whether mpz_powm is declared... yes checking whether mpz_powm_sec is declared... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memmove... yes checking for memset... yes configure: creating ./config.status config.status: creating src/config.h In file included from /usr/include/python3.11/Python.h:86, from src/_fastmath.c:31: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 208 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 213 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 217 | PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ src/_fastmath.c:33:10: fatal error: longintrepr.h: No such file or directory 33 | #include /* for conversions */ | ^~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-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 pycrypto Failed to build pycrypto error: failed-wheel-build-for-install × Failed to build installable wheels for some pyproject.toml based projects ╰─> pycrypto + echo 6 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome + echo 7 + rm /tmp/jeedom_install_in_progress_xiaomihome + echo '*******************End of package installation******************' *******************End of package installation******************