2019-07-03T08:28:09 Created temporary directory: /tmp/pip-ephem-wheel-cache-3_eluh0p 2019-07-03T08:28:09 Created temporary directory: /tmp/pip-req-tracker-xzhe8wzp 2019-07-03T08:28:09 Created requirements tracker '/tmp/pip-req-tracker-xzhe8wzp' 2019-07-03T08:28:09 Created temporary directory: /tmp/pip-wheel-v1rdlrh0 2019-07-03T08:28:09 Collecting lycon==0.1.3 2019-07-03T08:28:09 1 location(s) to search for versions of lycon: 2019-07-03T08:28:09 * https://pypi.org/simple/lycon/ 2019-07-03T08:28:09 Getting page https://pypi.org/simple/lycon/ 2019-07-03T08:28:09 Analyzing links from page https://pypi.org/simple/lycon/ 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/e4/a0/562a2a4c59f7decf2da3d017d5a0cebc7238ae1cd3c8a55d4ef1a8ca0fa4/lycon-0.1.2.tar.gz#sha256=a0a6d408833ce1da5cc3ff1e78b4dccede589a08e501c1a044c047a9b67d4b8a (from https://pypi.org/simple/lycon/), version: 0.1.2 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/59/0e/41859640a14b4e22b2428aea9487e61002fb4de5e2463686e9e7c94a8dd6/lycon-0.1.3.tar.gz#sha256=cd8a9d11987d662ba24d53b7612062409c2458eb419704e24d7b3169f2e76557 (from https://pypi.org/simple/lycon/), version: 0.1.3 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/71/c1/b8278b4a488a254da0147382b382620d8fb2d751d9f92fcfb110e1547648/lycon-0.1.4.tar.gz#sha256=8210a954a7174651ed0990951310cd3abf6996b45f63f58f36c7a66459737b6c (from https://pypi.org/simple/lycon/), version: 0.1.4 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/9f/f9/923516f74470cfb032d8bb8b82a0527af20bacafa14b7c085ae1875e07fb/lycon-0.1.5.tar.gz#sha256=9d7c9358925e3e444fe3910ed43d31fd0c7c6997daecf4729a1723fe690a0bac (from https://pypi.org/simple/lycon/), version: 0.1.5 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/2a/fe/a6a471fa5655a25621c98983c68ac80e97cdb9e1b7eacafcd616100ac4bd/lycon-0.1.6.tar.gz#sha256=964ee60f20e8fc8ab37a8c64133d83760b3e2a852bfa027d139dc6b4b303c0ae (from https://pypi.org/simple/lycon/), version: 0.1.6 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/5c/b9/b711a449a7d6f5884a410312e951c778ebeb38c26d2c1b923e397edb5df8/lycon-0.1.7.tar.gz#sha256=bfaed0ffed170449f4e327e9ab6d1f3ae0a07e0806d9904c8d3f4c4f115c2e8c (from https://pypi.org/simple/lycon/), version: 0.1.7 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/2b/30/d299ea906292811b82252341057add96ea2bcad620c5967ffc5add252fe8/lycon-0.1.8.tar.gz#sha256=49737c90b38a9811e098a1ccd8f26e796b99282f28cac1b10e3e5fa55c2a1618 (from https://pypi.org/simple/lycon/), version: 0.1.8 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/23/ce/e082cd91f83f9c4d2a06749cd361511431db41d17c3c5f1a140c4491e502/lycon-0.1.9.tar.gz#sha256=a5c781fb843ddcf5f5eb1a5b2f16b6c71ebc043d4aa1d0c52cf24b818e770a5f (from https://pypi.org/simple/lycon/), version: 0.1.9 2019-07-03T08:28:09 Found link https://files.pythonhosted.org/packages/83/90/b3ff2cdd02dbb0a4ae25f77d6fe8ed8012e7896e59ed59eec78ccf9a92ad/lycon-0.2.0.tar.gz#sha256=30515e75d9cbd1ab68f432675c64aa7b955eaccb95987f0128cedcf5272afea4 (from https://pypi.org/simple/lycon/), version: 0.2.0 2019-07-03T08:28:09 Using version 0.1.3 (newest of versions: 0.1.3) 2019-07-03T08:28:09 Created temporary directory: /tmp/pip-unpack-oxd16cuy 2019-07-03T08:28:10 Downloading https://files.pythonhosted.org/packages/59/0e/41859640a14b4e22b2428aea9487e61002fb4de5e2463686e9e7c94a8dd6/lycon-0.1.3.tar.gz (130kB) 2019-07-03T08:28:10 Downloading from URL https://files.pythonhosted.org/packages/59/0e/41859640a14b4e22b2428aea9487e61002fb4de5e2463686e9e7c94a8dd6/lycon-0.1.3.tar.gz#sha256=cd8a9d11987d662ba24d53b7612062409c2458eb419704e24d7b3169f2e76557 (from https://pypi.org/simple/lycon/) 2019-07-03T08:28:10 Added lycon==0.1.3 from https://files.pythonhosted.org/packages/59/0e/41859640a14b4e22b2428aea9487e61002fb4de5e2463686e9e7c94a8dd6/lycon-0.1.3.tar.gz#sha256=cd8a9d11987d662ba24d53b7612062409c2458eb419704e24d7b3169f2e76557 to build tracker '/tmp/pip-req-tracker-xzhe8wzp' 2019-07-03T08:28:10 Running setup.py (path:/tmp/pip-wheel-v1rdlrh0/lycon/setup.py) egg_info for package lycon 2019-07-03T08:28:10 Running command python setup.py egg_info 2019-07-03T08:28:12 running egg_info 2019-07-03T08:28:12 creating pip-egg-info/lycon.egg-info 2019-07-03T08:28:12 writing pip-egg-info/lycon.egg-info/PKG-INFO 2019-07-03T08:28:12 writing dependency_links to pip-egg-info/lycon.egg-info/dependency_links.txt 2019-07-03T08:28:12 writing requirements to pip-egg-info/lycon.egg-info/requires.txt 2019-07-03T08:28:12 writing top-level names to pip-egg-info/lycon.egg-info/top_level.txt 2019-07-03T08:28:12 writing manifest file 'pip-egg-info/lycon.egg-info/SOURCES.txt' 2019-07-03T08:28:12 reading manifest file 'pip-egg-info/lycon.egg-info/SOURCES.txt' 2019-07-03T08:28:12 reading manifest template 'MANIFEST.in' 2019-07-03T08:28:12 writing manifest file 'pip-egg-info/lycon.egg-info/SOURCES.txt' 2019-07-03T08:28:12 Source in /tmp/pip-wheel-v1rdlrh0/lycon has version 0.1.3, which satisfies requirement lycon==0.1.3 from https://files.pythonhosted.org/packages/59/0e/41859640a14b4e22b2428aea9487e61002fb4de5e2463686e9e7c94a8dd6/lycon-0.1.3.tar.gz#sha256=cd8a9d11987d662ba24d53b7612062409c2458eb419704e24d7b3169f2e76557 2019-07-03T08:28:12 Removed lycon==0.1.3 from https://files.pythonhosted.org/packages/59/0e/41859640a14b4e22b2428aea9487e61002fb4de5e2463686e9e7c94a8dd6/lycon-0.1.3.tar.gz#sha256=cd8a9d11987d662ba24d53b7612062409c2458eb419704e24d7b3169f2e76557 from build tracker '/tmp/pip-req-tracker-xzhe8wzp' 2019-07-03T08:28:12 Building wheels for collected packages: lycon 2019-07-03T08:28:12 Created temporary directory: /tmp/pip-wheel-c0_2dpfd 2019-07-03T08:28:12 Building wheel for lycon (setup.py): started 2019-07-03T08:28:12 Destination directory: /tmp/pip-wheel-c0_2dpfd 2019-07-03T08:28:12 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-v1rdlrh0/lycon/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-c0_2dpfd 2019-07-03T08:28:14 running bdist_wheel 2019-07-03T08:28:14 running build 2019-07-03T08:28:14 running build_py 2019-07-03T08:28:14 creating build 2019-07-03T08:28:14 creating build/lib.linux-armv7l-3.7 2019-07-03T08:28:14 creating build/lib.linux-armv7l-3.7/lycon 2019-07-03T08:28:14 copying lycon/enum.py -> build/lib.linux-armv7l-3.7/lycon 2019-07-03T08:28:14 copying lycon/core.py -> build/lib.linux-armv7l-3.7/lycon 2019-07-03T08:28:14 copying lycon/__init__.py -> build/lib.linux-armv7l-3.7/lycon 2019-07-03T08:28:14 running egg_info 2019-07-03T08:28:14 writing lycon.egg-info/PKG-INFO 2019-07-03T08:28:14 writing dependency_links to lycon.egg-info/dependency_links.txt 2019-07-03T08:28:14 writing requirements to lycon.egg-info/requires.txt 2019-07-03T08:28:14 writing top-level names to lycon.egg-info/top_level.txt 2019-07-03T08:28:14 reading manifest file 'lycon.egg-info/SOURCES.txt' 2019-07-03T08:28:14 reading manifest template 'MANIFEST.in' 2019-07-03T08:28:14 writing manifest file 'lycon.egg-info/SOURCES.txt' 2019-07-03T08:28:14 running build_ext 2019-07-03T08:28:14 Source path is /tmp/pip-wheel-v1rdlrh0/lycon 2019-07-03T08:28:15 -- The C compiler identification is GNU 8.3.0 2019-07-03T08:28:16 -- The CXX compiler identification is GNU 8.3.0 2019-07-03T08:28:16 -- Check for working C compiler: /usr/bin/cc 2019-07-03T08:28:17 -- Check for working C compiler: /usr/bin/cc -- works 2019-07-03T08:28:17 -- Detecting C compiler ABI info 2019-07-03T08:28:18 -- Detecting C compiler ABI info - done 2019-07-03T08:28:18 -- Detecting C compile features 2019-07-03T08:28:20 -- Detecting C compile features - done 2019-07-03T08:28:20 -- Check for working CXX compiler: /usr/bin/c++ 2019-07-03T08:28:21 -- Check for working CXX compiler: /usr/bin/c++ -- works 2019-07-03T08:28:21 -- Detecting CXX compiler ABI info 2019-07-03T08:28:22 -- Detecting CXX compiler ABI info - done 2019-07-03T08:28:22 -- Detecting CXX compile features 2019-07-03T08:28:27 -- Detecting CXX compile features - done 2019-07-03T08:28:28 -- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11") 2019-07-03T08:28:28 -- Found PNG: /usr/lib/arm-linux-gnueabihf/libpng.so (found version "1.6.36") 2019-07-03T08:28:28 -- Found JPEG: /usr/lib/arm-linux-gnueabihf/libjpeg.so (found version "62") 2019-07-03T08:28:28 -- Python include path: /usr/include/python2.7 2019-07-03T08:28:31 -- NumPy include path: /usr/lib/python2.7/dist-packages/numpy/core/include 2019-07-03T08:28:31 -- Configuring done 2019-07-03T08:28:31 -- Generating done 2019-07-03T08:28:31 -- Build files have been written to: /tmp/pip-wheel-v1rdlrh0/lycon/build/temp.linux-armv7l-3.7 2019-07-03T08:28:31 Starting build with 4 jobs 2019-07-03T08:28:32 Scanning dependencies of target lycon 2019-07-03T08:28:32 [ 3%] Building CXX object CMakeFiles/lycon.dir/src/lycon/io/exif.cc.o 2019-07-03T08:28:32 [ 7%] Building CXX object CMakeFiles/lycon.dir/src/lycon/io/io.cc.o 2019-07-03T08:28:32 [ 10%] Building CXX object CMakeFiles/lycon.dir/src/lycon/io/base.cc.o 2019-07-03T08:28:32 [ 14%] Building CXX object CMakeFiles/lycon.dir/src/lycon/io/bitstream.cc.o 2019-07-03T08:28:35 [ 17%] Building CXX object CMakeFiles/lycon.dir/src/lycon/io/jpeg.cc.o 2019-07-03T08:28:37 [ 21%] Building CXX object CMakeFiles/lycon.dir/src/lycon/io/png.cc.o 2019-07-03T08:28:38 [ 25%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/allocator.cc.o 2019-07-03T08:28:42 [ 28%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/convert.cc.o 2019-07-03T08:28:43 [ 32%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/copy.cc.o 2019-07-03T08:28:43 [ 35%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/io_array.cc.o 2019-07-03T08:28:44 [ 39%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/iterator.cc.o 2019-07-03T08:28:48 [ 42%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/mat.cc.o 2019-07-03T08:28:50 [ 46%] Building CXX object CMakeFiles/lycon.dir/src/lycon/mat/umat_data.cc.o 2019-07-03T08:28:53 In file included from /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/mat/umat_data.h:4, 2019-07-03T08:28:53 from /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/mat/umat_data.cc:1: 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/mat/umat_data.cc: In destructor ‘lycon::UMatData::~UMatData()’: 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/error.h:31:35: warning: throw will always call terminate() [-Wterminate] 2019-07-03T08:28:53 throw RuntimeError(err_msg); \ 2019-07-03T08:28:53 ^ 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/error.h:40:9: note: in expansion of macro ‘LYCON_ERROR’ 2019-07-03T08:28:53 LYCON_ERROR("Assertion Failure: `%s` evaluated to false in `%s` (%s:%d)", #expr, LYCON_Func, __FILE__, __LINE__) 2019-07-03T08:28:53 ^~~~~~~~~~~ 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/mat/umat_data.cc:33:5: note: in expansion of macro ‘LYCON_ASSERT’ 2019-07-03T08:28:53 LYCON_ASSERT(mapcount == 0); 2019-07-03T08:28:53 ^~~~~~~~~~~~ 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/error.h:31:35: note: in C++11 destructors default to noexcept 2019-07-03T08:28:53 throw RuntimeError(err_msg); \ 2019-07-03T08:28:53 ^ 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/error.h:40:9: note: in expansion of macro ‘LYCON_ERROR’ 2019-07-03T08:28:53 LYCON_ERROR("Assertion Failure: `%s` evaluated to false in `%s` (%s:%d)", #expr, LYCON_Func, __FILE__, __LINE__) 2019-07-03T08:28:53 ^~~~~~~~~~~ 2019-07-03T08:28:53 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/mat/umat_data.cc:33:5: note: in expansion of macro ‘LYCON_ASSERT’ 2019-07-03T08:28:53 LYCON_ASSERT(mapcount == 0); 2019-07-03T08:28:53 ^~~~~~~~~~~~ 2019-07-03T08:28:53 [ 50%] Building CXX object CMakeFiles/lycon.dir/src/lycon/transform/resize.cc.o 2019-07-03T08:28:54 [ 53%] Building CXX object CMakeFiles/lycon.dir/src/lycon/transform/rotate.cc.o 2019-07-03T08:28:57 [ 57%] Building CXX object CMakeFiles/lycon.dir/src/lycon/util/alloc.cc.o 2019-07-03T08:28:58 [ 60%] Building CXX object CMakeFiles/lycon.dir/src/lycon/util/color.cc.o 2019-07-03T08:28:59 [ 64%] Building CXX object CMakeFiles/lycon.dir/src/lycon/util/file.cc.o 2019-07-03T08:29:01 [ 67%] Building CXX object CMakeFiles/lycon.dir/src/lycon/util/hardware.cc.o 2019-07-03T08:29:02 [ 71%] Building CXX object CMakeFiles/lycon.dir/src/lycon/util/parallel_pthreads.cc.o 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc: In static member function ‘static lycon::HWFeatures lycon::HWFeatures::initialize()’: 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:108:47: error: ‘O_RDONLY’ was not declared in this scope 2019-07-03T08:29:02 int cpufile = open("/proc/self/auxv", O_RDONLY); 2019-07-03T08:29:02 ^~~~~~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:108:47: note: suggested alternative: ‘STA_RONLY’ 2019-07-03T08:29:02 int cpufile = open("/proc/self/auxv", O_RDONLY); 2019-07-03T08:29:02 ^~~~~~~~ 2019-07-03T08:29:02 STA_RONLY 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:108:23: error: ‘open’ was not declared in this scope 2019-07-03T08:29:02 int cpufile = open("/proc/self/auxv", O_RDONLY); 2019-07-03T08:29:02 ^~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:108:23: note: suggested alternative: ‘popen’ 2019-07-03T08:29:02 int cpufile = open("/proc/self/auxv", O_RDONLY); 2019-07-03T08:29:02 ^~~~ 2019-07-03T08:29:02 popen 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:112:13: error: ‘Elf32_auxv_t’ was not declared in this scope 2019-07-03T08:29:02 Elf32_auxv_t auxv; 2019-07-03T08:29:02 ^~~~~~~~~~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:113:47: error: ‘auxv’ was not declared in this scope 2019-07-03T08:29:02 const size_t size_auxv_t = sizeof(auxv); 2019-07-03T08:29:02 ^~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:113:47: note: suggested alternative: ‘auto’ 2019-07-03T08:29:02 const size_t size_auxv_t = sizeof(auxv); 2019-07-03T08:29:02 ^~~~ 2019-07-03T08:29:02 auto 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:115:28: error: ‘read’ was not declared in this scope 2019-07-03T08:29:02 while ((size_t)read(cpufile, &auxv, size_auxv_t) == size_auxv_t) 2019-07-03T08:29:02 ^~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:115:28: note: suggested alternative: ‘fread’ 2019-07-03T08:29:02 while ((size_t)read(cpufile, &auxv, size_auxv_t) == size_auxv_t) 2019-07-03T08:29:02 ^~~~ 2019-07-03T08:29:02 fread 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:117:36: error: ‘AT_HWCAP’ was not declared in this scope 2019-07-03T08:29:02 if (auxv.a_type == AT_HWCAP) 2019-07-03T08:29:02 ^~~~~~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:125:13: error: ‘close’ was not declared in this scope 2019-07-03T08:29:02 close(cpufile); 2019-07-03T08:29:02 ^~~~~ 2019-07-03T08:29:02 /tmp/pip-wheel-v1rdlrh0/lycon/src/lycon/util/hardware.cc:125:13: note: suggested alternative: ‘clone’ 2019-07-03T08:29:02 close(cpufile); 2019-07-03T08:29:02 ^~~~~ 2019-07-03T08:29:02 clone 2019-07-03T08:29:03 make[2]: *** [CMakeFiles/lycon.dir/build.make:297: CMakeFiles/lycon.dir/src/lycon/util/hardware.cc.o] Error 1 2019-07-03T08:29:03 make[2]: *** Waiting for unfinished jobs.... 2019-07-03T08:29:16 make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/lycon.dir/all] Error 2 2019-07-03T08:29:16 make: *** [Makefile:84: all] Error 2 2019-07-03T08:29:16 * Failed to build the Lycon native extension. 2019-07-03T08:29:16 * [Error] Failed to exceute: /usr/bin/make -j 4 2019-07-03T08:29:16 Building wheel for lycon (setup.py): finished with status 'error' 2019-07-03T08:29:16 ERROR: Failed building wheel for lycon 2019-07-03T08:29:16 Running setup.py clean for lycon 2019-07-03T08:29:16 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-v1rdlrh0/lycon/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-07-03T08:29:18 running clean 2019-07-03T08:29:18 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-03T08:29:18 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-03T08:29:18 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-03T08:29:18 'build/scripts-3.7' does not exist -- can't clean it 2019-07-03T08:29:18 removing 'build' 2019-07-03T08:29:18 Failed to build lycon 2019-07-03T08:29:18 Cleaning up... 2019-07-03T08:29:18 Removing source in /tmp/pip-wheel-v1rdlrh0/lycon 2019-07-03T08:29:18 Removed build tracker '/tmp/pip-req-tracker-xzhe8wzp' 2019-07-03T08:29:18 ERROR: Failed to build one or more wheels 2019-07-03T08:29:18 Exception information: 2019-07-03T08:29:18 Traceback (most recent call last): 2019-07-03T08:29:18 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-03T08:29:18 status = self.run(options, args) 2019-07-03T08:29:18 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-03T08:29:18 "Failed to build one or more wheels" 2019-07-03T08:29:18 pip._internal.exceptions.CommandError: Failed to build one or more wheels