2023-03-28T09:28:21,331 Created temporary directory: /tmp/pip-ephem-wheel-cache-nyl7ew4u 2023-03-28T09:28:21,334 Created temporary directory: /tmp/pip-build-tracker-i11cfvip 2023-03-28T09:28:21,334 Initialized build tracking at /tmp/pip-build-tracker-i11cfvip 2023-03-28T09:28:21,335 Created build tracker: /tmp/pip-build-tracker-i11cfvip 2023-03-28T09:28:21,335 Entered build tracker: /tmp/pip-build-tracker-i11cfvip 2023-03-28T09:28:21,335 Created temporary directory: /tmp/pip-wheel-zvcrn2in 2023-03-28T09:28:21,340 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-28T09:28:21,343 Created temporary directory: /tmp/pip-ephem-wheel-cache-h10c3_ik 2023-03-28T09:28:21,372 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-28T09:28:21,376 2 location(s) to search for versions of llama-cpp-python: 2023-03-28T09:28:21,376 * https://pypi.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,376 * https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,376 Fetching project page and analyzing links: https://pypi.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,377 Getting page https://pypi.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,378 Found index url https://pypi.org/simple 2023-03-28T09:28:21,445 Fetched page https://pypi.org/simple/llama-cpp-python/ as application/vnd.pypi.simple.v1+json 2023-03-28T09:28:21,449 Found link https://files.pythonhosted.org/packages/17/9c/813d8c83d81cb9ab42e5ee66657f8d3670bacdcd67df4aa7728e8dccbcfd/llama_cpp_python-0.1.1.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.1 2023-03-28T09:28:21,449 Found link https://files.pythonhosted.org/packages/42/22/07711b8fc85ed188182c923aa424254a451ee23a58d6c45a033e05e57f9a/llama_cpp_python-0.1.2.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.2 2023-03-28T09:28:21,450 Found link https://files.pythonhosted.org/packages/13/a2/a3a6e665905992e2ed2c79b7af2dce4a36f23c5147959f0f56d9bd72543c/llama_cpp_python-0.1.3.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.3 2023-03-28T09:28:21,450 Found link https://files.pythonhosted.org/packages/00/b6/3069b31e8cd0073685aa059e161e4b8dc3a4e3c77c4f8f433fa5ebc01655/llama_cpp_python-0.1.4.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.4 2023-03-28T09:28:21,451 Found link https://files.pythonhosted.org/packages/cd/32/e2380800128e64542f719c3d7287b2818e7234e268298b95273164cb0a3d/llama_cpp_python-0.1.5.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.5 2023-03-28T09:28:21,451 Found link https://files.pythonhosted.org/packages/9f/d3/9904d8616a5af9515b8852c441472c930b780db1879f13cae240bd4eb05f/llama_cpp_python-0.1.6.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.6 2023-03-28T09:28:21,451 Found link https://files.pythonhosted.org/packages/20/ff/c192e4469e14be86d3b11fdee4b56aca486033e4256174e2cf8425840e54/llama_cpp_python-0.1.7.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.7 2023-03-28T09:28:21,452 Found link https://files.pythonhosted.org/packages/7e/3b/b5f7e1ec5f43a4e980733c63bd4f05e1b7e14fd3b7aa72d9ca91f2415323/llama_cpp_python-0.1.8.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.8 2023-03-28T09:28:21,452 Found link https://files.pythonhosted.org/packages/9f/24/45a5a3beee1354f668d916eb1a2146835a0eda4dbad0da45252170e105a6/llama_cpp_python-0.1.9.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.9 2023-03-28T09:28:21,453 Fetching project page and analyzing links: https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,453 Getting page https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,455 Found index url https://www.piwheels.org/simple 2023-03-28T09:28:21,665 Fetched page https://www.piwheels.org/simple/llama-cpp-python/ as text/html 2023-03-28T09:28:21,666 Skipping link: not a file: https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,666 Skipping link: not a file: https://pypi.org/simple/llama-cpp-python/ 2023-03-28T09:28:21,686 Given no hashes to check 1 links for project 'llama-cpp-python': discarding no candidates 2023-03-28T09:28:21,702 Collecting llama-cpp-python==0.1.9 2023-03-28T09:28:21,705 Created temporary directory: /tmp/pip-unpack-bgzj_xgd 2023-03-28T09:28:21,752 Downloading llama_cpp_python-0.1.9.tar.gz (516 kB) 2023-03-28T09:28:21,983 Added llama-cpp-python==0.1.9 from https://files.pythonhosted.org/packages/9f/24/45a5a3beee1354f668d916eb1a2146835a0eda4dbad0da45252170e105a6/llama_cpp_python-0.1.9.tar.gz to build tracker '/tmp/pip-build-tracker-i11cfvip' 2023-03-28T09:28:21,993 Created temporary directory: /tmp/pip-build-env-sip6uzkt 2023-03-28T09:28:22,003 Installing build dependencies: started 2023-03-28T09:28:22,004 Running command pip subprocess to install build dependencies 2023-03-28T09:28:23,313 Using pip 23.0.1 from /home/piwheels/.local/lib/python3.9/site-packages/pip (python 3.9) 2023-03-28T09:28:23,945 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-28T09:28:23,973 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-28T09:28:25,677 Collecting setuptools>=42 2023-03-28T09:28:25,792 Using cached https://www.piwheels.org/simple/setuptools/setuptools-67.6.0-py3-none-any.whl (1.1 MB) 2023-03-28T09:28:26,051 Collecting scikit-build>=0.13 2023-03-28T09:28:26,073 Using cached https://www.piwheels.org/simple/scikit-build/scikit_build-0.16.7-py3-none-any.whl (79 kB) 2023-03-28T09:28:26,911 Collecting cmake>=3.18 2023-03-28T09:28:28,695 Using cached https://www.piwheels.org/simple/cmake/cmake-3.26.1-cp39-cp39-linux_armv7l.whl (17.6 MB) 2023-03-28T09:28:29,594 Collecting ninja 2023-03-28T09:28:29,624 Using cached https://www.piwheels.org/simple/ninja/ninja-1.11.1-cp39-cp39-linux_armv7l.whl (132 kB) 2023-03-28T09:28:29,875 Collecting packaging 2023-03-28T09:28:29,894 Using cached https://www.piwheels.org/simple/packaging/packaging-23.0-py3-none-any.whl (42 kB) 2023-03-28T09:28:30,128 Collecting wheel>=0.32.0 2023-03-28T09:28:30,147 Using cached https://www.piwheels.org/simple/wheel/wheel-0.40.0-py3-none-any.whl (64 kB) 2023-03-28T09:28:30,278 Collecting distro 2023-03-28T09:28:30,295 Using cached https://www.piwheels.org/simple/distro/distro-1.8.0-py3-none-any.whl (20 kB) 2023-03-28T09:28:32,914 Installing collected packages: ninja, cmake, wheel, setuptools, packaging, distro, scikit-build 2023-03-28T09:28:32,977 Creating /tmp/pip-build-env-sip6uzkt/overlay/bin 2023-03-28T09:28:32,979 changing mode of /tmp/pip-build-env-sip6uzkt/overlay/bin/ninja to 755 2023-03-28T09:28:39,877 changing mode of /tmp/pip-build-env-sip6uzkt/overlay/bin/cmake to 755 2023-03-28T09:28:39,879 changing mode of /tmp/pip-build-env-sip6uzkt/overlay/bin/cpack to 755 2023-03-28T09:28:39,881 changing mode of /tmp/pip-build-env-sip6uzkt/overlay/bin/ctest to 755 2023-03-28T09:28:40,256 changing mode of /tmp/pip-build-env-sip6uzkt/overlay/bin/wheel to 755 2023-03-28T09:28:42,743 changing mode of /tmp/pip-build-env-sip6uzkt/overlay/bin/distro to 755 2023-03-28T09:28:43,007 Successfully installed cmake-3.26.1 distro-1.8.0 ninja-1.11.1 packaging-23.0 scikit-build-0.16.7 setuptools-67.6.0 wheel-0.40.0 2023-03-28T09:28:43,564 Installing build dependencies: finished with status 'done' 2023-03-28T09:28:43,569 Getting requirements to build wheel: started 2023-03-28T09:28:43,570 Running command Getting requirements to build wheel 2023-03-28T09:28:44,433 running egg_info 2023-03-28T09:28:44,443 writing llama_cpp_python.egg-info/PKG-INFO 2023-03-28T09:28:44,445 writing dependency_links to llama_cpp_python.egg-info/dependency_links.txt 2023-03-28T09:28:44,448 writing top-level names to llama_cpp_python.egg-info/top_level.txt 2023-03-28T09:28:44,460 reading manifest file 'llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T09:28:44,467 adding license file 'LICENSE.md' 2023-03-28T09:28:44,471 writing manifest file 'llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T09:28:44,563 Getting requirements to build wheel: finished with status 'done' 2023-03-28T09:28:44,576 Created temporary directory: /tmp/pip-modern-metadata-vffrq80c 2023-03-28T09:28:44,579 Preparing metadata (pyproject.toml): started 2023-03-28T09:28:44,580 Running command Preparing metadata (pyproject.toml) 2023-03-28T09:28:45,402 running dist_info 2023-03-28T09:28:45,407 creating /tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info 2023-03-28T09:28:45,413 writing /tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info/PKG-INFO 2023-03-28T09:28:45,416 writing dependency_links to /tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info/dependency_links.txt 2023-03-28T09:28:45,419 writing top-level names to /tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info/top_level.txt 2023-03-28T09:28:45,420 writing manifest file '/tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T09:28:45,430 reading manifest file '/tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T09:28:45,432 adding license file 'LICENSE.md' 2023-03-28T09:28:45,435 writing manifest file '/tmp/pip-modern-metadata-vffrq80c/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T09:28:45,436 creating '/tmp/pip-modern-metadata-vffrq80c/llama_cpp_python-0.1.9.dist-info' 2023-03-28T09:28:45,552 Preparing metadata (pyproject.toml): finished with status 'done' 2023-03-28T09:28:45,559 Source in /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040 has version 0.1.9, which satisfies requirement llama-cpp-python==0.1.9 from https://files.pythonhosted.org/packages/9f/24/45a5a3beee1354f668d916eb1a2146835a0eda4dbad0da45252170e105a6/llama_cpp_python-0.1.9.tar.gz 2023-03-28T09:28:45,560 Removed llama-cpp-python==0.1.9 from https://files.pythonhosted.org/packages/9f/24/45a5a3beee1354f668d916eb1a2146835a0eda4dbad0da45252170e105a6/llama_cpp_python-0.1.9.tar.gz from build tracker '/tmp/pip-build-tracker-i11cfvip' 2023-03-28T09:28:45,565 Created temporary directory: /tmp/pip-unpack-v8ucvqre 2023-03-28T09:28:45,565 Building wheels for collected packages: llama-cpp-python 2023-03-28T09:28:45,570 Created temporary directory: /tmp/pip-wheel-v6_xsmvy 2023-03-28T09:28:45,570 Destination directory: /tmp/pip-wheel-v6_xsmvy 2023-03-28T09:28:45,573 Building wheel for llama-cpp-python (pyproject.toml): started 2023-03-28T09:28:45,574 Running command Building wheel for llama-cpp-python (pyproject.toml) 2023-03-28T09:28:46,350 -------------------------------------------------------------------------------- 2023-03-28T09:28:46,350 -- Trying 'Ninja' generator 2023-03-28T09:28:46,350 -------------------------------- 2023-03-28T09:28:46,350 --------------------------- 2023-03-28T09:28:46,350 ---------------------- 2023-03-28T09:28:46,350 ----------------- 2023-03-28T09:28:46,350 ------------ 2023-03-28T09:28:46,351 ------- 2023-03-28T09:28:46,351 -- 2023-03-28T09:28:46,704 Not searching for unused variables given on the command line. 2023-03-28T09:28:46,705 -- The C compiler identification is GNU 10.2.1 2023-03-28T09:28:46,767 -- Detecting C compiler ABI info 2023-03-28T09:28:47,046 -- Detecting C compiler ABI info - done 2023-03-28T09:28:47,087 -- Check for working C compiler: /usr/bin/cc - skipped 2023-03-28T09:28:47,089 -- Detecting C compile features 2023-03-28T09:28:47,091 -- Detecting C compile features - done 2023-03-28T09:28:47,437 -- The CXX compiler identification is GNU 10.2.1 2023-03-28T09:28:47,479 -- Detecting CXX compiler ABI info 2023-03-28T09:28:47,816 -- Detecting CXX compiler ABI info - done 2023-03-28T09:28:47,859 -- Check for working CXX compiler: /usr/bin/c++ - skipped 2023-03-28T09:28:47,860 -- Detecting CXX compile features 2023-03-28T09:28:47,863 -- Detecting CXX compile features - done 2023-03-28T09:28:47,872 -- Configuring done (1.5s) 2023-03-28T09:28:47,884 -- Generating done (0.0s) 2023-03-28T09:28:47,912 -- Build files have been written to: /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/_cmake_test_compile/build 2023-03-28T09:28:47,921 -- 2023-03-28T09:28:47,921 ------- 2023-03-28T09:28:47,922 ------------ 2023-03-28T09:28:47,922 ----------------- 2023-03-28T09:28:47,922 ---------------------- 2023-03-28T09:28:47,922 --------------------------- 2023-03-28T09:28:47,922 -------------------------------- 2023-03-28T09:28:47,922 -- Trying 'Ninja' generator - success 2023-03-28T09:28:47,922 -------------------------------------------------------------------------------- 2023-03-28T09:28:47,943 Configuring Project 2023-03-28T09:28:47,943 Working directory: 2023-03-28T09:28:47,943 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-28T09:28:47,943 Command: 2023-03-28T09:28:47,943 /tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/_skbuild/linux-armv7l-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.2 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPYTHON_LIBRARY:PATH=/usr/lib/arm-linux-gnueabihf/libpython3.9.so -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr -DPython_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release 2023-03-28T09:28:48,266 -- The C compiler identification is GNU 10.2.1 2023-03-28T09:28:48,578 -- The CXX compiler identification is GNU 10.2.1 2023-03-28T09:28:48,644 -- Detecting C compiler ABI info 2023-03-28T09:28:48,990 -- Detecting C compiler ABI info - done 2023-03-28T09:28:49,029 -- Check for working C compiler: /usr/bin/cc - skipped 2023-03-28T09:28:49,030 -- Detecting C compile features 2023-03-28T09:28:49,032 -- Detecting C compile features - done 2023-03-28T09:28:49,053 -- Detecting CXX compiler ABI info 2023-03-28T09:28:49,403 -- Detecting CXX compiler ABI info - done 2023-03-28T09:28:49,443 -- Check for working CXX compiler: /usr/bin/c++ - skipped 2023-03-28T09:28:49,445 -- Detecting CXX compile features 2023-03-28T09:28:49,447 -- Detecting CXX compile features - done 2023-03-28T09:28:49,468 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 2023-03-28T09:28:49,813 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed 2023-03-28T09:28:49,814 -- Check if compiler accepts -pthread 2023-03-28T09:28:50,140 -- Check if compiler accepts -pthread - yes 2023-03-28T09:28:50,144 -- Found Threads: TRUE 2023-03-28T09:28:50,145 -- CMAKE_SYSTEM_PROCESSOR: armv7l 2023-03-28T09:28:50,145 -- ARM detected 2023-03-28T09:28:50,147 -- Configuring done (2.2s) 2023-03-28T09:28:50,176 -- Generating done (0.0s) 2023-03-28T09:28:50,201 CMake Warning: 2023-03-28T09:28:50,201 Manually-specified variables were not used by the project: 2023-03-28T09:28:50,201 PYTHON_EXECUTABLE 2023-03-28T09:28:50,201 PYTHON_INCLUDE_DIR 2023-03-28T09:28:50,202 PYTHON_LIBRARY 2023-03-28T09:28:50,202 PYTHON_VERSION_STRING 2023-03-28T09:28:50,202 Python3_EXECUTABLE 2023-03-28T09:28:50,202 Python3_FIND_REGISTRY 2023-03-28T09:28:50,202 Python3_INCLUDE_DIR 2023-03-28T09:28:50,202 Python3_ROOT_DIR 2023-03-28T09:28:50,202 Python_EXECUTABLE 2023-03-28T09:28:50,203 Python_FIND_REGISTRY 2023-03-28T09:28:50,203 Python_INCLUDE_DIR 2023-03-28T09:28:50,203 Python_ROOT_DIR 2023-03-28T09:28:50,203 SKBUILD 2023-03-28T09:28:50,206 -- Build files have been written to: /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-28T09:28:50,473 [1/4] Building C object vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o 2023-03-28T09:28:50,474 FAILED: vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o 2023-03-28T09:28:50,474 /usr/bin/cc -I/tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/. -O3 -DNDEBUG -fPIC -Wall -Wextra -Wpedantic -Wshadow -Wcast-qual -Wstrict-prototypes -Wpointer-arith -Wno-unused-function -pthread -MD -MT vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o -MF vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o.d -o vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o -c /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/ggml.c 2023-03-28T09:28:50,474 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/ggml.c:169:10: fatal error: immintrin.h: No such file or directory 2023-03-28T09:28:50,474 169 | #include 2023-03-28T09:28:50,474 | ^~~~~~~~~~~~~ 2023-03-28T09:28:50,474 compilation terminated. 2023-03-28T09:29:11,918 [2/4] Building CXX object vendor/llama.cpp/CMakeFiles/llama.dir/llama.cpp.o 2023-03-28T09:29:11,919 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/llama.cpp: In function ‘bool llama_model_quantize_internal(const string&, const string&, int, int)’: 2023-03-28T09:29:11,919 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/llama.cpp:1455:24: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 2023-03-28T09:29:11,920 1455 | finp.read ((char *) word.data(), len); 2023-03-28T09:29:11,920 | ^~~~~~~~~~~~~~~~~~~~ 2023-03-28T09:29:11,920 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/llama.cpp:1456:24: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 2023-03-28T09:29:11,920 1456 | fout.write((char *) word.data(), len); 2023-03-28T09:29:11,920 | ^~~~~~~~~~~~~~~~~~~~ 2023-03-28T09:29:11,920 In file included from /usr/include/c++/10/vector:72, 2023-03-28T09:29:11,920 from /usr/include/c++/10/bits/random.h:34, 2023-03-28T09:29:11,920 from /usr/include/c++/10/random:49, 2023-03-28T09:29:11,921 from /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/llama.cpp:7: 2023-03-28T09:29:11,921 /usr/include/c++/10/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]’: 2023-03-28T09:29:11,921 /usr/include/c++/10/bits/vector.tcc:426:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2023-03-28T09:29:11,921 426 | vector<_Tp, _Alloc>:: 2023-03-28T09:29:11,921 | ^~~~~~~~~~~~~~~~~~~ 2023-03-28T09:29:11,921 In file included from /usr/include/c++/10/vector:67, 2023-03-28T09:29:11,921 from /usr/include/c++/10/bits/random.h:34, 2023-03-28T09:29:11,921 from /usr/include/c++/10/random:49, 2023-03-28T09:29:11,922 from /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/vendor/llama.cpp/llama.cpp:7: 2023-03-28T09:29:11,922 /usr/include/c++/10/bits/stl_vector.h: In member function ‘void std::discrete_distribution<_IntType>::param_type::_M_initialize() [with _IntType = int]’: 2023-03-28T09:29:11,922 /usr/include/c++/10/bits/stl_vector.h:1198:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2023-03-28T09:29:11,922 1198 | _M_realloc_insert(end(), __x); 2023-03-28T09:29:11,922 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-28T09:29:11,922 /usr/include/c++/10/bits/stl_vector.h:1198:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2023-03-28T09:29:11,922 1198 | _M_realloc_insert(end(), __x); 2023-03-28T09:29:11,922 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-28T09:29:11,922 /usr/include/c++/10/bits/stl_vector.h: In function ‘llama_token llama_sample_top_p_top_k(llama_context*, const llama_token*, int, int, double, double, double)’: 2023-03-28T09:29:11,923 /usr/include/c++/10/bits/stl_vector.h:1198:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2023-03-28T09:29:11,923 1198 | _M_realloc_insert(end(), __x); 2023-03-28T09:29:11,923 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-28T09:29:11,923 ninja: build stopped: subcommand failed. 2023-03-28T09:29:11,927 Traceback (most recent call last): 2023-03-28T09:29:11,931 File "/tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 642, in setup 2023-03-28T09:29:11,931 cmkr.make(make_args, install_target=cmake_install_target, env=env) 2023-03-28T09:29:11,931 File "/tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 679, in make 2023-03-28T09:29:11,932 self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) 2023-03-28T09:29:11,932 File "/tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 710, in make_impl 2023-03-28T09:29:11,932 raise SKBuildError( 2023-03-28T09:29:11,933 An error occurred while building with CMake. 2023-03-28T09:29:11,933 Command: 2023-03-28T09:29:11,934 /tmp/pip-build-env-sip6uzkt/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake --build . --target install --config Release -- 2023-03-28T09:29:11,934 Install target: 2023-03-28T09:29:11,934 install 2023-03-28T09:29:11,934 Source directory: 2023-03-28T09:29:11,934 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040 2023-03-28T09:29:11,934 Working directory: 2023-03-28T09:29:11,934 /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-28T09:29:11,935 Please check the install target is valid and see CMake's output for more information. 2023-03-28T09:29:12,014 ERROR: [present-rich] Building wheel for llama-cpp-python (pyproject.toml) exited with 1 2023-03-28T09:29:12,032 [bold magenta]full command[/]: [blue]/usr/bin/python3 /home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpygwfye0d[/] 2023-03-28T09:29:12,033 [bold magenta]cwd[/]: /tmp/pip-wheel-zvcrn2in/llama-cpp-python_de1df76c19e84e9983485516a234b040 2023-03-28T09:29:12,033 Building wheel for llama-cpp-python (pyproject.toml): finished with status 'error' 2023-03-28T09:29:12,035 ERROR: Failed building wheel for llama-cpp-python 2023-03-28T09:29:12,038 Failed to build llama-cpp-python 2023-03-28T09:29:12,039 ERROR: Failed to build one or more wheels 2023-03-28T09:29:12,040 Exception information: 2023-03-28T09:29:12,040 Traceback (most recent call last): 2023-03-28T09:29:12,040 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-03-28T09:29:12,040 status = run_func(*args) 2023-03-28T09:29:12,040 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-03-28T09:29:12,040 return func(self, options, args) 2023-03-28T09:29:12,040 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 201, in run 2023-03-28T09:29:12,040 raise CommandError("Failed to build one or more wheels") 2023-03-28T09:29:12,040 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-03-28T09:29:12,043 Removed build tracker: '/tmp/pip-build-tracker-i11cfvip'