Collecting https://get.octoprint.org/latest Downloading https://get.octoprint.org/latest (5.4MB) Requirement already satisfied: flask<0.11,>=0.10.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: Jinja2<2.9,>=2.8.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: tornado==4.5.3 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: regex!=2018.11.6 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: Flask-Principal<0.5,>=0.4 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: Flask-Babel<0.13,>=0.12 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: Flask-Assets<0.13,>=0.12 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: werkzeug<0.16,>=0.15.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: cachelib<0.2,>=0.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: PyYAML<6,>=5.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: markdown<3.1,>=3.0 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: pyserial<3.5,>=3.4 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: netaddr<0.8,>=0.7.19 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: watchdog<0.10,>=0.9.0 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: sarge==0.1.5post0 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Collecting netifaces<0.11,>=0.10.9 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/0d/18/fd6e9c71a35b67a73160ec80a49da63d1eed2d2055054cc2995714949132/netifaces-0.10.9.tar.gz Collecting pylru<1.3,>=1.2 (from OctoPrint==1.3.11) Collecting rsa<5,>=4.0 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl Collecting pkginfo<1.6,>=1.5.0.1 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/e6/d5/451b913307b478c49eb29084916639dc53a88489b993530fed0a66bab8b9/pkginfo-1.5.0.1-py2.py3-none-any.whl Collecting requests<3,>=2.21.0 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl Collecting semantic_version<2.7,>=2.6 (from OctoPrint==1.3.11) Collecting psutil<5.7,>=5.6.1 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/c6/c1/beed5e4eaa1345901b595048fab1c85aee647ea0fc02d9e8bf9aceb81078/psutil-5.6.2.tar.gz Collecting Click<8,>=7 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Requirement already satisfied: feedparser<5.3,>=5.2.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Collecting chainmap<1.1,>=1.0.3 (from OctoPrint==1.3.11) Collecting future<0.18,>=0.17.1 (from OctoPrint==1.3.11) Collecting scandir<1.11,>=1.10 (from OctoPrint==1.3.11) Collecting websocket-client<0.57,>=0.56 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl Collecting wrapt<1.12,>=1.11.1 (from OctoPrint==1.3.11) Collecting futures<3.3,>=3.2 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl Collecting emoji<0.6,>=0.5.1 (from OctoPrint==1.3.11) Collecting monotonic<1.6,>=1.5 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/ac/aa/063eca6a416f397bd99552c534c6d11d57f58f2e94c14780f3bbf818c4cf/monotonic-1.5-py2.py3-none-any.whl Requirement already satisfied: frozendict<1.3,>=1.2 in ./oprint/lib/python2.7/site-packages (from OctoPrint==1.3.11) Collecting sentry-sdk==0.7.7 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/cb/61/709cf211413ed28c0606fe135cd41b7d94ffdc49d874aeba37b6e0d20000/sentry_sdk-0.7.7-py2.py3-none-any.whl Collecting typing<4,>=3.6.6 (from OctoPrint==1.3.11) Using cached https://files.pythonhosted.org/packages/cc/3e/29f92b7aeda5b078c86d14f550bf85cff809042e3429ace7af6193c3bc9f/typing-3.6.6-py2-none-any.whl Requirement already satisfied: itsdangerous>=0.21 in ./oprint/lib/python2.7/site-packages (from flask<0.11,>=0.10.1->OctoPrint==1.3.11) Requirement already satisfied: MarkupSafe in ./oprint/lib/python2.7/site-packages (from Jinja2<2.9,>=2.8.1->OctoPrint==1.3.11) Requirement already satisfied: singledispatch in ./oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint==1.3.11) Requirement already satisfied: certifi in ./oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint==1.3.11) Requirement already satisfied: backports-abc>=0.4 in ./oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint==1.3.11) Requirement already satisfied: blinker in ./oprint/lib/python2.7/site-packages (from Flask-Principal<0.5,>=0.4->OctoPrint==1.3.11) Requirement already satisfied: Babel>=2.3 in ./oprint/lib/python2.7/site-packages (from Flask-Babel<0.13,>=0.12->OctoPrint==1.3.11) Requirement already satisfied: webassets>=0.11.1 in ./oprint/lib/python2.7/site-packages (from Flask-Assets<0.13,>=0.12->OctoPrint==1.3.11) Requirement already satisfied: argh>=0.24.1 in ./oprint/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint==1.3.11) Requirement already satisfied: pathtools>=0.1.1 in ./oprint/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint==1.3.11) Requirement already satisfied: pyasn1>=0.1.3 in ./oprint/lib/python2.7/site-packages (from rsa<5,>=4.0->OctoPrint==1.3.11) Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./oprint/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint==1.3.11) Requirement already satisfied: idna<2.9,>=2.5 in ./oprint/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint==1.3.11) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./oprint/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint==1.3.11) Requirement already satisfied: Unidecode<0.05,>=0.04.14 in ./oprint/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.11) Requirement already satisfied: six in ./oprint/lib/python2.7/site-packages (from websocket-client<0.57,>=0.56->OctoPrint==1.3.11) Requirement already satisfied: pytz>=0a in ./oprint/lib/python2.7/site-packages (from Babel>=2.3->Flask-Babel<0.13,>=0.12->OctoPrint==1.3.11) Building wheels for collected packages: netifaces, psutil Running setup.py bdist_wheel for netifaces: started Running setup.py bdist_wheel for netifaces: finished with status 'error' Complete output from command /home/pi/oprint/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1WFcOS/netifaces/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/tmpjK47Scpip-wheel- --python-tag cp27: running bdist_wheel running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kKRR4y/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DNETIFACES_VERSION=0.10.9 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-armv7l-2.7/netifaces.o In file included from /usr/include/arm-linux-gnueabihf/sys/select.h:33:0, from /usr/include/arm-linux-gnueabihf/sys/types.h:219, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/sys/select.h:37:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sigset_t’ typedef __sigset_t sigset_t; ^~~~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/sys/select.h:124:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token const __sigset_t *__restrict __sigmask); ^ In file included from /usr/include/signal.h:32:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:102:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token extern int __sigismember (const __sigset_t *, int); ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:103:25: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ extern int __sigaddset (__sigset_t *, int); ^~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:104:25: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ extern int __sigdelset (__sigset_t *, int); ^~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:116:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token __SIGSETFN (__sigismember, (__set->__val[__word] & __mask) ? 1 : 0, const) ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:117:1: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ __SIGSETFN (__sigaddset, ((__set->__val[__word] |= __mask), 0), ) ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:118:1: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ __SIGSETFN (__sigdelset, ((__set->__val[__word] &= ~__mask), 0), ) ^ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/signal.h:40:9: error: unknown type name ‘__sig_atomic_t’ typedef __sig_atomic_t sig_atomic_t; ^~~~~~~~~~~~~~ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/signal.h:213:25: error: unknown type name ‘sigset_t’ extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:216:24: error: unknown type name ‘sigset_t’ extern int sigfillset (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:219:23: error: unknown type name ‘sigset_t’ extern int sigaddset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:222:23: error: unknown type name ‘sigset_t’ extern int sigdelset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:225:31: error: unknown type name ‘sigset_t’ extern int sigismember (const sigset_t *__set, int __signo) ^~~~~~~~ /usr/include/signal.h:230:33: error: unknown type name ‘sigset_t’ extern int sigisemptyset (const sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:233:23: error: unknown type name ‘sigset_t’ extern int sigandset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:233:46: error: unknown type name ‘sigset_t’ extern int sigandset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:234:15: error: unknown type name ‘sigset_t’ const sigset_t *__right) __THROW __nonnull ((1, 2, 3)); ^~~~~~~~ /usr/include/signal.h:237:22: error: unknown type name ‘sigset_t’ extern int sigorset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:237:45: error: unknown type name ‘sigset_t’ extern int sigorset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:238:14: error: unknown type name ‘sigset_t’ const sigset_t *__right) __THROW __nonnull ((1, 2, 3)); ^~~~~~~~ In file included from /usr/include/signal.h:243:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigaction.h:43:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t sa_mask; ^~~~~~~~~~ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/signal.h:246:42: error: unknown type name ‘sigset_t’ extern int sigprocmask (int __how, const sigset_t *__restrict __set, ^~~~~~~~ /usr/include/signal.h:247:4: error: unknown type name ‘sigset_t’ sigset_t *__restrict __oset) __THROW; ^~~~~~~~ /usr/include/signal.h:254:30: error: unknown type name ‘sigset_t’ extern int sigsuspend (const sigset_t *__set) __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:261:24: error: unknown type name ‘sigset_t’ extern int sigpending (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:268:27: error: unknown type name ‘sigset_t’ extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) ^~~~~~~~ /usr/include/signal.h:276:31: error: unknown type name ‘sigset_t’ extern int sigwaitinfo (const sigset_t *__restrict __set, ^~~~~~~~ /usr/include/signal.h:284:32: error: unknown type name ‘sigset_t’ extern int sigtimedwait (const sigset_t *__restrict __set, ^~~~~~~~ In file included from /usr/include/signal.h:326:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/sys/ucontext.h:108:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t uc_sigmask; ^~~~~~~~~~ In file included from /usr/include/signal.h:362:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigthread.h:31:25: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token const __sigset_t *__restrict __newmask, ^ In file included from /usr/include/setjmp.h:30:0, from /usr/include/python2.7/pyfpe.h:130, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ In file included from /usr/include/python2.7/pyfpe.h:130:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/setjmp.h:42:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t __saved_mask; /* Saved signal mask. */ ^~~~~~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/socket.h:31:0, from netifaces.c:40: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ netifaces.c:210:6: error: #error You need to add code for your platform. # error You need to add code for your platform. ^~~~~ netifaces.c: In function ‘gateways’: netifaces.c:1466:22: warning: unused variable ‘defaults’ [-Wunused-variable] PyObject *result, *defaults; ^~~~~~~~ At top level: netifaces.c:689:1: warning: ‘add_to_family’ defined but not used [-Wunused-function] add_to_family (PyObject *result, int family, PyObject *obj) ^~~~~~~~~~~~~ netifaces.c:438:1: warning: ‘string_from_netmask’ defined but not used [-Wunused-function] string_from_netmask (struct sockaddr *addr, ^~~~~~~~~~~~~~~~~~~ error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Running setup.py clean for netifaces Running setup.py bdist_wheel for psutil: started Running setup.py bdist_wheel for psutil: finished with status 'error' Complete output from command /home/pi/oprint/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1WFcOS/psutil/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/tmpYf_wBdpip-wheel- --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/psutil copying psutil/_psbsd.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_pssunos.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_pslinux.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_psosx.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_psposix.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/__init__.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_common.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_psaix.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_pswindows.py -> build/lib.linux-armv7l-2.7/psutil copying psutil/_compat.py -> build/lib.linux-armv7l-2.7/psutil creating build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/__main__.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/__init__.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-armv7l-2.7/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-armv7l-2.7/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/psutil arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kKRR4y/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=562 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-armv7l-2.7/psutil/_psutil_common.o In file included from /usr/include/arm-linux-gnueabihf/sys/select.h:33:0, from /usr/include/arm-linux-gnueabihf/sys/types.h:219, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/sys/select.h:37:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sigset_t’ typedef __sigset_t sigset_t; ^~~~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/sys/select.h:124:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token const __sigset_t *__restrict __sigmask); ^ In file included from /usr/include/signal.h:32:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:102:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token extern int __sigismember (const __sigset_t *, int); ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:103:25: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ extern int __sigaddset (__sigset_t *, int); ^~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:104:25: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ extern int __sigdelset (__sigset_t *, int); ^~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:116:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token __SIGSETFN (__sigismember, (__set->__val[__word] & __mask) ? 1 : 0, const) ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:117:1: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ __SIGSETFN (__sigaddset, ((__set->__val[__word] |= __mask), 0), ) ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:118:1: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ __SIGSETFN (__sigdelset, ((__set->__val[__word] &= ~__mask), 0), ) ^ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/signal.h:40:9: error: unknown type name ‘__sig_atomic_t’ typedef __sig_atomic_t sig_atomic_t; ^~~~~~~~~~~~~~ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/signal.h:213:25: error: unknown type name ‘sigset_t’ extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:216:24: error: unknown type name ‘sigset_t’ extern int sigfillset (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:219:23: error: unknown type name ‘sigset_t’ extern int sigaddset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:222:23: error: unknown type name ‘sigset_t’ extern int sigdelset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:225:31: error: unknown type name ‘sigset_t’ extern int sigismember (const sigset_t *__set, int __signo) ^~~~~~~~ /usr/include/signal.h:230:33: error: unknown type name ‘sigset_t’ extern int sigisemptyset (const sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:233:23: error: unknown type name ‘sigset_t’ extern int sigandset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:233:46: error: unknown type name ‘sigset_t’ extern int sigandset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:234:15: error: unknown type name ‘sigset_t’ const sigset_t *__right) __THROW __nonnull ((1, 2, 3)); ^~~~~~~~ /usr/include/signal.h:237:22: error: unknown type name ‘sigset_t’ extern int sigorset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:237:45: error: unknown type name ‘sigset_t’ extern int sigorset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:238:14: error: unknown type name ‘sigset_t’ const sigset_t *__right) __THROW __nonnull ((1, 2, 3)); ^~~~~~~~ In file included from /usr/include/signal.h:243:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/bits/sigaction.h:43:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t sa_mask; ^~~~~~~~~~ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/signal.h:246:42: error: unknown type name ‘sigset_t’ extern int sigprocmask (int __how, const sigset_t *__restrict __set, ^~~~~~~~ /usr/include/signal.h:247:4: error: unknown type name ‘sigset_t’ sigset_t *__restrict __oset) __THROW; ^~~~~~~~ /usr/include/signal.h:254:30: error: unknown type name ‘sigset_t’ extern int sigsuspend (const sigset_t *__set) __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:261:24: error: unknown type name ‘sigset_t’ extern int sigpending (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:268:27: error: unknown type name ‘sigset_t’ extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) ^~~~~~~~ /usr/include/signal.h:276:31: error: unknown type name ‘sigset_t’ extern int sigwaitinfo (const sigset_t *__restrict __set, ^~~~~~~~ /usr/include/signal.h:284:32: error: unknown type name ‘sigset_t’ extern int sigtimedwait (const sigset_t *__restrict __set, ^~~~~~~~ In file included from /usr/include/signal.h:326:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/sys/ucontext.h:108:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t uc_sigmask; ^~~~~~~~~~ In file included from /usr/include/signal.h:362:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/bits/sigthread.h:31:25: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token const __sigset_t *__restrict __newmask, ^ In file included from /usr/include/setjmp.h:30:0, from /usr/include/python2.7/pyfpe.h:130, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ In file included from /usr/include/python2.7/pyfpe.h:130:0, from /usr/include/python2.7/Python.h:156, from psutil/_psutil_common.c:9: /usr/include/setjmp.h:42:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t __saved_mask; /* Saved signal mask. */ ^~~~~~~~~~ error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Running setup.py clean for psutil Failed to build netifaces psutil Installing collected packages: netifaces, pylru, rsa, pkginfo, requests, semantic-version, psutil, Click, chainmap, future, scandir, websocket-client, wrapt, futures, emoji, monotonic, sentry-sdk, typing, OctoPrint Found existing installation: netifaces 0.10.7 Uninstalling netifaces-0.10.7: Successfully uninstalled netifaces-0.10.7 Running setup.py install for netifaces: started Running setup.py install for netifaces: finished with status 'error' Complete output from command /home/pi/oprint/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1WFcOS/netifaces/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-DK8C0Y-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/netifaces: running install running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kKRR4y/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DNETIFACES_VERSION=0.10.9 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-armv7l-2.7/netifaces.o In file included from /usr/include/arm-linux-gnueabihf/sys/select.h:33:0, from /usr/include/arm-linux-gnueabihf/sys/types.h:219, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/sys/select.h:37:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sigset_t’ typedef __sigset_t sigset_t; ^~~~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from /usr/include/stdlib.h:275, from /usr/include/python2.7/Python.h:42, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/sys/select.h:124:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token const __sigset_t *__restrict __sigmask); ^ In file included from /usr/include/signal.h:32:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:102:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token extern int __sigismember (const __sigset_t *, int); ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:103:25: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ extern int __sigaddset (__sigset_t *, int); ^~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:104:25: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ extern int __sigdelset (__sigset_t *, int); ^~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:116:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token __SIGSETFN (__sigismember, (__set->__val[__word] & __mask) ? 1 : 0, const) ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:117:1: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ __SIGSETFN (__sigaddset, ((__set->__val[__word] |= __mask), 0), ) ^ /usr/include/arm-linux-gnueabihf/bits/sigset.h:118:1: error: expected declaration specifiers or ‘...’ before ‘__sigset_t’ __SIGSETFN (__sigdelset, ((__set->__val[__word] &= ~__mask), 0), ) ^ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/signal.h:40:9: error: unknown type name ‘__sig_atomic_t’ typedef __sig_atomic_t sig_atomic_t; ^~~~~~~~~~~~~~ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/signal.h:213:25: error: unknown type name ‘sigset_t’ extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:216:24: error: unknown type name ‘sigset_t’ extern int sigfillset (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:219:23: error: unknown type name ‘sigset_t’ extern int sigaddset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:222:23: error: unknown type name ‘sigset_t’ extern int sigdelset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:225:31: error: unknown type name ‘sigset_t’ extern int sigismember (const sigset_t *__set, int __signo) ^~~~~~~~ /usr/include/signal.h:230:33: error: unknown type name ‘sigset_t’ extern int sigisemptyset (const sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:233:23: error: unknown type name ‘sigset_t’ extern int sigandset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:233:46: error: unknown type name ‘sigset_t’ extern int sigandset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:234:15: error: unknown type name ‘sigset_t’ const sigset_t *__right) __THROW __nonnull ((1, 2, 3)); ^~~~~~~~ /usr/include/signal.h:237:22: error: unknown type name ‘sigset_t’ extern int sigorset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:237:45: error: unknown type name ‘sigset_t’ extern int sigorset (sigset_t *__set, const sigset_t *__left, ^~~~~~~~ /usr/include/signal.h:238:14: error: unknown type name ‘sigset_t’ const sigset_t *__right) __THROW __nonnull ((1, 2, 3)); ^~~~~~~~ In file included from /usr/include/signal.h:243:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigaction.h:43:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t sa_mask; ^~~~~~~~~~ In file included from /usr/include/python2.7/pyfpe.h:129:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/signal.h:246:42: error: unknown type name ‘sigset_t’ extern int sigprocmask (int __how, const sigset_t *__restrict __set, ^~~~~~~~ /usr/include/signal.h:247:4: error: unknown type name ‘sigset_t’ sigset_t *__restrict __oset) __THROW; ^~~~~~~~ /usr/include/signal.h:254:30: error: unknown type name ‘sigset_t’ extern int sigsuspend (const sigset_t *__set) __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:261:24: error: unknown type name ‘sigset_t’ extern int sigpending (sigset_t *__set) __THROW __nonnull ((1)); ^~~~~~~~ /usr/include/signal.h:268:27: error: unknown type name ‘sigset_t’ extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) ^~~~~~~~ /usr/include/signal.h:276:31: error: unknown type name ‘sigset_t’ extern int sigwaitinfo (const sigset_t *__restrict __set, ^~~~~~~~ /usr/include/signal.h:284:32: error: unknown type name ‘sigset_t’ extern int sigtimedwait (const sigset_t *__restrict __set, ^~~~~~~~ In file included from /usr/include/signal.h:326:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/sys/ucontext.h:108:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t uc_sigmask; ^~~~~~~~~~ In file included from /usr/include/signal.h:362:0, from /usr/include/python2.7/pyfpe.h:129, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigthread.h:31:25: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token const __sigset_t *__restrict __newmask, ^ In file included from /usr/include/setjmp.h:30:0, from /usr/include/python2.7/pyfpe.h:130, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ In file included from /usr/include/python2.7/pyfpe.h:130:0, from /usr/include/python2.7/Python.h:156, from netifaces.c:1: /usr/include/setjmp.h:42:5: error: expected specifier-qualifier-list before ‘__sigset_t’ __sigset_t __saved_mask; /* Saved signal mask. */ ^~~~~~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/socket.h:31:0, from netifaces.c:40: /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: invalid suffix "ypudef" on integer constant 4ypudef int"__sig_atomib_t; ^~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:1: error: expected identifier or ‘(’ before numeric constant /usr/include/arm-linux-gnueabihf/bits/sigset.h:22:12: error: missing terminating " character 4ypudef int"__sig_atomib_t; ^~~~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/sigset.h:26:3: error: invalid preprocessing directive #deFine # deFine _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) ^~~~~~ netifaces.c:210:6: error: #error You need to add code for your platform. # error You need to add code for your platform. ^~~~~ netifaces.c: In function ‘gateways’: netifaces.c:1466:22: warning: unused variable ‘defaults’ [-Wunused-variable] PyObject *result, *defaults; ^~~~~~~~ At top level: netifaces.c:689:1: warning: ‘add_to_family’ defined but not used [-Wunused-function] add_to_family (PyObject *result, int family, PyObject *obj) ^~~~~~~~~~~~~ netifaces.c:438:1: warning: ‘string_from_netmask’ defined but not used [-Wunused-function] string_from_netmask (struct sockaddr *addr, ^~~~~~~~~~~~~~~~~~~ error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Rolling back uninstall of netifaces