2019-07-01T19:12:35 Created temporary directory: /tmp/pip-ephem-wheel-cache-otcpe1c7 2019-07-01T19:12:35 Created temporary directory: /tmp/pip-req-tracker-f2vi47rl 2019-07-01T19:12:35 Created requirements tracker '/tmp/pip-req-tracker-f2vi47rl' 2019-07-01T19:12:35 Created temporary directory: /tmp/pip-wheel-241z5_kf 2019-07-01T19:12:35 Collecting netsnmp-py==0.1 2019-07-01T19:12:35 1 location(s) to search for versions of netsnmp-py: 2019-07-01T19:12:35 * https://pypi.org/simple/netsnmp-py/ 2019-07-01T19:12:35 Getting page https://pypi.org/simple/netsnmp-py/ 2019-07-01T19:12:35 Analyzing links from page https://pypi.org/simple/netsnmp-py/ 2019-07-01T19:12:35 Found link https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz#sha256=d83233a683a5ec2f676b6f3bc2b90c0dc9e97603d61dc5823b2140fa10fea027 (from https://pypi.org/simple/netsnmp-py/), version: 0.1 2019-07-01T19:12:35 Found link https://files.pythonhosted.org/packages/6c/db/ad5c68d3af4195e45ac8e1fb91ff6015d294d39668ee789765d9dc3ff6d8/netsnmp-py-0.2.tar.gz#sha256=c654c82d84f5d132baa86500fd1966282dde4cff42b67c3270557bb45541a93e (from https://pypi.org/simple/netsnmp-py/), version: 0.2 2019-07-01T19:12:35 Found link https://files.pythonhosted.org/packages/c2/7d/d9fd3a14ab492e1bfbfb3c14a6bcbe35eb6dcac84f4b79e82724ee8ff7b0/netsnmp-py-0.3.tar.gz#sha256=17359f6688f1ef33c8835ce641bcfb3d62ed7d9c4efb4bdfcb8cb587264143f6 (from https://pypi.org/simple/netsnmp-py/), version: 0.3 2019-07-01T19:12:35 Found link https://files.pythonhosted.org/packages/52/93/8700d0f063ae79ca69d10d2ce8bab926b5e2957d016051458e13c3e30da1/netsnmp-py-0.4.tar.gz#sha256=f80e7a767bff9ede0f98ebf38f64d8b982176d9b3334ce56b4b76419547968b5 (from https://pypi.org/simple/netsnmp-py/), version: 0.4 2019-07-01T19:12:35 Found link https://files.pythonhosted.org/packages/da/1d/cdc68b9956ccae7f52633ac201d317c83768faecf04f724d499f9ef09856/netsnmp-py-0.5.2.tar.gz#sha256=fccf7712af19bf10837d8549b3bce3b6ecd1dc1cdf1f2b81b76ed4c63234a798 (from https://pypi.org/simple/netsnmp-py/), version: 0.5.2 2019-07-01T19:12:35 Using version 0.1 (newest of versions: 0.1) 2019-07-01T19:12:35 Created temporary directory: /tmp/pip-unpack-v5l2jqn2 2019-07-01T19:12:36 Downloading https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz (63kB) 2019-07-01T19:12:36 Downloading from URL https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz#sha256=d83233a683a5ec2f676b6f3bc2b90c0dc9e97603d61dc5823b2140fa10fea027 (from https://pypi.org/simple/netsnmp-py/) 2019-07-01T19:12:36 Added netsnmp-py==0.1 from https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz#sha256=d83233a683a5ec2f676b6f3bc2b90c0dc9e97603d61dc5823b2140fa10fea027 to build tracker '/tmp/pip-req-tracker-f2vi47rl' 2019-07-01T19:12:36 Running setup.py (path:/tmp/pip-wheel-241z5_kf/netsnmp-py/setup.py) egg_info for package netsnmp-py 2019-07-01T19:12:36 Running command python setup.py egg_info 2019-07-01T19:12:37 /bin/sh: 1: net-snmp-config: not found 2019-07-01T19:12:37 Warning: 'classifiers' should be a list, got type 'tuple' 2019-07-01T19:12:37 running egg_info 2019-07-01T19:12:37 creating pip-egg-info/netsnmp.egg-info 2019-07-01T19:12:37 writing pip-egg-info/netsnmp.egg-info/PKG-INFO 2019-07-01T19:12:37 writing dependency_links to pip-egg-info/netsnmp.egg-info/dependency_links.txt 2019-07-01T19:12:37 writing top-level names to pip-egg-info/netsnmp.egg-info/top_level.txt 2019-07-01T19:12:37 writing manifest file 'pip-egg-info/netsnmp.egg-info/SOURCES.txt' 2019-07-01T19:12:38 reading manifest file 'pip-egg-info/netsnmp.egg-info/SOURCES.txt' 2019-07-01T19:12:38 writing manifest file 'pip-egg-info/netsnmp.egg-info/SOURCES.txt' 2019-07-01T19:12:38 WARNING: Generating metadata for package netsnmp-py produced metadata for project name netsnmp. Fix your #egg=netsnmp-py fragments. 2019-07-01T19:12:38 Source in /tmp/pip-wheel-241z5_kf/netsnmp-py has version 1.0a1, which satisfies requirement netsnmp from https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz#sha256=d83233a683a5ec2f676b6f3bc2b90c0dc9e97603d61dc5823b2140fa10fea027 2019-07-01T19:12:38 Removed netsnmp from https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz#sha256=d83233a683a5ec2f676b6f3bc2b90c0dc9e97603d61dc5823b2140fa10fea027 from build tracker '/tmp/pip-req-tracker-f2vi47rl' 2019-07-01T19:12:38 Building wheels for collected packages: netsnmp, netsnmp 2019-07-01T19:12:38 Created temporary directory: /tmp/pip-wheel-nmsvczkh 2019-07-01T19:12:38 Building wheel for netsnmp (setup.py): started 2019-07-01T19:12:38 Destination directory: /tmp/pip-wheel-nmsvczkh 2019-07-01T19:12:38 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-241z5_kf/netsnmp-py/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-nmsvczkh 2019-07-01T19:12:39 /bin/sh: 1: net-snmp-config: not found 2019-07-01T19:12:39 Warning: 'classifiers' should be a list, got type 'tuple' 2019-07-01T19:12:39 running bdist_wheel 2019-07-01T19:12:39 running build 2019-07-01T19:12:39 running build_py 2019-07-01T19:12:39 creating build 2019-07-01T19:12:39 creating build/lib.linux-armv7l-3.7 2019-07-01T19:12:39 creating build/lib.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:40 copying netsnmp/_hex.py -> build/lib.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:40 copying netsnmp/__init__.py -> build/lib.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:40 creating build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:40 copying netsnmp/_dev/__init__.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:40 copying netsnmp/_dev/cisco.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:40 copying netsnmp/_dev/technicolor.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:40 copying netsnmp/_dev/arris.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:40 running build_ext 2019-07-01T19:12:40 building 'netsnmp._api' extension 2019-07-01T19:12:40 creating build/temp.linux-armv7l-3.7 2019-07-01T19:12:40 creating build/temp.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:40 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./netsnmp -I/usr/include/python3.7m -c netsnmp/session.c -o build/temp.linux-armv7l-3.7/netsnmp/session.o 2019-07-01T19:12:40 In file included from netsnmp/session.c:2: 2019-07-01T19:12:40 ./netsnmp/_api.h:1:10: fatal error: net-snmp/net-snmp-config.h: No such file or directory 2019-07-01T19:12:40 #include 2019-07-01T19:12:40 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T19:12:40 compilation terminated. 2019-07-01T19:12:40 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-01T19:12:40 Building wheel for netsnmp (setup.py): finished with status 'error' 2019-07-01T19:12:40 ERROR: Failed building wheel for netsnmp 2019-07-01T19:12:40 Running setup.py clean for netsnmp 2019-07-01T19:12:40 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-241z5_kf/netsnmp-py/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-01T19:12:42 /bin/sh: 1: net-snmp-config: not found 2019-07-01T19:12:42 Warning: 'classifiers' should be a list, got type 'tuple' 2019-07-01T19:12:42 running clean 2019-07-01T19:12:42 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-01T19:12:42 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-01T19:12:42 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-01T19:12:42 'build/scripts-3.7' does not exist -- can't clean it 2019-07-01T19:12:42 removing 'build' 2019-07-01T19:12:42 Created temporary directory: /tmp/pip-wheel-vriol2qa 2019-07-01T19:12:42 Building wheel for netsnmp (setup.py): started 2019-07-01T19:12:42 Destination directory: /tmp/pip-wheel-vriol2qa 2019-07-01T19:12:42 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-241z5_kf/netsnmp-py/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-vriol2qa 2019-07-01T19:12:43 /bin/sh: 1: net-snmp-config: not found 2019-07-01T19:12:43 Warning: 'classifiers' should be a list, got type 'tuple' 2019-07-01T19:12:43 running bdist_wheel 2019-07-01T19:12:43 running build 2019-07-01T19:12:43 running build_py 2019-07-01T19:12:44 creating build 2019-07-01T19:12:44 creating build/lib.linux-armv7l-3.7 2019-07-01T19:12:44 creating build/lib.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:44 copying netsnmp/_hex.py -> build/lib.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:44 copying netsnmp/__init__.py -> build/lib.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:44 creating build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:44 copying netsnmp/_dev/__init__.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:44 copying netsnmp/_dev/cisco.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:44 copying netsnmp/_dev/technicolor.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:44 copying netsnmp/_dev/arris.py -> build/lib.linux-armv7l-3.7/netsnmp/_dev 2019-07-01T19:12:44 running build_ext 2019-07-01T19:12:44 building 'netsnmp._api' extension 2019-07-01T19:12:44 creating build/temp.linux-armv7l-3.7 2019-07-01T19:12:44 creating build/temp.linux-armv7l-3.7/netsnmp 2019-07-01T19:12:44 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./netsnmp -I/usr/include/python3.7m -c netsnmp/session.c -o build/temp.linux-armv7l-3.7/netsnmp/session.o 2019-07-01T19:12:44 In file included from netsnmp/session.c:2: 2019-07-01T19:12:44 ./netsnmp/_api.h:1:10: fatal error: net-snmp/net-snmp-config.h: No such file or directory 2019-07-01T19:12:44 #include 2019-07-01T19:12:44 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T19:12:44 compilation terminated. 2019-07-01T19:12:44 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-01T19:12:45 Building wheel for netsnmp (setup.py): finished with status 'error' 2019-07-01T19:12:45 ERROR: Failed building wheel for netsnmp 2019-07-01T19:12:45 Running setup.py clean for netsnmp 2019-07-01T19:12:45 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-241z5_kf/netsnmp-py/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-01T19:12:46 /bin/sh: 1: net-snmp-config: not found 2019-07-01T19:12:46 Warning: 'classifiers' should be a list, got type 'tuple' 2019-07-01T19:12:46 running clean 2019-07-01T19:12:46 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-01T19:12:46 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-01T19:12:46 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-01T19:12:46 'build/scripts-3.7' does not exist -- can't clean it 2019-07-01T19:12:46 removing 'build' 2019-07-01T19:12:46 Failed to build netsnmp netsnmp 2019-07-01T19:12:46 Cleaning up... 2019-07-01T19:12:46 Removing source in /tmp/pip-wheel-241z5_kf/netsnmp-py 2019-07-01T19:12:46 Removed build tracker '/tmp/pip-req-tracker-f2vi47rl' 2019-07-01T19:12:46 ERROR: Failed to build one or more wheels 2019-07-01T19:12:46 Exception information: 2019-07-01T19:12:46 Traceback (most recent call last): 2019-07-01T19:12:46 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-01T19:12:46 status = self.run(options, args) 2019-07-01T19:12:46 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-01T19:12:46 "Failed to build one or more wheels" 2019-07-01T19:12:46 pip._internal.exceptions.CommandError: Failed to build one or more wheels