2021-07-12T12:02:26,920 Created temporary directory: /tmp/pip-ephem-wheel-cache-09br_h7b 2021-07-12T12:02:26,923 Created temporary directory: /tmp/pip-req-tracker-fvdoz0mn 2021-07-12T12:02:26,924 Initialized build tracking at /tmp/pip-req-tracker-fvdoz0mn 2021-07-12T12:02:26,924 Created build tracker: /tmp/pip-req-tracker-fvdoz0mn 2021-07-12T12:02:26,924 Entered build tracker: /tmp/pip-req-tracker-fvdoz0mn 2021-07-12T12:02:26,925 Created temporary directory: /tmp/pip-wheel-3yk6b4et 2021-07-12T12:02:26,955 1 location(s) to search for versions of pyrealsense: 2021-07-12T12:02:26,955 * https://pypi.org/simple/pyrealsense/ 2021-07-12T12:02:26,955 Fetching project page and analyzing links: https://pypi.org/simple/pyrealsense/ 2021-07-12T12:02:26,956 Getting page https://pypi.org/simple/pyrealsense/ 2021-07-12T12:02:26,957 Found index url https://pypi.org/simple 2021-07-12T12:02:27,136 Found link https://files.pythonhosted.org/packages/8e/04/e2aed210e5755c4bd69a832faac065ed511186a7077affd1c4e1e87bd0e4/pyrealsense-1.4.tar.gz#sha256=f3fc4b90784507dc9ab42bb99f74a19d6c865ddf66b1a73e4faaefc971af8b91 (from https://pypi.org/simple/pyrealsense/), version: 1.4 2021-07-12T12:02:27,136 Found link https://files.pythonhosted.org/packages/be/d3/f5a784aaaa2c93c2980a675494937868a3d75d063c6187a9e1a687c54788/pyrealsense-2.0.tar.gz#sha256=b335356340fcfa215ca6cd17ae4f511b2ec89a53d42a5915f1060bfb631d1e6b (from https://pypi.org/simple/pyrealsense/), version: 2.0 2021-07-12T12:02:27,136 Found link https://files.pythonhosted.org/packages/2e/f2/8ad5a78a4700fcbd0d98b2837f7c3577647e9d640a245241f7ff9ef0a48c/pyrealsense-2.1.tar.gz#sha256=931e032c001b1dc5390420aa09efbc9336ab9562c1768808a8d44a9295475042 (from https://pypi.org/simple/pyrealsense/), version: 2.1 2021-07-12T12:02:27,137 Found link https://files.pythonhosted.org/packages/6b/08/bdf4ad92bffd0c53d403aa41af012d75315fb14896537c1e04e1c4396f72/pyrealsense-2.2.tar.gz#sha256=c9933eb16384283c3058e8b37d7c8677066412bfdb0ab31517030deafb094dce (from https://pypi.org/simple/pyrealsense/), version: 2.2 2021-07-12T12:02:27,137 Skipping link: not a file: https://pypi.org/simple/pyrealsense/ 2021-07-12T12:02:27,155 Given no hashes to check 1 links for project 'pyrealsense': discarding no candidates 2021-07-12T12:02:27,174 Collecting pyrealsense==2.1 2021-07-12T12:02:27,175 Created temporary directory: /tmp/pip-unpack-lq5wxhh4 2021-07-12T12:02:27,368 Downloading pyrealsense-2.1.tar.gz (60 kB) 2021-07-12T12:02:27,456 Added pyrealsense==2.1 from https://files.pythonhosted.org/packages/2e/f2/8ad5a78a4700fcbd0d98b2837f7c3577647e9d640a245241f7ff9ef0a48c/pyrealsense-2.1.tar.gz#sha256=931e032c001b1dc5390420aa09efbc9336ab9562c1768808a8d44a9295475042 to build tracker '/tmp/pip-req-tracker-fvdoz0mn' 2021-07-12T12:02:27,457 Running setup.py (path:/tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b/setup.py) egg_info for package pyrealsense 2021-07-12T12:02:27,458 Created temporary directory: /tmp/pip-pip-egg-info-uu22xle_ 2021-07-12T12:02:27,458 Running command python setup.py egg_info 2021-07-12T12:02:29,533 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b/pyrealsense/rsutilwrapper.pyx 2021-07-12T12:02:29,533 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-12T12:02:30,975 Compiling pyrealsense/rsutilwrapper.pyx because it depends on /usr/local/lib/python3.9/dist-packages/Cython/Includes/libc/string.pxd. 2021-07-12T12:02:30,976 [1/1] Cythonizing pyrealsense/rsutilwrapper.pyx 2021-07-12T12:02:31,141 running egg_info 2021-07-12T12:02:31,143 creating /tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info 2021-07-12T12:02:31,144 writing /tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/PKG-INFO 2021-07-12T12:02:31,147 writing dependency_links to /tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/dependency_links.txt 2021-07-12T12:02:31,149 writing requirements to /tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/requires.txt 2021-07-12T12:02:31,150 writing top-level names to /tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/top_level.txt 2021-07-12T12:02:31,152 writing manifest file '/tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/SOURCES.txt' 2021-07-12T12:02:31,298 reading manifest file '/tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/SOURCES.txt' 2021-07-12T12:02:31,300 reading manifest template 'MANIFEST.in' 2021-07-12T12:02:31,311 adding license file 'LICENSE.txt' 2021-07-12T12:02:31,314 writing manifest file '/tmp/pip-pip-egg-info-uu22xle_/pyrealsense.egg-info/SOURCES.txt' 2021-07-12T12:02:31,508 Source in /tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b has version 2.1, which satisfies requirement pyrealsense==2.1 from https://files.pythonhosted.org/packages/2e/f2/8ad5a78a4700fcbd0d98b2837f7c3577647e9d640a245241f7ff9ef0a48c/pyrealsense-2.1.tar.gz#sha256=931e032c001b1dc5390420aa09efbc9336ab9562c1768808a8d44a9295475042 2021-07-12T12:02:31,509 Removed pyrealsense==2.1 from https://files.pythonhosted.org/packages/2e/f2/8ad5a78a4700fcbd0d98b2837f7c3577647e9d640a245241f7ff9ef0a48c/pyrealsense-2.1.tar.gz#sha256=931e032c001b1dc5390420aa09efbc9336ab9562c1768808a8d44a9295475042 from build tracker '/tmp/pip-req-tracker-fvdoz0mn' 2021-07-12T12:02:31,517 Created temporary directory: /tmp/pip-unpack-kj11pr15 2021-07-12T12:02:31,518 Building wheels for collected packages: pyrealsense 2021-07-12T12:02:31,522 Created temporary directory: /tmp/pip-wheel-01pb0mx8 2021-07-12T12:02:31,523 Building wheel for pyrealsense (setup.py): started 2021-07-12T12:02:31,523 Destination directory: /tmp/pip-wheel-01pb0mx8 2021-07-12T12:02:31,524 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-01pb0mx8 2021-07-12T12:02:33,625 running bdist_wheel 2021-07-12T12:02:33,632 running build 2021-07-12T12:02:33,632 running build_py 2021-07-12T12:02:33,770 creating build 2021-07-12T12:02:33,771 creating build/lib.linux-armv7l-3.9 2021-07-12T12:02:33,772 creating build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,774 copying pyrealsense/constants.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,776 copying pyrealsense/extstruct.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,778 copying pyrealsense/__init__.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,780 copying pyrealsense/stream.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,782 copying pyrealsense/utils.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,784 copying pyrealsense/offline.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,786 copying pyrealsense/core.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,789 copying pyrealsense/extlib.py -> build/lib.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,791 running build_ext 2021-07-12T12:02:33,797 building 'pyrealsense.rsutilwrapper' extension 2021-07-12T12:02:33,798 creating build/temp.linux-armv7l-3.9 2021-07-12T12:02:33,799 creating build/temp.linux-armv7l-3.9/pyrealsense 2021-07-12T12:02:33,800 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipyrealsense -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -I/usr/local/include/librealsense -I/usr/include/python3.9 -c pyrealsense/rsutilwrapper.cpp -o build/temp.linux-armv7l-3.9/pyrealsense/rsutilwrapper.o 2021-07-12T12:02:34,120 In file included from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969, 2021-07-12T12:02:34,120 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, 2021-07-12T12:02:34,120 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/arrayobject.h:4, 2021-07-12T12:02:34,120 from pyrealsense/rsutilwrapper.cpp:659: 2021-07-12T12:02:34,121 /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 2021-07-12T12:02:34,121 17 | #warning "Using deprecated NumPy API, disable it with " \ 2021-07-12T12:02:34,121 | ^~~~~~~ 2021-07-12T12:02:34,157 pyrealsense/rsutilwrapper.cpp:668:10: fatal error: rs.h: No such file or directory 2021-07-12T12:02:34,157 668 | #include "rs.h" 2021-07-12T12:02:34,157 | ^~~~~~ 2021-07-12T12:02:34,158 compilation terminated. 2021-07-12T12:02:34,162 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-12T12:02:34,310 Building wheel for pyrealsense (setup.py): finished with status 'error' 2021-07-12T12:02:34,311 ERROR: Failed building wheel for pyrealsense 2021-07-12T12:02:34,312 Running setup.py clean for pyrealsense 2021-07-12T12:02:34,312 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-3yk6b4et/pyrealsense_0f7e22b36a5645b889ea8fa8513c707b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2021-07-12T12:02:36,363 running clean 2021-07-12T12:02:36,366 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-12T12:02:36,367 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-12T12:02:36,372 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-12T12:02:36,373 'build/scripts-3.9' does not exist -- can't clean it 2021-07-12T12:02:36,373 removing 'build' 2021-07-12T12:02:36,495 Failed to build pyrealsense 2021-07-12T12:02:36,496 ERROR: Failed to build one or more wheels 2021-07-12T12:02:36,496 Exception information: 2021-07-12T12:02:36,496 Traceback (most recent call last): 2021-07-12T12:02:36,496 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T12:02:36,496 status = self.run(options, args) 2021-07-12T12:02:36,496 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T12:02:36,496 return func(self, options, args) 2021-07-12T12:02:36,496 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-12T12:02:36,496 raise CommandError( 2021-07-12T12:02:36,496 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-12T12:02:36,499 Removed build tracker: '/tmp/pip-req-tracker-fvdoz0mn'