Defaulting to user installation because normal site-packages is not writeable Collecting pyindi-client Using cached pyindi-client-0.2.6.tar.gz (5.8 kB) Using legacy 'setup.py install' for pyindi-client, since package 'wheel' is not installed. Installing collected packages: pyindi-client Running setup.py install for pyindi-client: started Running setup.py install for pyindi-client: finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bofavh5j/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bofavh5j/pyindi-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ixerz7m5/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pit/.local/include/python3.8/pyindi-client cwd: /tmp/pip-install-bofavh5j/pyindi-client/ Complete output (149 lines): running install running build_ext building '_PyIndi' extension swigging indiclientpython.i to indiclientpython_wrap.cpp swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i Language subdirectory: python Search paths: ./ /usr/include/ /usr/include/libindi/ /usr/local/include/libindi/ ./swig_lib/python/ /usr/share/swig/4.0.2/python/ ./swig_lib/ /usr/share/swig/4.0.2/ Preprocessing... Starting language-specific parse... /usr/include/libindi/baseclient.h:39: Warning 322: Redundant redeclaration of 'MAXRBUF', /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'. /usr/include/libindi/baseclient.h:270: Warning 325: Nested struct not currently supported (BLOBMode ignored) /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF', /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'. /usr/include/libindi/baseclient.h:61: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated, /usr/include/libindi/indibase.h:86: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented. /usr/include/libindi/basedevice.h:146: Warning 512: Overloaded method INDI::BaseDevice::getProperties() const ignored, /usr/include/libindi/basedevice.h:145: Warning 512: using non-const method INDI::BaseDevice::getProperties() instead. Processing types... C++ analysis... Processing nested classes... Generating wrappers... creating build creating build/temp.linux-x86_64-3.8 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -fPIC -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -I/usr/include/python3.8 -c indiclientpython_wrap.cpp -o build/temp.linux-x86_64-3.8/indiclientpython_wrap.o -std=c++11 indiclientpython_wrap.cpp: In function ‘PyObject* _wrap_Property_getNumber(PyObject*, PyObject*)’: indiclientpython_wrap.cpp:22067:3: error: ‘PropertyView’ was not declared in this scope; did you mean ‘INDI::PropertyView’? 22067 | PropertyView< INumber > *result = 0 ; | ^~~~~~~~~~~~ | INDI::PropertyView In file included from /usr/include/libindi/indiproperty.h:24, from /usr/include/libindi/basedevice.h:22, from indiclientpython_wrap.cpp:3263: /usr/include/libindi/indipropertyview.h:38:8: note: ‘INDI::PropertyView’ declared here 38 | struct PropertyView: public WidgetTraits::PropertyType | ^~~~~~~~~~~~ indiclientpython_wrap.cpp:22067:25: error: expected primary-expression before ‘>’ token 22067 | PropertyView< INumber > *result = 0 ; | ^ indiclientpython_wrap.cpp:22067:28: error: ‘result’ was not declared in this scope 22067 | PropertyView< INumber > *result = 0 ; | ^~~~~~ indiclientpython_wrap.cpp:22078:37: error: expected primary-expression before ‘>’ token 22078 | result = (PropertyView< INumber > *)((INDI::Property const *)arg1)->getNumber(); | ^ indiclientpython_wrap.cpp:22078:40: error: expected primary-expression before ‘)’ token 22078 | result = (PropertyView< INumber > *)((INDI::Property const *)arg1)->getNumber(); | ^ indiclientpython_wrap.cpp: In function ‘PyObject* _wrap_Property_getText(PyObject*, PyObject*)’: indiclientpython_wrap.cpp:22094:3: error: ‘PropertyView’ was not declared in this scope; did you mean ‘INDI::PropertyView’? 22094 | PropertyView< IText > *result = 0 ; | ^~~~~~~~~~~~ | INDI::PropertyView In file included from /usr/include/libindi/indiproperty.h:24, from /usr/include/libindi/basedevice.h:22, from indiclientpython_wrap.cpp:3263: /usr/include/libindi/indipropertyview.h:38:8: note: ‘INDI::PropertyView’ declared here 38 | struct PropertyView: public WidgetTraits::PropertyType | ^~~~~~~~~~~~ indiclientpython_wrap.cpp:22094:23: error: expected primary-expression before ‘>’ token 22094 | PropertyView< IText > *result = 0 ; | ^ indiclientpython_wrap.cpp:22094:26: error: ‘result’ was not declared in this scope 22094 | PropertyView< IText > *result = 0 ; | ^~~~~~ indiclientpython_wrap.cpp:22105:35: error: expected primary-expression before ‘>’ token 22105 | result = (PropertyView< IText > *)((INDI::Property const *)arg1)->getText(); | ^ indiclientpython_wrap.cpp:22105:38: error: expected primary-expression before ‘)’ token 22105 | result = (PropertyView< IText > *)((INDI::Property const *)arg1)->getText(); | ^ indiclientpython_wrap.cpp: In function ‘PyObject* _wrap_Property_getSwitch(PyObject*, PyObject*)’: indiclientpython_wrap.cpp:22121:3: error: ‘PropertyView’ was not declared in this scope; did you mean ‘INDI::PropertyView’? 22121 | PropertyView< ISwitch > *result = 0 ; | ^~~~~~~~~~~~ | INDI::PropertyView In file included from /usr/include/libindi/indiproperty.h:24, from /usr/include/libindi/basedevice.h:22, from indiclientpython_wrap.cpp:3263: /usr/include/libindi/indipropertyview.h:38:8: note: ‘INDI::PropertyView’ declared here 38 | struct PropertyView: public WidgetTraits::PropertyType | ^~~~~~~~~~~~ indiclientpython_wrap.cpp:22121:25: error: expected primary-expression before ‘>’ token 22121 | PropertyView< ISwitch > *result = 0 ; | ^ indiclientpython_wrap.cpp:22121:28: error: ‘result’ was not declared in this scope 22121 | PropertyView< ISwitch > *result = 0 ; | ^~~~~~ indiclientpython_wrap.cpp:22132:37: error: expected primary-expression before ‘>’ token 22132 | result = (PropertyView< ISwitch > *)((INDI::Property const *)arg1)->getSwitch(); | ^ indiclientpython_wrap.cpp:22132:40: error: expected primary-expression before ‘)’ token 22132 | result = (PropertyView< ISwitch > *)((INDI::Property const *)arg1)->getSwitch(); | ^ indiclientpython_wrap.cpp: In function ‘PyObject* _wrap_Property_getLight(PyObject*, PyObject*)’: indiclientpython_wrap.cpp:22148:3: error: ‘PropertyView’ was not declared in this scope; did you mean ‘INDI::PropertyView’? 22148 | PropertyView< ILight > *result = 0 ; | ^~~~~~~~~~~~ | INDI::PropertyView In file included from /usr/include/libindi/indiproperty.h:24, from /usr/include/libindi/basedevice.h:22, from indiclientpython_wrap.cpp:3263: /usr/include/libindi/indipropertyview.h:38:8: note: ‘INDI::PropertyView’ declared here 38 | struct PropertyView: public WidgetTraits::PropertyType | ^~~~~~~~~~~~ indiclientpython_wrap.cpp:22148:24: error: expected primary-expression before ‘>’ token 22148 | PropertyView< ILight > *result = 0 ; | ^ indiclientpython_wrap.cpp:22148:27: error: ‘result’ was not declared in this scope 22148 | PropertyView< ILight > *result = 0 ; | ^~~~~~ indiclientpython_wrap.cpp:22159:36: error: expected primary-expression before ‘>’ token 22159 | result = (PropertyView< ILight > *)((INDI::Property const *)arg1)->getLight(); | ^ indiclientpython_wrap.cpp:22159:39: error: expected primary-expression before ‘)’ token 22159 | result = (PropertyView< ILight > *)((INDI::Property const *)arg1)->getLight(); | ^ indiclientpython_wrap.cpp: In function ‘PyObject* _wrap_Property_getBLOB(PyObject*, PyObject*)’: indiclientpython_wrap.cpp:22175:3: error: ‘PropertyView’ was not declared in this scope; did you mean ‘INDI::PropertyView’? 22175 | PropertyView< IBLOB > *result = 0 ; | ^~~~~~~~~~~~ | INDI::PropertyView In file included from /usr/include/libindi/indiproperty.h:24, from /usr/include/libindi/basedevice.h:22, from indiclientpython_wrap.cpp:3263: /usr/include/libindi/indipropertyview.h:38:8: note: ‘INDI::PropertyView’ declared here 38 | struct PropertyView: public WidgetTraits::PropertyType | ^~~~~~~~~~~~ indiclientpython_wrap.cpp:22175:23: error: expected primary-expression before ‘>’ token 22175 | PropertyView< IBLOB > *result = 0 ; | ^ indiclientpython_wrap.cpp:22175:26: error: ‘result’ was not declared in this scope 22175 | PropertyView< IBLOB > *result = 0 ; | ^~~~~~ indiclientpython_wrap.cpp:22186:35: error: expected primary-expression before ‘>’ token 22186 | result = (PropertyView< IBLOB > *)((INDI::Property const *)arg1)->getBLOB(); | ^ indiclientpython_wrap.cpp:22186:38: error: expected primary-expression before ‘)’ token 22186 | result = (PropertyView< IBLOB > *)((INDI::Property const *)arg1)->getBLOB(); | ^ error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bofavh5j/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bofavh5j/pyindi-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ixerz7m5/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pit/.local/include/python3.8/pyindi-client Check the logs for full command output.