2019-06-28T23:43:28 Created temporary directory: /tmp/pip-ephem-wheel-cache-l8mt2f47 2019-06-28T23:43:28 Created temporary directory: /tmp/pip-req-tracker-lxd45k_5 2019-06-28T23:43:28 Created requirements tracker '/tmp/pip-req-tracker-lxd45k_5' 2019-06-28T23:43:28 Created temporary directory: /tmp/pip-wheel-pyp7326w 2019-06-28T23:43:28 Collecting PyOpaque==0.0.2 2019-06-28T23:43:28 1 location(s) to search for versions of PyOpaque: 2019-06-28T23:43:28 * https://pypi.org/simple/pyopaque/ 2019-06-28T23:43:28 Getting page https://pypi.org/simple/pyopaque/ 2019-06-28T23:43:28 Analyzing links from page https://pypi.org/simple/pyopaque/ 2019-06-28T23:43:29 Found link https://files.pythonhosted.org/packages/79/3a/7ef0d8692cb92f8f2b459c2c95ba1c2232c917dcce1d877ed8c5e0c3883e/pyopaque-0.0.2.tar.gz#sha256=b149b070125a6ca114d2e9723ade6509ec541b97e024d84f57ff74acefc5c27b (from https://pypi.org/simple/pyopaque/), version: 0.0.2 2019-06-28T23:43:29 Using version 0.0.2 (newest of versions: 0.0.2) 2019-06-28T23:43:29 Created temporary directory: /tmp/pip-unpack-1x9c11wz 2019-06-28T23:43:29 Downloading https://files.pythonhosted.org/packages/79/3a/7ef0d8692cb92f8f2b459c2c95ba1c2232c917dcce1d877ed8c5e0c3883e/pyopaque-0.0.2.tar.gz (126kB) 2019-06-28T23:43:29 Downloading from URL https://files.pythonhosted.org/packages/79/3a/7ef0d8692cb92f8f2b459c2c95ba1c2232c917dcce1d877ed8c5e0c3883e/pyopaque-0.0.2.tar.gz#sha256=b149b070125a6ca114d2e9723ade6509ec541b97e024d84f57ff74acefc5c27b (from https://pypi.org/simple/pyopaque/) 2019-06-28T23:43:29 Added PyOpaque==0.0.2 from https://files.pythonhosted.org/packages/79/3a/7ef0d8692cb92f8f2b459c2c95ba1c2232c917dcce1d877ed8c5e0c3883e/pyopaque-0.0.2.tar.gz#sha256=b149b070125a6ca114d2e9723ade6509ec541b97e024d84f57ff74acefc5c27b to build tracker '/tmp/pip-req-tracker-lxd45k_5' 2019-06-28T23:43:29 Running setup.py (path:/tmp/pip-wheel-pyp7326w/PyOpaque/setup.py) egg_info for package PyOpaque 2019-06-28T23:43:29 Running command python setup.py egg_info 2019-06-28T23:43:30 running egg_info 2019-06-28T23:43:30 creating pip-egg-info/PyOpaque.egg-info 2019-06-28T23:43:30 writing pip-egg-info/PyOpaque.egg-info/PKG-INFO 2019-06-28T23:43:30 writing dependency_links to pip-egg-info/PyOpaque.egg-info/dependency_links.txt 2019-06-28T23:43:30 writing top-level names to pip-egg-info/PyOpaque.egg-info/top_level.txt 2019-06-28T23:43:30 writing manifest file 'pip-egg-info/PyOpaque.egg-info/SOURCES.txt' 2019-06-28T23:43:31 reading manifest file 'pip-egg-info/PyOpaque.egg-info/SOURCES.txt' 2019-06-28T23:43:31 writing manifest file 'pip-egg-info/PyOpaque.egg-info/SOURCES.txt' 2019-06-28T23:43:31 Source in /tmp/pip-wheel-pyp7326w/PyOpaque has version 0.0.2, which satisfies requirement PyOpaque==0.0.2 from https://files.pythonhosted.org/packages/79/3a/7ef0d8692cb92f8f2b459c2c95ba1c2232c917dcce1d877ed8c5e0c3883e/pyopaque-0.0.2.tar.gz#sha256=b149b070125a6ca114d2e9723ade6509ec541b97e024d84f57ff74acefc5c27b 2019-06-28T23:43:31 Removed PyOpaque==0.0.2 from https://files.pythonhosted.org/packages/79/3a/7ef0d8692cb92f8f2b459c2c95ba1c2232c917dcce1d877ed8c5e0c3883e/pyopaque-0.0.2.tar.gz#sha256=b149b070125a6ca114d2e9723ade6509ec541b97e024d84f57ff74acefc5c27b from build tracker '/tmp/pip-req-tracker-lxd45k_5' 2019-06-28T23:43:31 Building wheels for collected packages: PyOpaque 2019-06-28T23:43:31 Created temporary directory: /tmp/pip-wheel-khdzej5q 2019-06-28T23:43:31 Building wheel for PyOpaque (setup.py): started 2019-06-28T23:43:31 Destination directory: /tmp/pip-wheel-khdzej5q 2019-06-28T23:43:31 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-pyp7326w/PyOpaque/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-khdzej5q 2019-06-28T23:43:32 running bdist_wheel 2019-06-28T23:43:32 running build 2019-06-28T23:43:32 running build_py 2019-06-28T23:43:32 creating build 2019-06-28T23:43:33 creating build/lib.linux-armv7l-3.7 2019-06-28T23:43:33 creating build/lib.linux-armv7l-3.7/opaque 2019-06-28T23:43:33 copying opaque/opaque.py -> build/lib.linux-armv7l-3.7/opaque 2019-06-28T23:43:33 copying opaque/__init__.py -> build/lib.linux-armv7l-3.7/opaque 2019-06-28T23:43:33 running build_ext 2019-06-28T23:43:33 building 'opaque.cOpaque' extension 2019-06-28T23:43:33 creating build/temp.linux-armv7l-3.7 2019-06-28T23:43:33 creating build/temp.linux-armv7l-3.7/opaque 2019-06-28T23:43:33 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c opaque/cOpaquemodule.cpp -o build/temp.linux-armv7l-3.7/opaque/cOpaquemodule.o 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp: In function ‘bool argToCSet(PyObject*, std::set*, const char*)’: 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:67:8: error: ‘PyString_Check’ was not declared in this scope 2019-06-28T23:43:34 if (!PyString_Check(item)) { 2019-06-28T23:43:34 ^~~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:67:8: note: suggested alternative: ‘PyMapping_Check’ 2019-06-28T23:43:34 if (!PyString_Check(item)) { 2019-06-28T23:43:34 ^~~~~~~~~~~~~~ 2019-06-28T23:43:34 PyMapping_Check 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:73:17: error: ‘PyString_AsString’ was not declared in this scope 2019-06-28T23:43:34 char * attr = PyString_AsString(item); 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:73:17: note: suggested alternative: ‘PyBytes_AsString’ 2019-06-28T23:43:34 char * attr = PyString_AsString(item); 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 PyBytes_AsString 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp: In function ‘PyTypeObject* makeEncapsulatedAttribute()’: 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:222:9: error: ‘Py_TPFLAGS_CHECKTYPES’ was not declared in this scope 2019-06-28T23:43:34 Py_TPFLAGS_CHECKTYPES; 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:222:9: note: suggested alternative: ‘Py_TPFLAGS_HEAPTYPE’ 2019-06-28T23:43:34 Py_TPFLAGS_CHECKTYPES; 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 Py_TPFLAGS_HEAPTYPE 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp: In function ‘EncapsulatedType* makeEncapsulatedType(char*)’: 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:479:10: error: ‘Py_TPFLAGS_CHECKTYPES’ was not declared in this scope 2019-06-28T23:43:34 Py_TPFLAGS_CHECKTYPES ; 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:479:10: note: suggested alternative: ‘Py_TPFLAGS_HEAPTYPE’ 2019-06-28T23:43:34 Py_TPFLAGS_CHECKTYPES ; 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 Py_TPFLAGS_HEAPTYPE 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp: In function ‘char* getObjectName(PyObject*)’: 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:523:8: error: ‘PyString_Check’ was not declared in this scope 2019-06-28T23:43:34 if (! PyString_Check(nameattr)) 2019-06-28T23:43:34 ^~~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:523:8: note: suggested alternative: ‘PyMapping_Check’ 2019-06-28T23:43:34 if (! PyString_Check(nameattr)) 2019-06-28T23:43:34 ^~~~~~~~~~~~~~ 2019-06-28T23:43:34 PyMapping_Check 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:525:16: error: ‘PyString_AsString’ was not declared in this scope 2019-06-28T23:43:34 char * name = PyString_AsString(nameattr); 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:525:16: note: suggested alternative: ‘PyBytes_AsString’ 2019-06-28T23:43:34 char * name = PyString_AsString(nameattr); 2019-06-28T23:43:34 ^~~~~~~~~~~~~~~~~ 2019-06-28T23:43:34 PyBytes_AsString 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp: In function ‘PyObject* makeOpaque(PyObject*, PyObject*)’: 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:579:7: error: ‘PyClass_Check’ was not declared in this scope 2019-06-28T23:43:34 if (!PyClass_Check(target) && !PyType_Check(target)) 2019-06-28T23:43:34 ^~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:579:7: note: suggested alternative: ‘PyCell_Check’ 2019-06-28T23:43:34 if (!PyClass_Check(target) && !PyType_Check(target)) 2019-06-28T23:43:34 ^~~~~~~~~~~~~ 2019-06-28T23:43:34 PyCell_Check 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp: In function ‘PyObject* initcOpaque()’: 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:667:11: error: ‘Py_InitModule’ was not declared in this scope 2019-06-28T23:43:34 (void) Py_InitModule("cOpaque",cOpaqueMethods); 2019-06-28T23:43:34 ^~~~~~~~~~~~~ 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:667:11: note: suggested alternative: ‘Py_Initialize’ 2019-06-28T23:43:34 (void) Py_InitModule("cOpaque",cOpaqueMethods); 2019-06-28T23:43:34 ^~~~~~~~~~~~~ 2019-06-28T23:43:34 Py_Initialize 2019-06-28T23:43:34 opaque/cOpaquemodule.cpp:668:1: warning: no return statement in function returning non-void [-Wreturn-type] 2019-06-28T23:43:34 } 2019-06-28T23:43:34 ^ 2019-06-28T23:43:34 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-06-28T23:43:35 Building wheel for PyOpaque (setup.py): finished with status 'error' 2019-06-28T23:43:35 ERROR: Failed building wheel for PyOpaque 2019-06-28T23:43:35 Running setup.py clean for PyOpaque 2019-06-28T23:43:35 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-pyp7326w/PyOpaque/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-06-28T23:43:36 running clean 2019-06-28T23:43:36 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-06-28T23:43:36 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-06-28T23:43:36 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-06-28T23:43:36 'build/scripts-3.7' does not exist -- can't clean it 2019-06-28T23:43:36 removing 'build' 2019-06-28T23:43:36 Failed to build PyOpaque 2019-06-28T23:43:36 Cleaning up... 2019-06-28T23:43:36 Removing source in /tmp/pip-wheel-pyp7326w/PyOpaque 2019-06-28T23:43:36 Removed build tracker '/tmp/pip-req-tracker-lxd45k_5' 2019-06-28T23:43:36 ERROR: Failed to build one or more wheels 2019-06-28T23:43:36 Exception information: 2019-06-28T23:43:36 Traceback (most recent call last): 2019-06-28T23:43:36 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-06-28T23:43:36 status = self.run(options, args) 2019-06-28T23:43:36 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-06-28T23:43:36 "Failed to build one or more wheels" 2019-06-28T23:43:36 pip._internal.exceptions.CommandError: Failed to build one or more wheels