2023-09-09T03:30:45,211 Created temporary directory: /tmp/pip-build-tracker-pa1yq10m 2023-09-09T03:30:45,213 Initialized build tracking at /tmp/pip-build-tracker-pa1yq10m 2023-09-09T03:30:45,214 Created build tracker: /tmp/pip-build-tracker-pa1yq10m 2023-09-09T03:30:45,215 Entered build tracker: /tmp/pip-build-tracker-pa1yq10m 2023-09-09T03:30:45,217 Created temporary directory: /tmp/pip-wheel-fmby831h 2023-09-09T03:30:45,221 Created temporary directory: /tmp/pip-ephem-wheel-cache-8zgzblw3 2023-09-09T03:30:45,243 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-09T03:30:45,247 2 location(s) to search for versions of netsnmp-py: 2023-09-09T03:30:45,247 * https://pypi.org/simple/netsnmp-py/ 2023-09-09T03:30:45,247 * https://www.piwheels.org/simple/netsnmp-py/ 2023-09-09T03:30:45,247 Fetching project page and analyzing links: https://pypi.org/simple/netsnmp-py/ 2023-09-09T03:30:45,248 Getting page https://pypi.org/simple/netsnmp-py/ 2023-09-09T03:30:45,250 Found index url https://pypi.org/simple/ 2023-09-09T03:30:45,498 Fetched page https://pypi.org/simple/netsnmp-py/ as application/vnd.pypi.simple.v1+json 2023-09-09T03:30:45,500 Found link https://files.pythonhosted.org/packages/c8/46/778824be4c88631bbbc06001240813230954cf86e5d6c901e6260ce1e3cf/netsnmp-py-0.1.tar.gz (from https://pypi.org/simple/netsnmp-py/), version: 0.1 2023-09-09T03:30:45,501 Found link https://files.pythonhosted.org/packages/6c/db/ad5c68d3af4195e45ac8e1fb91ff6015d294d39668ee789765d9dc3ff6d8/netsnmp-py-0.2.tar.gz (from https://pypi.org/simple/netsnmp-py/), version: 0.2 2023-09-09T03:30:45,502 Found link https://files.pythonhosted.org/packages/c2/7d/d9fd3a14ab492e1bfbfb3c14a6bcbe35eb6dcac84f4b79e82724ee8ff7b0/netsnmp-py-0.3.tar.gz (from https://pypi.org/simple/netsnmp-py/), version: 0.3 2023-09-09T03:30:45,502 Found link https://files.pythonhosted.org/packages/52/93/8700d0f063ae79ca69d10d2ce8bab926b5e2957d016051458e13c3e30da1/netsnmp-py-0.4.tar.gz (from https://pypi.org/simple/netsnmp-py/), version: 0.4 2023-09-09T03:30:45,503 Found link https://files.pythonhosted.org/packages/da/1d/cdc68b9956ccae7f52633ac201d317c83768faecf04f724d499f9ef09856/netsnmp-py-0.5.2.tar.gz (from https://pypi.org/simple/netsnmp-py/), version: 0.5.2 2023-09-09T03:30:45,504 Found link https://files.pythonhosted.org/packages/6e/39/c5931866dd6348b4d4765a77b185b9abe044815aa9ccda4143efcea795a6/netsnmp-py-0.6.tar.gz (from https://pypi.org/simple/netsnmp-py/), version: 0.6 2023-09-09T03:30:45,504 Fetching project page and analyzing links: https://www.piwheels.org/simple/netsnmp-py/ 2023-09-09T03:30:45,505 Getting page https://www.piwheels.org/simple/netsnmp-py/ 2023-09-09T03:30:45,507 Found index url https://www.piwheels.org/simple/ 2023-09-09T03:30:46,228 Fetched page https://www.piwheels.org/simple/netsnmp-py/ as text/html 2023-09-09T03:30:46,231 Skipping link: not a file: https://www.piwheels.org/simple/netsnmp-py/ 2023-09-09T03:30:46,232 Skipping link: not a file: https://pypi.org/simple/netsnmp-py/ 2023-09-09T03:30:46,267 Given no hashes to check 1 links for project 'netsnmp-py': discarding no candidates 2023-09-09T03:30:46,285 Collecting netsnmp-py==0.3 2023-09-09T03:30:46,287 Created temporary directory: /tmp/pip-unpack-3v1wr83q 2023-09-09T03:30:46,732 Downloading netsnmp-py-0.3.tar.gz (24 kB) 2023-09-09T03:30:46,796 Added netsnmp-py==0.3 from https://files.pythonhosted.org/packages/c2/7d/d9fd3a14ab492e1bfbfb3c14a6bcbe35eb6dcac84f4b79e82724ee8ff7b0/netsnmp-py-0.3.tar.gz to build tracker '/tmp/pip-build-tracker-pa1yq10m' 2023-09-09T03:30:46,797 Running setup.py (path:/tmp/pip-wheel-fmby831h/netsnmp-py_7302d5cf35a9403a949ac6a365fbb7b4/setup.py) egg_info for package netsnmp-py 2023-09-09T03:30:46,798 Created temporary directory: /tmp/pip-pip-egg-info-niwn41w3 2023-09-09T03:30:46,799 Preparing metadata (setup.py): started 2023-09-09T03:30:46,800 Running command python setup.py egg_info 2023-09-09T03:30:47,255 /bin/sh: 1: net-snmp-config: not found 2023-09-09T03:30:47,313 Warning: 'classifiers' should be a list, got type 'tuple' 2023-09-09T03:30:47,853 running egg_info 2023-09-09T03:30:47,855 creating /tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info 2023-09-09T03:30:47,879 writing /tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info/PKG-INFO 2023-09-09T03:30:47,881 writing dependency_links to /tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info/dependency_links.txt 2023-09-09T03:30:47,883 writing top-level names to /tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info/top_level.txt 2023-09-09T03:30:47,885 writing manifest file '/tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info/SOURCES.txt' 2023-09-09T03:30:47,983 reading manifest file '/tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info/SOURCES.txt' 2023-09-09T03:30:47,984 adding license file 'LICENSE' 2023-09-09T03:30:47,986 writing manifest file '/tmp/pip-pip-egg-info-niwn41w3/netsnmp_py.egg-info/SOURCES.txt' 2023-09-09T03:30:48,092 Preparing metadata (setup.py): finished with status 'done' 2023-09-09T03:30:48,095 Source in /tmp/pip-wheel-fmby831h/netsnmp-py_7302d5cf35a9403a949ac6a365fbb7b4 has version 0.3, which satisfies requirement netsnmp-py==0.3 from https://files.pythonhosted.org/packages/c2/7d/d9fd3a14ab492e1bfbfb3c14a6bcbe35eb6dcac84f4b79e82724ee8ff7b0/netsnmp-py-0.3.tar.gz 2023-09-09T03:30:48,096 Removed netsnmp-py==0.3 from https://files.pythonhosted.org/packages/c2/7d/d9fd3a14ab492e1bfbfb3c14a6bcbe35eb6dcac84f4b79e82724ee8ff7b0/netsnmp-py-0.3.tar.gz from build tracker '/tmp/pip-build-tracker-pa1yq10m' 2023-09-09T03:30:48,100 Created temporary directory: /tmp/pip-unpack-pdilk1hf 2023-09-09T03:30:48,101 Created temporary directory: /tmp/pip-unpack-h55sor49 2023-09-09T03:30:48,103 Building wheels for collected packages: netsnmp-py 2023-09-09T03:30:48,107 Created temporary directory: /tmp/pip-wheel-30y1_bnk 2023-09-09T03:30:48,108 Building wheel for netsnmp-py (setup.py): started 2023-09-09T03:30:48,109 Destination directory: /tmp/pip-wheel-30y1_bnk 2023-09-09T03:30:48,109 Running command python setup.py bdist_wheel 2023-09-09T03:30:48,522 /bin/sh: 1: net-snmp-config: not found 2023-09-09T03:30:48,595 Warning: 'classifiers' should be a list, got type 'tuple' 2023-09-09T03:30:49,089 running bdist_wheel 2023-09-09T03:30:49,181 running build 2023-09-09T03:30:49,182 running build_py 2023-09-09T03:30:49,208 creating build 2023-09-09T03:30:49,208 creating build/lib.linux-armv7l-cpython-311 2023-09-09T03:30:49,209 creating build/lib.linux-armv7l-cpython-311/netsnmp 2023-09-09T03:30:49,211 copying netsnmp/__init__.py -> build/lib.linux-armv7l-cpython-311/netsnmp 2023-09-09T03:30:49,213 copying netsnmp/_hex.py -> build/lib.linux-armv7l-cpython-311/netsnmp 2023-09-09T03:30:49,215 copying netsnmp/__main__.py -> build/lib.linux-armv7l-cpython-311/netsnmp 2023-09-09T03:30:49,217 creating build/lib.linux-armv7l-cpython-311/netsnmp/_dev 2023-09-09T03:30:49,218 copying netsnmp/_dev/arris.py -> build/lib.linux-armv7l-cpython-311/netsnmp/_dev 2023-09-09T03:30:49,220 copying netsnmp/_dev/technicolor.py -> build/lib.linux-armv7l-cpython-311/netsnmp/_dev 2023-09-09T03:30:49,222 copying netsnmp/_dev/__init__.py -> build/lib.linux-armv7l-cpython-311/netsnmp/_dev 2023-09-09T03:30:49,223 copying netsnmp/_dev/cisco.py -> build/lib.linux-armv7l-cpython-311/netsnmp/_dev 2023-09-09T03:30:49,226 running build_ext 2023-09-09T03:30:49,724 building 'netsnmp._api' extension 2023-09-09T03:30:49,724 creating build/temp.linux-armv7l-cpython-311 2023-09-09T03:30:49,725 creating build/temp.linux-armv7l-cpython-311/netsnmp 2023-09-09T03:30:49,726 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I./netsnmp -I/usr/include/python3.11 -c netsnmp/_api.c -o build/temp.linux-armv7l-cpython-311/netsnmp/_api.o 2023-09-09T03:30:50,079 In file included from netsnmp/_api.c:2: 2023-09-09T03:30:50,080 ./netsnmp/_api.h:1:10: fatal error: net-snmp/net-snmp-config.h: No such file or directory 2023-09-09T03:30:50,081 1 | #include 2023-09-09T03:30:50,082 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-09T03:30:50,083 compilation terminated. 2023-09-09T03:30:50,084 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-09T03:30:50,220 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-09T03:30:50,233 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-09T03:30:50,233 exec(compile('"'"''"'"''"'"' 2023-09-09T03:30:50,233 # This is -- a caller that pip uses to run setup.py 2023-09-09T03:30:50,233 # 2023-09-09T03:30:50,233 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-09T03:30:50,233 # import from `distutils.core` to work with newer packaging standards. 2023-09-09T03:30:50,233 # - It provides a clear error message when setuptools is not installed. 2023-09-09T03:30:50,233 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-09T03:30:50,233 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-09T03:30:50,233 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-09T03:30:50,233 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-09T03:30:50,233 import os, sys, tokenize 2023-09-09T03:30:50,233 2023-09-09T03:30:50,233 try: 2023-09-09T03:30:50,233 import setuptools 2023-09-09T03:30:50,233 except ImportError as error: 2023-09-09T03:30:50,233 print( 2023-09-09T03:30:50,233 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-09T03:30:50,233 "the build environment.", 2023-09-09T03:30:50,233 file=sys.stderr, 2023-09-09T03:30:50,233 ) 2023-09-09T03:30:50,233 sys.exit(1) 2023-09-09T03:30:50,233 2023-09-09T03:30:50,233 __file__ = %r 2023-09-09T03:30:50,233 sys.argv[0] = __file__ 2023-09-09T03:30:50,233 2023-09-09T03:30:50,233 if os.path.exists(__file__): 2023-09-09T03:30:50,233 filename = __file__ 2023-09-09T03:30:50,233 with tokenize.open(__file__) as f: 2023-09-09T03:30:50,233 setup_py_code = f.read() 2023-09-09T03:30:50,233 else: 2023-09-09T03:30:50,233 filename = "" 2023-09-09T03:30:50,233 setup_py_code = "from setuptools import setup; setup()" 2023-09-09T03:30:50,233 2023-09-09T03:30:50,233 exec(compile(setup_py_code, filename, "exec")) 2023-09-09T03:30:50,233 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-fmby831h/netsnmp-py_7302d5cf35a9403a949ac6a365fbb7b4/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-30y1_bnk[/] 2023-09-09T03:30:50,234 [bold magenta]cwd[/]: /tmp/pip-wheel-fmby831h/netsnmp-py_7302d5cf35a9403a949ac6a365fbb7b4/ 2023-09-09T03:30:50,234 Building wheel for netsnmp-py (setup.py): finished with status 'error' 2023-09-09T03:30:50,236 ERROR: Failed building wheel for netsnmp-py 2023-09-09T03:30:50,237 Running setup.py clean for netsnmp-py 2023-09-09T03:30:50,238 Running command python setup.py clean 2023-09-09T03:30:50,640 /bin/sh: 1: net-snmp-config: not found 2023-09-09T03:30:50,697 Warning: 'classifiers' should be a list, got type 'tuple' 2023-09-09T03:30:51,211 running clean 2023-09-09T03:30:51,257 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-09T03:30:51,258 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-09T03:30:51,263 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-09T03:30:51,264 'build/scripts-3.11' does not exist -- can't clean it 2023-09-09T03:30:51,265 removing 'build' 2023-09-09T03:30:51,369 Failed to build netsnmp-py 2023-09-09T03:30:51,370 ERROR: Failed to build one or more wheels 2023-09-09T03:30:51,371 Exception information: 2023-09-09T03:30:51,371 Traceback (most recent call last): 2023-09-09T03:30:51,371 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-09T03:30:51,371 status = run_func(*args) 2023-09-09T03:30:51,371 ^^^^^^^^^^^^^^^ 2023-09-09T03:30:51,371 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-09T03:30:51,371 return func(self, options, args) 2023-09-09T03:30:51,371 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T03:30:51,371 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-09T03:30:51,371 raise CommandError("Failed to build one or more wheels") 2023-09-09T03:30:51,371 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-09T03:30:51,375 Removed build tracker: '/tmp/pip-build-tracker-pa1yq10m'