2021-07-13T07:43:00,357 Created temporary directory: /tmp/pip-ephem-wheel-cache-hmxv36ye 2021-07-13T07:43:00,365 Created temporary directory: /tmp/pip-req-tracker-1_t5hjw3 2021-07-13T07:43:00,365 Initialized build tracking at /tmp/pip-req-tracker-1_t5hjw3 2021-07-13T07:43:00,365 Created build tracker: /tmp/pip-req-tracker-1_t5hjw3 2021-07-13T07:43:00,365 Entered build tracker: /tmp/pip-req-tracker-1_t5hjw3 2021-07-13T07:43:00,366 Created temporary directory: /tmp/pip-wheel-odnb9m1o 2021-07-13T07:43:00,396 1 location(s) to search for versions of xtimeout: 2021-07-13T07:43:00,396 * https://pypi.org/simple/xtimeout/ 2021-07-13T07:43:00,397 Fetching project page and analyzing links: https://pypi.org/simple/xtimeout/ 2021-07-13T07:43:00,397 Getting page https://pypi.org/simple/xtimeout/ 2021-07-13T07:43:00,399 Found index url https://pypi.org/simple 2021-07-13T07:43:00,494 Found link https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz#sha256=8c4233100182c16895496b227f178022ee94eedf4153908b69a1ad4d8d04f180 (from https://pypi.org/simple/xtimeout/), version: 0.1.0.1 2021-07-13T07:43:00,512 Skipping link: none of the wheel's tags (cp36-cp36m-win32) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/e9/f2/cff304b0c4e5a5b7f76840ee4e978ae6c7ef54a14e9bc7634392ee119e88/xtimeout-0.1.1-cp36-cp36m-win32.whl#sha256=db0e7dd81d2291ba77eae1ebe2ce100582cd7c4af66ca2773f0c1b871921cfdc (from https://pypi.org/simple/xtimeout/) 2021-07-13T07:43:00,512 Found link https://files.pythonhosted.org/packages/05/84/222299f7279062fb57386a9434c23950fdb218604758a0c0293c2247da84/xtimeout-0.1.1.tar.gz#sha256=9265f3749e174eecc3722642fc83de9f401e32faf6c28405e1135330cba1995c (from https://pypi.org/simple/xtimeout/), version: 0.1.1 2021-07-13T07:43:00,513 Skipping link: none of the wheel's tags (cp36-cp36m-win32) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/1b/1d/244c465462e3424c596dc109ae558545da923a63edff27e33fac955d344b/xtimeout-0.1.2-cp36-cp36m-win32.whl#sha256=0cc2f4d7047f0bb85825011865377e992754bf236d2ecb3ac24f71b090b5c6a3 (from https://pypi.org/simple/xtimeout/) 2021-07-13T07:43:00,513 Found link https://files.pythonhosted.org/packages/30/92/b92c98a4ca75eecd757ac2c363963e8e368f08b9489aa45244a2574dc215/xtimeout-0.1.2.tar.gz#sha256=a0a34256d86506b782fef83e646094e907964701b08658b191d98561a998595e (from https://pypi.org/simple/xtimeout/), version: 0.1.2 2021-07-13T07:43:00,513 Skipping link: none of the wheel's tags (cp36-cp36m-win32) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/02/82/bd3a3cd28d6908c24e643f3c4ec3aa7d6b7bc046f5a6d7f15ac745fe241d/xtimeout-0.1.3-cp36-cp36m-win32.whl#sha256=43eb3b7ff4fb316e41309dd44e07b54834e9b0c846b67abcdd04598ff72c2faa (from https://pypi.org/simple/xtimeout/) 2021-07-13T07:43:00,514 Found link https://files.pythonhosted.org/packages/84/68/5a5bfb404ebbfb9b4a769756ccc93266174262a742db4663b70a71b7a941/xtimeout-0.1.3.tar.gz#sha256=3e049f24b168cedffcf99f0212df2aee3a05481dc0b62b4bb338f92bb4f7d301 (from https://pypi.org/simple/xtimeout/), version: 0.1.3 2021-07-13T07:43:00,514 Skipping link: none of the wheel's tags (cp36-cp36m-win32) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/7e/ee/3aa1a1e271ecb67be671e93ec53607acb3ee3e33cf0681c7a19b70de9693/xtimeout-0.2.0-cp36-cp36m-win32.whl#sha256=70cc8a3c177735aecddbce74f45914262506fb7ba3f6bf4ecab88769316dcd40 (from https://pypi.org/simple/xtimeout/) 2021-07-13T07:43:00,515 Found link https://files.pythonhosted.org/packages/29/51/434d1defdc8369e2be34078e563dde8ace2f6dd1efb59611b3e7ed9df318/xtimeout-0.2.0.tar.gz#sha256=12c17777b0d9d81549931d7a05e6336ab99ff6b6bc35be022a235be09727b6d5 (from https://pypi.org/simple/xtimeout/), version: 0.2.0 2021-07-13T07:43:00,515 Found link https://files.pythonhosted.org/packages/6f/07/64efe259993fb8250854c0d05e96b341a47e82df9df9cba9d2b2392077c4/xtimeout-0.3.1.tar.gz#sha256=3abee3b9558d3afcfff841b136f41c826d5a4279ea6743b4d7bdb673e2221b18 (from https://pypi.org/simple/xtimeout/), version: 0.3.1 2021-07-13T07:43:00,515 Skipping link: not a file: https://pypi.org/simple/xtimeout/ 2021-07-13T07:43:00,517 Given no hashes to check 1 links for project 'xtimeout': discarding no candidates 2021-07-13T07:43:00,536 Collecting xtimeout==0.1.0.1 2021-07-13T07:43:00,538 Created temporary directory: /tmp/pip-unpack-_6gw_bac 2021-07-13T07:43:00,711 Downloading xtimeout-0.1.0.1.tar.gz (6.0 kB) 2021-07-13T07:43:00,756 Added xtimeout==0.1.0.1 from https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz#sha256=8c4233100182c16895496b227f178022ee94eedf4153908b69a1ad4d8d04f180 to build tracker '/tmp/pip-req-tracker-1_t5hjw3' 2021-07-13T07:43:00,757 Running setup.py (path:/tmp/pip-wheel-odnb9m1o/xtimeout_521653973b214fe7aa001784071cd710/setup.py) egg_info for package xtimeout 2021-07-13T07:43:00,758 Created temporary directory: /tmp/pip-pip-egg-info-0d1j6qmj 2021-07-13T07:43:00,758 Running command python setup.py egg_info 2021-07-13T07:43:01,946 running egg_info 2021-07-13T07:43:01,949 creating /tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info 2021-07-13T07:43:01,950 writing /tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info/PKG-INFO 2021-07-13T07:43:01,953 writing dependency_links to /tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info/dependency_links.txt 2021-07-13T07:43:01,956 writing top-level names to /tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info/top_level.txt 2021-07-13T07:43:01,958 writing manifest file '/tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info/SOURCES.txt' 2021-07-13T07:43:02,128 reading manifest file '/tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info/SOURCES.txt' 2021-07-13T07:43:02,132 writing manifest file '/tmp/pip-pip-egg-info-0d1j6qmj/xtimeout.egg-info/SOURCES.txt' 2021-07-13T07:43:02,213 Source in /tmp/pip-wheel-odnb9m1o/xtimeout_521653973b214fe7aa001784071cd710 has version 0.1.0.1, which satisfies requirement xtimeout==0.1.0.1 from https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz#sha256=8c4233100182c16895496b227f178022ee94eedf4153908b69a1ad4d8d04f180 2021-07-13T07:43:02,215 Removed xtimeout==0.1.0.1 from https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz#sha256=8c4233100182c16895496b227f178022ee94eedf4153908b69a1ad4d8d04f180 from build tracker '/tmp/pip-req-tracker-1_t5hjw3' 2021-07-13T07:43:02,220 Created temporary directory: /tmp/pip-unpack-21m1uzkk 2021-07-13T07:43:02,221 Building wheels for collected packages: xtimeout 2021-07-13T07:43:02,227 Created temporary directory: /tmp/pip-wheel-y3ghfhik 2021-07-13T07:43:02,227 Building wheel for xtimeout (setup.py): started 2021-07-13T07:43:02,228 Destination directory: /tmp/pip-wheel-y3ghfhik 2021-07-13T07:43:02,228 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-odnb9m1o/xtimeout_521653973b214fe7aa001784071cd710/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-odnb9m1o/xtimeout_521653973b214fe7aa001784071cd710/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-y3ghfhik 2021-07-13T07:43:03,419 running bdist_wheel 2021-07-13T07:43:03,424 running build 2021-07-13T07:43:03,424 running build_py 2021-07-13T07:43:03,566 creating build 2021-07-13T07:43:03,566 creating build/lib.linux-armv7l-3.9 2021-07-13T07:43:03,568 copying src/xtimeout.py -> build/lib.linux-armv7l-3.9 2021-07-13T07:43:03,570 running build_ext 2021-07-13T07:43:03,575 building '_xtimeout' extension 2021-07-13T07:43:03,576 creating build/temp.linux-armv7l-3.9 2021-07-13T07:43:03,576 creating build/temp.linux-armv7l-3.9/src 2021-07-13T07:43:03,577 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 -I/usr/include/python3.9 -c src/_xtimeout.cpp -o build/temp.linux-armv7l-3.9/src/_xtimeout.o 2021-07-13T07:43:05,432 src/_xtimeout.cpp: In member function ‘void CThreadState::SwapState()’: 2021-07-13T07:43:05,433 src/_xtimeout.cpp:71:51: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] 2021-07-13T07:43:05,433 71 | PyThread_set_key_value(g_PyTLSKey, m_State); 2021-07-13T07:43:05,434 | ^ 2021-07-13T07:43:05,434 In file included from /usr/include/python3.9/Python.h:136, 2021-07-13T07:43:05,434 from src/_xtimeout.cpp:1: 2021-07-13T07:43:05,434 /usr/include/python3.9/pythread.h:110:36: note: declared here 2021-07-13T07:43:05,434 110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, 2021-07-13T07:43:05,434 | ^~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T07:43:05,435 src/_xtimeout.cpp: In member function ‘void CThreadState::RestoreState()’: 2021-07-13T07:43:05,435 src/_xtimeout.cpp:82:55: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] 2021-07-13T07:43:05,435 82 | PyThread_set_key_value(g_PyTLSKey, m_PrevState); 2021-07-13T07:43:05,435 | ^ 2021-07-13T07:43:05,435 In file included from /usr/include/python3.9/Python.h:136, 2021-07-13T07:43:05,435 from src/_xtimeout.cpp:1: 2021-07-13T07:43:05,435 /usr/include/python3.9/pythread.h:110:36: note: declared here 2021-07-13T07:43:05,436 110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, 2021-07-13T07:43:05,436 | ^~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T07:43:05,545 src/_xtimeout.cpp: In member function ‘void CContextHelper::Start(const std::shared_ptr&)’: 2021-07-13T07:43:05,546 src/_xtimeout.cpp:353:22: error: ‘bind’ is not a member of ‘std’ 2021-07-13T07:43:05,546 353 | std::bind(&CContextHelper::CheckThread, this)); 2021-07-13T07:43:05,546 | ^~~~ 2021-07-13T07:43:05,546 src/_xtimeout.cpp:16:1: note: ‘std::bind’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-13T07:43:05,546 15 | #include 2021-07-13T07:43:05,547 +++ |+#include 2021-07-13T07:43:05,547 16 | 2021-07-13T07:43:05,560 src/_xtimeout.cpp: In member function ‘void CContextHelper::CheckThread()’: 2021-07-13T07:43:05,560 src/_xtimeout.cpp:386:50: error: ‘MAXLONGLONG’ was not declared in this scope; did you mean ‘PY_LONG_LONG’? 2021-07-13T07:43:05,560 386 | std::chrono::nanoseconds minSpan(MAXLONGLONG); 2021-07-13T07:43:05,561 | ^~~~~~~~~~~ 2021-07-13T07:43:05,561 | PY_LONG_LONG 2021-07-13T07:43:05,562 src/_xtimeout.cpp:393:59: error: cannot bind non-const lvalue reference of type ‘std::chrono::duration >&’ to an rvalue of type ‘std::chrono::milliseconds’ {aka ‘std::chrono::duration >’} 2021-07-13T07:43:05,562 393 | auto& duration = injector->GetDuration(); 2021-07-13T07:43:05,562 | ~~~~~~~~~~~~~~~~~~~~~^~ 2021-07-13T07:43:05,579 src/_xtimeout.cpp: In function ‘int GetPyThreadIndex()’: 2021-07-13T07:43:05,579 src/_xtimeout.cpp:487:47: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] 2021-07-13T07:43:05,579 487 | void* value = PyThread_get_key_value(i); 2021-07-13T07:43:05,579 | ^ 2021-07-13T07:43:05,580 In file included from /usr/include/python3.9/Python.h:136, 2021-07-13T07:43:05,580 from src/_xtimeout.cpp:1: 2021-07-13T07:43:05,580 /usr/include/python3.9/pythread.h:112:39: note: declared here 2021-07-13T07:43:05,580 112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); 2021-07-13T07:43:05,580 | ^~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T07:43:05,961 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-13T07:43:06,041 Building wheel for xtimeout (setup.py): finished with status 'error' 2021-07-13T07:43:06,042 ERROR: Failed building wheel for xtimeout 2021-07-13T07:43:06,042 Running setup.py clean for xtimeout 2021-07-13T07:43:06,042 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-odnb9m1o/xtimeout_521653973b214fe7aa001784071cd710/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-odnb9m1o/xtimeout_521653973b214fe7aa001784071cd710/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-13T07:43:07,196 running clean 2021-07-13T07:43:07,198 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-13T07:43:07,200 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-13T07:43:07,202 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-13T07:43:07,202 'build/scripts-3.9' does not exist -- can't clean it 2021-07-13T07:43:07,202 removing 'build' 2021-07-13T07:43:07,268 Failed to build xtimeout 2021-07-13T07:43:07,269 ERROR: Failed to build one or more wheels 2021-07-13T07:43:07,269 Exception information: 2021-07-13T07:43:07,269 Traceback (most recent call last): 2021-07-13T07:43:07,269 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-13T07:43:07,269 status = self.run(options, args) 2021-07-13T07:43:07,269 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-13T07:43:07,269 return func(self, options, args) 2021-07-13T07:43:07,269 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-13T07:43:07,269 raise CommandError( 2021-07-13T07:43:07,269 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-13T07:43:07,272 Removed build tracker: '/tmp/pip-req-tracker-1_t5hjw3'