2023-09-08T23:55:21,693 Created temporary directory: /tmp/pip-build-tracker-0e2ajksl 2023-09-08T23:55:21,694 Initialized build tracking at /tmp/pip-build-tracker-0e2ajksl 2023-09-08T23:55:21,694 Created build tracker: /tmp/pip-build-tracker-0e2ajksl 2023-09-08T23:55:21,695 Entered build tracker: /tmp/pip-build-tracker-0e2ajksl 2023-09-08T23:55:21,696 Created temporary directory: /tmp/pip-wheel-fjwlga74 2023-09-08T23:55:21,698 Created temporary directory: /tmp/pip-ephem-wheel-cache-3duh3l6d 2023-09-08T23:55:21,721 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T23:55:21,725 2 location(s) to search for versions of pypcap: 2023-09-08T23:55:21,725 * https://pypi.org/simple/pypcap/ 2023-09-08T23:55:21,725 * https://www.piwheels.org/simple/pypcap/ 2023-09-08T23:55:21,726 Fetching project page and analyzing links: https://pypi.org/simple/pypcap/ 2023-09-08T23:55:21,727 Getting page https://pypi.org/simple/pypcap/ 2023-09-08T23:55:21,728 Found index url https://pypi.org/simple/ 2023-09-08T23:55:21,866 Fetched page https://pypi.org/simple/pypcap/ as application/vnd.pypi.simple.v1+json 2023-09-08T23:55:21,870 Found link https://files.pythonhosted.org/packages/44/18/2400db640fb5a52bdb3f2ad5790ec823f198b5a5fad15814fe676ee11260/pypcap-1.1.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1 2023-09-08T23:55:21,870 Found link https://files.pythonhosted.org/packages/c0/3d/27291dbe583eee995a4b3f07ce7615b7fd1851eceae1d69635bb5b02519b/pypcap-1.1.1.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.1 2023-09-08T23:55:21,871 Found link https://files.pythonhosted.org/packages/f3/2d/5569e041903c452a6d83e0ca6058682a5539612e02b7fe01f83900b26155/pypcap-1.1.2.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.2 2023-09-08T23:55:21,871 Found link https://files.pythonhosted.org/packages/f2/7a/150d4a9eff36433e0f61524286fd30f9b734ecd0bf7ea0758175df7b958b/pypcap-1.1.3.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.3 2023-09-08T23:55:21,872 Skipping link: No binaries permitted for pypcap: https://files.pythonhosted.org/packages/40/30/ed144a53f2439a2f774457c1ad80cf293091a0b8cca24132c09ca974eb51/pypcap-1.1.4-cp27-none-macosx_10_10_x86_64.whl (from https://pypi.org/simple/pypcap/) 2023-09-08T23:55:21,873 Found link https://files.pythonhosted.org/packages/05/db/cebe323a8fed23f191460f61582ab3e42dffc709ea13d6433b2dea87e61f/pypcap-1.1.4.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.4 2023-09-08T23:55:21,873 Skipping link: No binaries permitted for pypcap: https://files.pythonhosted.org/packages/fb/01/74d6ad4d85c5418680900535a6319ff96cfaafb56539d0a38df4e921f179/pypcap-1.1.4.1-cp27-cp27m-macosx_10_11_x86_64.whl (from https://pypi.org/simple/pypcap/) 2023-09-08T23:55:21,874 Found link https://files.pythonhosted.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.4.1 2023-09-08T23:55:21,874 Found link https://files.pythonhosted.org/packages/83/25/dab6b3fda95a5699503c91bf722abf9d9a5c960a4480208e4bad8747dd0c/pypcap-1.1.5.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.5 2023-09-08T23:55:21,875 Found link https://files.pythonhosted.org/packages/ba/60/e724203144e2afbbc921f62152ece8bff792a173fd8104ff003ff571a4ce/pypcap-1.1.6.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.1.6 2023-09-08T23:55:21,876 Found link https://files.pythonhosted.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.2.0 2023-09-08T23:55:21,877 Found link https://files.pythonhosted.org/packages/cd/b5/8b5ff59d1702c10a9a4ebbf61b8ae3185435b222f1efd1419b178d68bbe9/pypcap-1.2.1.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.2.1 2023-09-08T23:55:21,877 Found link https://files.pythonhosted.org/packages/33/21/d1f24d8a93e4e11bf604d77e04080c05ecb0308a5606936a051bd2b2b5da/pypcap-1.2.2.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.2.2 2023-09-08T23:55:21,878 Found link https://files.pythonhosted.org/packages/12/71/a689ca8c6ef4570e105efdc6b46d4ac16cdef7af36a8fbfaff0f6fa2b754/pypcap-1.2.3.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.2.3 2023-09-08T23:55:21,879 Found link https://files.pythonhosted.org/packages/db/4f/419ad9b163f3e86c32ae3b1e2937709520e24dce589897a26fb875189520/pypcap-1.3.0.tar.gz (from https://pypi.org/simple/pypcap/), version: 1.3.0 2023-09-08T23:55:21,880 Fetching project page and analyzing links: https://www.piwheels.org/simple/pypcap/ 2023-09-08T23:55:21,880 Getting page https://www.piwheels.org/simple/pypcap/ 2023-09-08T23:55:21,882 Found index url https://www.piwheels.org/simple/ 2023-09-08T23:55:27,668 Fetched page https://www.piwheels.org/simple/pypcap/ as text/html 2023-09-08T23:55:27,674 Skipping link: No binaries permitted for pypcap: https://www.piwheels.org/simple/pypcap/pypcap-1.3.0-cp39-cp39-linux_armv7l.whl#sha256=2f55187abf4da36360bb53579eee5737a533e81b1be4e0cf88386708235dd37e (from https://www.piwheels.org/simple/pypcap/) 2023-09-08T23:55:27,675 Skipping link: No binaries permitted for pypcap: https://www.piwheels.org/simple/pypcap/pypcap-1.3.0-cp39-cp39-linux_armv6l.whl#sha256=2f55187abf4da36360bb53579eee5737a533e81b1be4e0cf88386708235dd37e (from https://www.piwheels.org/simple/pypcap/) 2023-09-08T23:55:27,676 Skipping link: No binaries permitted for pypcap: https://www.piwheels.org/simple/pypcap/pypcap-1.3.0-cp37-cp37m-linux_armv7l.whl#sha256=21bed0a33450b08897705891d804c21391317996875cd92ae5e353e4773c1d96 (from https://www.piwheels.org/simple/pypcap/) 2023-09-08T23:55:27,677 Skipping link: No binaries permitted for pypcap: https://www.piwheels.org/simple/pypcap/pypcap-1.3.0-cp37-cp37m-linux_armv6l.whl#sha256=21bed0a33450b08897705891d804c21391317996875cd92ae5e353e4773c1d96 (from https://www.piwheels.org/simple/pypcap/) 2023-09-08T23:55:27,678 Skipping link: No binaries permitted for pypcap: https://www.piwheels.org/simple/pypcap/pypcap-1.1.6-cp35-cp35m-linux_armv7l.whl#sha256=f47959e43ab78656d222d8497e246ad2cbf1c228a78d29aad01b5dccffe93b04 (from https://www.piwheels.org/simple/pypcap/) 2023-09-08T23:55:27,679 Skipping link: No binaries permitted for pypcap: https://www.piwheels.org/simple/pypcap/pypcap-1.1.6-cp35-cp35m-linux_armv6l.whl#sha256=f47959e43ab78656d222d8497e246ad2cbf1c228a78d29aad01b5dccffe93b04 (from https://www.piwheels.org/simple/pypcap/) 2023-09-08T23:55:27,680 Skipping link: not a file: https://www.piwheels.org/simple/pypcap/ 2023-09-08T23:55:27,681 Skipping link: not a file: https://pypi.org/simple/pypcap/ 2023-09-08T23:55:27,735 Given no hashes to check 1 links for project 'pypcap': discarding no candidates 2023-09-08T23:55:27,763 Collecting pypcap==1.1.4.1 2023-09-08T23:55:27,766 Created temporary directory: /tmp/pip-unpack-rx5_0wu1 2023-09-08T23:55:27,901 Downloading pypcap-1.1.4.1.tar.gz (41 kB) 2023-09-08T23:55:27,975 Added pypcap==1.1.4.1 from https://files.pythonhosted.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz to build tracker '/tmp/pip-build-tracker-0e2ajksl' 2023-09-08T23:55:27,977 Running setup.py (path:/tmp/pip-wheel-fjwlga74/pypcap_90c3b0181a334b0c8f17dd8d963fdee5/setup.py) egg_info for package pypcap 2023-09-08T23:55:27,978 Created temporary directory: /tmp/pip-pip-egg-info-huu1x9l0 2023-09-08T23:55:27,978 Preparing metadata (setup.py): started 2023-09-08T23:55:27,979 Running command python setup.py egg_info 2023-09-08T23:55:30,117 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-08T23:55:30,117 !! 2023-09-08T23:55:30,119 ******************************************************************************** 2023-09-08T23:55:30,119 Usage of dash-separated 'description-file' will not be supported in future 2023-09-08T23:55:30,120 versions. Please use the underscore name 'description_file' instead. 2023-09-08T23:55:30,121 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-08T23:55:30,122 or your builds will no longer be supported. 2023-09-08T23:55:30,123 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-08T23:55:30,123 ******************************************************************************** 2023-09-08T23:55:30,124 !! 2023-09-08T23:55:30,125 opt = self.warn_dash_deprecation(opt, section) 2023-09-08T23:55:30,683 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-08T23:55:30,684 !! 2023-09-08T23:55:30,685 ******************************************************************************** 2023-09-08T23:55:30,685 Usage of dash-separated 'description-file' will not be supported in future 2023-09-08T23:55:30,686 versions. Please use the underscore name 'description_file' instead. 2023-09-08T23:55:30,687 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-08T23:55:30,687 or your builds will no longer be supported. 2023-09-08T23:55:30,688 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-08T23:55:30,688 ******************************************************************************** 2023-09-08T23:55:30,689 !! 2023-09-08T23:55:30,690 opt = self.warn_dash_deprecation(opt, section) 2023-09-08T23:55:30,733 Found pcap headers in /usr/include/pcap/pcap.h 2023-09-08T23:55:30,733 Found libraries in /usr/lib/arm-linux-gnueabihf/libpcap.a 2023-09-08T23:55:30,734 found pcap_setdirection 2023-09-08T23:55:30,734 found pcap_setnonblock 2023-09-08T23:55:30,735 found pcap_compile_nopcap function 2023-09-08T23:55:30,735 found pcap_file function 2023-09-08T23:55:30,736 running egg_info 2023-09-08T23:55:30,737 creating /tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info 2023-09-08T23:55:30,758 writing /tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info/PKG-INFO 2023-09-08T23:55:30,761 writing dependency_links to /tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info/dependency_links.txt 2023-09-08T23:55:30,763 writing top-level names to /tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info/top_level.txt 2023-09-08T23:55:30,765 writing manifest file '/tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info/SOURCES.txt' 2023-09-08T23:55:30,835 reading manifest file '/tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info/SOURCES.txt' 2023-09-08T23:55:30,837 reading manifest template 'MANIFEST.in' 2023-09-08T23:55:30,839 writing manifest file '/tmp/pip-pip-egg-info-huu1x9l0/pypcap.egg-info/SOURCES.txt' 2023-09-08T23:55:30,950 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T23:55:30,953 Source in /tmp/pip-wheel-fjwlga74/pypcap_90c3b0181a334b0c8f17dd8d963fdee5 has version 1.1.4.1, which satisfies requirement pypcap==1.1.4.1 from https://files.pythonhosted.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz 2023-09-08T23:55:30,954 Removed pypcap==1.1.4.1 from https://files.pythonhosted.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz from build tracker '/tmp/pip-build-tracker-0e2ajksl' 2023-09-08T23:55:30,958 Created temporary directory: /tmp/pip-unpack-fesahm2j 2023-09-08T23:55:30,959 Created temporary directory: /tmp/pip-unpack-o7dd9w9x 2023-09-08T23:55:30,961 Building wheels for collected packages: pypcap 2023-09-08T23:55:30,965 Created temporary directory: /tmp/pip-wheel-iexoon8c 2023-09-08T23:55:30,966 Building wheel for pypcap (setup.py): started 2023-09-08T23:55:30,967 Destination directory: /tmp/pip-wheel-iexoon8c 2023-09-08T23:55:30,968 Running command python setup.py bdist_wheel 2023-09-08T23:55:31,371 Found pcap headers in /usr/include/pcap/pcap.h 2023-09-08T23:55:32,157 Found libraries in /usr/lib/arm-linux-gnueabihf/libpcap.a 2023-09-08T23:55:32,159 found pcap_setdirection 2023-09-08T23:55:32,159 found pcap_setnonblock 2023-09-08T23:55:32,160 found pcap_compile_nopcap function 2023-09-08T23:55:32,161 found pcap_file function 2023-09-08T23:55:32,197 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-08T23:55:32,197 !! 2023-09-08T23:55:32,198 ******************************************************************************** 2023-09-08T23:55:32,199 Usage of dash-separated 'description-file' will not be supported in future 2023-09-08T23:55:32,199 versions. Please use the underscore name 'description_file' instead. 2023-09-08T23:55:32,200 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-08T23:55:32,201 or your builds will no longer be supported. 2023-09-08T23:55:32,201 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-08T23:55:32,202 ******************************************************************************** 2023-09-08T23:55:32,203 !! 2023-09-08T23:55:32,203 opt = self.warn_dash_deprecation(opt, section) 2023-09-08T23:55:32,725 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-08T23:55:32,725 !! 2023-09-08T23:55:32,726 ******************************************************************************** 2023-09-08T23:55:32,727 Usage of dash-separated 'description-file' will not be supported in future 2023-09-08T23:55:32,727 versions. Please use the underscore name 'description_file' instead. 2023-09-08T23:55:32,728 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-08T23:55:32,729 or your builds will no longer be supported. 2023-09-08T23:55:32,730 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-08T23:55:32,731 ******************************************************************************** 2023-09-08T23:55:32,732 !! 2023-09-08T23:55:32,733 opt = self.warn_dash_deprecation(opt, section) 2023-09-08T23:55:32,767 running bdist_wheel 2023-09-08T23:55:32,859 running build 2023-09-08T23:55:32,860 running build_ext 2023-09-08T23:55:33,363 building 'pcap' extension 2023-09-08T23:55:33,364 creating build 2023-09-08T23:55:33,364 creating build/temp.linux-armv7l-cpython-311 2023-09-08T23:55:33,365 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DHAVE_PCAP_SETDIRECTION=1 -DHAVE_PCAP_SETNONBLOCK=1 -DHAVE_PCAP_COMPILE_NOPCAP=1 -DHAVE_PCAP_FILE=1 -I/usr/include/pcap -I/usr/include/python3.11 -c pcap.c -o build/temp.linux-armv7l-cpython-311/pcap.o 2023-09-08T23:55:33,761 pcap.c: In function ‘__Pyx_PyList_Append’: 2023-09-08T23:55:33,762 pcap.c:617:23: error: lvalue required as left operand of assignment 2023-09-08T23:55:33,762 617 | Py_SIZE(list) = len+1; 2023-09-08T23:55:33,763 | ^ 2023-09-08T23:55:33,789 pcap.c: In function ‘__pyx_f_4pcap___pcap_handler’: 2023-09-08T23:55:33,789 pcap.c:1000:19: warning: implicit declaration of function ‘PyBuffer_FromMemory’ [-Wimplicit-function-declaration] 2023-09-08T23:55:33,790 1000 | __pyx_t_5 = PyBuffer_FromMemory(__pyx_v_pkt, __pyx_v_hdr->caplen); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L3_error;} 2023-09-08T23:55:33,790 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,791 pcap.c:1000:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,792 1000 | __pyx_t_5 = PyBuffer_FromMemory(__pyx_v_pkt, __pyx_v_hdr->caplen); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L3_error;} 2023-09-08T23:55:33,792 | ^ 2023-09-08T23:55:33,796 pcap.c: In function ‘__pyx_pf_4pcap_3bpf_2filter’: 2023-09-08T23:55:33,797 pcap.c:1286:3: warning: ‘PyObject_AsCharBuffer’ is deprecated [-Wdeprecated-declarations] 2023-09-08T23:55:33,797 1286 | __pyx_t_1 = ((PyObject_AsCharBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) < 0) != 0); 2023-09-08T23:55:33,798 | ^~~~~~~~~ 2023-09-08T23:55:33,798 In file included from /usr/include/python3.11/Python.h:100, 2023-09-08T23:55:33,799 from pcap.c:16: 2023-09-08T23:55:33,799 /usr/include/python3.11/abstract.h:326:17: note: declared here 2023-09-08T23:55:33,799 326 | PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj, 2023-09-08T23:55:33,800 | ^~~~~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,800 pcap.c:1286:53: warning: passing argument 2 of ‘PyObject_AsCharBuffer’ from incompatible pointer type [-Wincompatible-pointer-types] 2023-09-08T23:55:33,801 1286 | __pyx_t_1 = ((PyObject_AsCharBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) < 0) != 0); 2023-09-08T23:55:33,802 | ~^~~~~~~~~~~ 2023-09-08T23:55:33,802 | | 2023-09-08T23:55:33,803 | char ** 2023-09-08T23:55:33,803 /usr/include/python3.11/abstract.h:327:52: note: expected ‘const char **’ but argument is of type ‘char **’ 2023-09-08T23:55:33,804 327 | const char **buffer, 2023-09-08T23:55:33,804 | ~~~~~~~~~~~~~^~~~~~ 2023-09-08T23:55:33,805 pcap.c:1307:58: warning: pointer targets in passing argument 2 of ‘bpf_filter’ differ in signedness [-Wpointer-sign] 2023-09-08T23:55:33,806 1307 | __pyx_t_1 = ((bpf_filter(__pyx_v_self->fcode.bf_insns, __pyx_v_p, __pyx_v_n, __pyx_v_n) == 0) != 0); 2023-09-08T23:55:33,806 | ^~~~~~~~~ 2023-09-08T23:55:33,807 | | 2023-09-08T23:55:33,807 | char * 2023-09-08T23:55:33,808 In file included from /usr/include/pcap/pcap.h:133, 2023-09-08T23:55:33,808 from pcap.c:236: 2023-09-08T23:55:33,809 /usr/include/pcap/bpf.h:271:53: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 2023-09-08T23:55:33,809 271 | PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); 2023-09-08T23:55:33,810 | ^~~~~~~~~~~~~~ 2023-09-08T23:55:33,832 pcap.c: In function ‘__pyx_pf_4pcap_4pcap_18dispatch’: 2023-09-08T23:55:33,834 pcap.c:3143:68: warning: passing argument 3 of ‘pcap_dispatch’ from incompatible pointer type [-Wincompatible-pointer-types] 2023-09-08T23:55:33,835 3143 | __pyx_v_n = pcap_dispatch(__pyx_v_self->__pyx___pcap, __pyx_t_1, __pyx_f_4pcap___pcap_handler, ((unsigned char *)(&__pyx_v_ctx))); 2023-09-08T23:55:33,836 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,836 | | 2023-09-08T23:55:33,837 | void (*)(void *, struct pcap_pkthdr *, char *) 2023-09-08T23:55:33,837 /usr/include/pcap/pcap.h:568:46: note: expected ‘pcap_handler’ {aka ‘void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)’} but argument is of type ‘void (*)(void *, struct pcap_pkthdr *, char *)’ 2023-09-08T23:55:33,838 568 | PCAP_API int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *); 2023-09-08T23:55:33,839 | ^~~~~~~~~~~~ 2023-09-08T23:55:33,843 pcap.c: In function ‘__pyx_pf_4pcap_4pcap_20loop’: 2023-09-08T23:55:33,846 pcap.c:3387:75: warning: passing argument 3 of ‘pcap_ex_next’ from incompatible pointer type [-Wincompatible-pointer-types] 2023-09-08T23:55:33,847 3387 | __pyx_v_n = pcap_ex_next(__pyx_v_self->__pyx___pcap, (&__pyx_v_hdr), (&__pyx_v_pkt)); 2023-09-08T23:55:33,847 | ~^~~~~~~~~~~~~ 2023-09-08T23:55:33,848 | | 2023-09-08T23:55:33,848 | char ** 2023-09-08T23:55:33,849 In file included from pcap.c:237: 2023-09-08T23:55:33,849 pcap_ex.h:13:69: note: expected ‘u_char **’ {aka ‘unsigned char **’} but argument is of type ‘char **’ 2023-09-08T23:55:33,850 13 | int pcap_ex_next(pcap_t *pcap, struct pcap_pkthdr **hdr, u_char **pkt); 2023-09-08T23:55:33,850 | ~~~~~~~~~^~~ 2023-09-08T23:55:33,851 pcap.c:3433:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,851 3433 | __pyx_t_2 = PyBuffer_FromMemory(__pyx_v_pkt, __pyx_v_hdr->caplen); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,852 | ^ 2023-09-08T23:55:33,853 pcap.c: In function ‘__pyx_pf_4pcap_4pcap_22sendpacket’: 2023-09-08T23:55:33,856 pcap.c:3642:61: warning: pointer targets in passing argument 2 of ‘pcap_sendpacket’ differ in signedness [-Wpointer-sign] 2023-09-08T23:55:33,857 3642 | __pyx_v_ret = pcap_sendpacket(__pyx_v_self->__pyx___pcap, __pyx_t_1, __pyx_t_2); 2023-09-08T23:55:33,858 | ^~~~~~~~~ 2023-09-08T23:55:33,858 | | 2023-09-08T23:55:33,859 | char * 2023-09-08T23:55:33,859 /usr/include/pcap/pcap.h:598:43: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 2023-09-08T23:55:33,860 598 | PCAP_API int pcap_sendpacket(pcap_t *, const u_char *, int); 2023-09-08T23:55:33,861 | ^~~~~~~~~~~~~~ 2023-09-08T23:55:33,862 pcap.c: In function ‘__pyx_pf_4pcap_4pcap_30__next__’: 2023-09-08T23:55:33,865 pcap.c:3999:75: warning: passing argument 3 of ‘pcap_ex_next’ from incompatible pointer type [-Wincompatible-pointer-types] 2023-09-08T23:55:33,866 3999 | __pyx_v_n = pcap_ex_next(__pyx_v_self->__pyx___pcap, (&__pyx_v_hdr), (&__pyx_v_pkt)); 2023-09-08T23:55:33,866 | ~^~~~~~~~~~~~~ 2023-09-08T23:55:33,867 | | 2023-09-08T23:55:33,867 | char ** 2023-09-08T23:55:33,868 pcap_ex.h:13:69: note: expected ‘u_char **’ {aka ‘unsigned char **’} but argument is of type ‘char **’ 2023-09-08T23:55:33,868 13 | int pcap_ex_next(pcap_t *pcap, struct pcap_pkthdr **hdr, u_char **pkt); 2023-09-08T23:55:33,869 | ~~~~~~~~~^~~ 2023-09-08T23:55:33,870 pcap.c:4046:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,870 4046 | __pyx_t_2 = PyBuffer_FromMemory(__pyx_v_pkt, __pyx_v_hdr->caplen); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,871 | ^ 2023-09-08T23:55:33,883 pcap.c: In function ‘__pyx_tp_dealloc_4pcap_bpf’: 2023-09-08T23:55:33,886 pcap.c:4884:5: error: lvalue required as increment operand 2023-09-08T23:55:33,888 4884 | ++Py_REFCNT(o); 2023-09-08T23:55:33,888 | ^~ 2023-09-08T23:55:33,891 pcap.c:4886:5: error: lvalue required as decrement operand 2023-09-08T23:55:33,891 4886 | --Py_REFCNT(o); 2023-09-08T23:55:33,892 | ^~ 2023-09-08T23:55:33,894 pcap.c: In function ‘__pyx_tp_dealloc_4pcap_pcap’: 2023-09-08T23:55:33,898 pcap.c:4974:5: error: lvalue required as increment operand 2023-09-08T23:55:33,898 4974 | ++Py_REFCNT(o); 2023-09-08T23:55:33,899 | ^~ 2023-09-08T23:55:33,902 pcap.c:4976:5: error: lvalue required as decrement operand 2023-09-08T23:55:33,902 4976 | --Py_REFCNT(o); 2023-09-08T23:55:33,903 | ^~ 2023-09-08T23:55:33,909 pcap.c: In function ‘__Pyx_InitCachedConstants’: 2023-09-08T23:55:33,914 pcap.c:5231:228: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,914 5231 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_ex_name, 396, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,915 | ^~~ 2023-09-08T23:55:33,915 | | 2023-09-08T23:55:33,916 | int 2023-09-08T23:55:33,916 pcap.c:70:72: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,917 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,917 | ^~~~~ 2023-09-08T23:55:33,918 In file included from /usr/include/python3.11/Python.h:71: 2023-09-08T23:55:33,919 /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’ 2023-09-08T23:55:33,919 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,920 | ^~~~~~~~~~ 2023-09-08T23:55:33,921 pcap.c:5231:233: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T23:55:33,921 5231 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_ex_name, 396, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,922 | ^~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,922 | | 2023-09-08T23:55:33,923 | PyObject * {aka struct _object *} 2023-09-08T23:55:33,924 pcap.c:70:79: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,924 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,925 | ^~~~ 2023-09-08T23:55:33,925 /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 2023-09-08T23:55:33,925 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,926 | ^~~ 2023-09-08T23:55:33,926 pcap.c:70:11: error: too few arguments to function ‘PyCode_New’ 2023-09-08T23:55:33,927 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,927 | ^~~~~~~~~~ 2023-09-08T23:55:33,928 pcap.c:5231:33: note: in expansion of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,928 5231 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_ex_name, 396, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,929 | ^~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,929 /usr/include/python3.11/cpython/code.h:148:28: note: declared here 2023-09-08T23:55:33,930 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New( 2023-09-08T23:55:33,930 | ^~~~~~~~~~ 2023-09-08T23:55:33,931 pcap.c:5243:230: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,932 5243 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_lookupdev, 399, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,932 | ^~~ 2023-09-08T23:55:33,933 | | 2023-09-08T23:55:33,934 | int 2023-09-08T23:55:33,934 pcap.c:70:72: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,935 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,935 | ^~~~~ 2023-09-08T23:55:33,936 /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’ 2023-09-08T23:55:33,936 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,937 | ^~~~~~~~~~ 2023-09-08T23:55:33,938 pcap.c:5243:235: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T23:55:33,938 5243 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_lookupdev, 399, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,939 | ^~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,939 | | 2023-09-08T23:55:33,940 | PyObject * {aka struct _object *} 2023-09-08T23:55:33,940 pcap.c:70:79: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,940 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,941 | ^~~~ 2023-09-08T23:55:33,942 /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 2023-09-08T23:55:33,942 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,943 | ^~~ 2023-09-08T23:55:33,943 pcap.c:70:11: error: too few arguments to function ‘PyCode_New’ 2023-09-08T23:55:33,944 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,945 | ^~~~~~~~~~ 2023-09-08T23:55:33,945 pcap.c:5243:33: note: in expansion of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,946 5243 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_lookupdev, 399, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,946 | ^~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,947 /usr/include/python3.11/cpython/code.h:148:28: note: declared here 2023-09-08T23:55:33,947 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New( 2023-09-08T23:55:33,948 | ^~~~~~~~~~ 2023-09-08T23:55:33,949 pcap.c:5255:232: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,949 5255 | __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(0, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_findalldevs, 408, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,950 | ^~~ 2023-09-08T23:55:33,951 | | 2023-09-08T23:55:33,951 | int 2023-09-08T23:55:33,952 pcap.c:70:72: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,952 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,953 | ^~~~~ 2023-09-08T23:55:33,953 /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’ 2023-09-08T23:55:33,954 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,955 | ^~~~~~~~~~ 2023-09-08T23:55:33,955 pcap.c:5255:237: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T23:55:33,956 5255 | __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(0, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_findalldevs, 408, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,956 | ^~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,957 | | 2023-09-08T23:55:33,957 | PyObject * {aka struct _object *} 2023-09-08T23:55:33,958 pcap.c:70:79: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,959 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,959 | ^~~~ 2023-09-08T23:55:33,960 /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 2023-09-08T23:55:33,960 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,961 | ^~~ 2023-09-08T23:55:33,962 pcap.c:70:11: error: too few arguments to function ‘PyCode_New’ 2023-09-08T23:55:33,962 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,963 | ^~~~~~~~~~ 2023-09-08T23:55:33,963 pcap.c:5255:33: note: in expansion of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,964 5255 | __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(0, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_findalldevs, 408, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,965 | ^~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,966 /usr/include/python3.11/cpython/code.h:148:28: note: declared here 2023-09-08T23:55:33,966 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New( 2023-09-08T23:55:33,967 | ^~~~~~~~~~ 2023-09-08T23:55:33,967 pcap.c:5267:232: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:33,968 5267 | __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 6, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_lookupnet, 429, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,968 | ^~~ 2023-09-08T23:55:33,968 | | 2023-09-08T23:55:33,969 | int 2023-09-08T23:55:33,969 pcap.c:70:72: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,970 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,971 | ^~~~~ 2023-09-08T23:55:33,971 /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’ 2023-09-08T23:55:33,972 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,972 | ^~~~~~~~~~ 2023-09-08T23:55:33,973 pcap.c:5267:237: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T23:55:33,974 5267 | __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 6, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_lookupnet, 429, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,974 | ^~~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,975 | | 2023-09-08T23:55:33,976 | PyObject * {aka struct _object *} 2023-09-08T23:55:33,976 pcap.c:70:79: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,977 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,978 | ^~~~ 2023-09-08T23:55:33,978 /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 2023-09-08T23:55:33,979 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:33,980 | ^~~ 2023-09-08T23:55:33,980 pcap.c:70:11: error: too few arguments to function ‘PyCode_New’ 2023-09-08T23:55:33,981 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:33,982 | ^~~~~~~~~~ 2023-09-08T23:55:33,982 pcap.c:5267:34: note: in expansion of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:33,983 5267 | __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 6, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_root_pypcap_pcap_pyx, __pyx_n_s_lookupnet, 429, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 2023-09-08T23:55:33,983 | ^~~~~~~~~~~~~~~~ 2023-09-08T23:55:33,984 /usr/include/python3.11/cpython/code.h:148:28: note: declared here 2023-09-08T23:55:33,985 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New( 2023-09-08T23:55:33,985 | ^~~~~~~~~~ 2023-09-08T23:55:33,986 pcap.c: In function ‘PyInit_pcap’: 2023-09-08T23:55:33,989 pcap.c:5388:23: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 2023-09-08T23:55:33,990 5388 | __pyx_type_4pcap_bpf.tp_print = 0; 2023-09-08T23:55:33,991 | ^ 2023-09-08T23:55:33,995 pcap.c:5392:24: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 2023-09-08T23:55:33,995 5392 | __pyx_type_4pcap_pcap.tp_print = 0; 2023-09-08T23:55:33,996 | ^ 2023-09-08T23:55:34,009 pcap.c: In function ‘__Pyx_ExceptionSave’: 2023-09-08T23:55:34,017 pcap.c:5909:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 2023-09-08T23:55:34,018 5909 | *type = tstate->exc_type; 2023-09-08T23:55:34,019 | ^~~~~~~~ 2023-09-08T23:55:34,019 | curexc_type 2023-09-08T23:55:34,025 pcap.c:5910:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 2023-09-08T23:55:34,026 5910 | *value = tstate->exc_value; 2023-09-08T23:55:34,026 | ^~~~~~~~~ 2023-09-08T23:55:34,027 | curexc_value 2023-09-08T23:55:34,033 pcap.c:5911:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 2023-09-08T23:55:34,033 5911 | *tb = tstate->exc_traceback; 2023-09-08T23:55:34,034 | ^~~~~~~~~~~~~ 2023-09-08T23:55:34,035 | curexc_traceback 2023-09-08T23:55:34,035 pcap.c: In function ‘__Pyx_ExceptionReset’: 2023-09-08T23:55:34,041 pcap.c:5923:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 2023-09-08T23:55:34,041 5923 | tmp_type = tstate->exc_type; 2023-09-08T23:55:34,042 | ^~~~~~~~ 2023-09-08T23:55:34,042 | curexc_type 2023-09-08T23:55:34,049 pcap.c:5924:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 2023-09-08T23:55:34,050 5924 | tmp_value = tstate->exc_value; 2023-09-08T23:55:34,050 | ^~~~~~~~~ 2023-09-08T23:55:34,051 | curexc_value 2023-09-08T23:55:34,059 pcap.c:5925:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 2023-09-08T23:55:34,059 5925 | tmp_tb = tstate->exc_traceback; 2023-09-08T23:55:34,060 | ^~~~~~~~~~~~~ 2023-09-08T23:55:34,061 | curexc_traceback 2023-09-08T23:55:34,066 pcap.c:5926:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 2023-09-08T23:55:34,067 5926 | tstate->exc_type = type; 2023-09-08T23:55:34,067 | ^~~~~~~~ 2023-09-08T23:55:34,068 | curexc_type 2023-09-08T23:55:34,074 pcap.c:5927:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 2023-09-08T23:55:34,074 5927 | tstate->exc_value = value; 2023-09-08T23:55:34,075 | ^~~~~~~~~ 2023-09-08T23:55:34,075 | curexc_value 2023-09-08T23:55:34,081 pcap.c:5928:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 2023-09-08T23:55:34,082 5928 | tstate->exc_traceback = tb; 2023-09-08T23:55:34,082 | ^~~~~~~~~~~~~ 2023-09-08T23:55:34,083 | curexc_traceback 2023-09-08T23:55:34,084 pcap.c: In function ‘__Pyx_GetException’: 2023-09-08T23:55:34,091 pcap.c:5971:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 2023-09-08T23:55:34,092 5971 | tmp_type = tstate->exc_type; 2023-09-08T23:55:34,092 | ^~~~~~~~ 2023-09-08T23:55:34,093 | curexc_type 2023-09-08T23:55:34,099 pcap.c:5972:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 2023-09-08T23:55:34,099 5972 | tmp_value = tstate->exc_value; 2023-09-08T23:55:34,100 | ^~~~~~~~~ 2023-09-08T23:55:34,100 | curexc_value 2023-09-08T23:55:34,106 pcap.c:5973:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 2023-09-08T23:55:34,107 5973 | tmp_tb = tstate->exc_traceback; 2023-09-08T23:55:34,108 | ^~~~~~~~~~~~~ 2023-09-08T23:55:34,108 | curexc_traceback 2023-09-08T23:55:34,114 pcap.c:5974:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 2023-09-08T23:55:34,114 5974 | tstate->exc_type = local_type; 2023-09-08T23:55:34,115 | ^~~~~~~~ 2023-09-08T23:55:34,116 | curexc_type 2023-09-08T23:55:34,121 pcap.c:5975:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 2023-09-08T23:55:34,122 5975 | tstate->exc_value = local_value; 2023-09-08T23:55:34,122 | ^~~~~~~~~ 2023-09-08T23:55:34,123 | curexc_value 2023-09-08T23:55:34,129 pcap.c:5976:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 2023-09-08T23:55:34,129 5976 | tstate->exc_traceback = local_tb; 2023-09-08T23:55:34,130 | ^~~~~~~~~~~~~ 2023-09-08T23:55:34,131 | curexc_traceback 2023-09-08T23:55:34,133 pcap.c: In function ‘__Pyx_ParseOptionalKeywords’: 2023-09-08T23:55:34,138 pcap.c:6113:21: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations] 2023-09-08T23:55:34,139 6113 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : 2023-09-08T23:55:34,139 | ^ 2023-09-08T23:55:34,140 In file included from /usr/include/python3.11/unicodeobject.h:1042, 2023-09-08T23:55:34,141 from /usr/include/python3.11/Python.h:51: 2023-09-08T23:55:34,142 /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 2023-09-08T23:55:34,142 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) 2023-09-08T23:55:34,143 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:34,145 pcap.c:6113:21: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations] 2023-09-08T23:55:34,145 6113 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : 2023-09-08T23:55:34,146 | ^ 2023-09-08T23:55:34,147 /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 2023-09-08T23:55:34,147 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) 2023-09-08T23:55:34,148 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:34,153 pcap.c:6129:25: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations] 2023-09-08T23:55:34,154 6129 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : 2023-09-08T23:55:34,154 | ^ 2023-09-08T23:55:34,155 /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 2023-09-08T23:55:34,155 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) 2023-09-08T23:55:34,156 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:34,159 pcap.c:6129:25: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations] 2023-09-08T23:55:34,160 6129 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : 2023-09-08T23:55:34,160 | ^ 2023-09-08T23:55:34,161 /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 2023-09-08T23:55:34,161 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) 2023-09-08T23:55:34,162 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T23:55:34,200 pcap.c: In function ‘__Pyx_CreateCodeObjectForTraceback’: 2023-09-08T23:55:34,206 pcap.c:6673:9: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T23:55:34,207 6673 | py_line, 2023-09-08T23:55:34,208 | ^~~~~~~ 2023-09-08T23:55:34,208 | | 2023-09-08T23:55:34,209 | int 2023-09-08T23:55:34,210 pcap.c:70:72: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:34,210 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:34,211 | ^~~~~ 2023-09-08T23:55:34,212 /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’ 2023-09-08T23:55:34,212 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:34,213 | ^~~~~~~~~~ 2023-09-08T23:55:34,214 pcap.c:6674:9: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T23:55:34,214 6674 | __pyx_empty_bytes /*PyObject *lnotab*/ 2023-09-08T23:55:34,215 | ^~~~~~~~~~~~~~~~~ 2023-09-08T23:55:34,215 | | 2023-09-08T23:55:34,216 | PyObject * {aka struct _object *} 2023-09-08T23:55:34,217 pcap.c:70:79: note: in definition of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:34,217 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:34,218 | ^~~~ 2023-09-08T23:55:34,218 /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 2023-09-08T23:55:34,219 151 | PyObject *, PyObject *, PyObject *, int, PyObject *, 2023-09-08T23:55:34,220 | ^~~ 2023-09-08T23:55:34,221 pcap.c:70:11: error: too few arguments to function ‘PyCode_New’ 2023-09-08T23:55:34,221 70 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) 2023-09-08T23:55:34,222 | ^~~~~~~~~~ 2023-09-08T23:55:34,222 pcap.c:6659:15: note: in expansion of macro ‘__Pyx_PyCode_New’ 2023-09-08T23:55:34,223 6659 | py_code = __Pyx_PyCode_New( 2023-09-08T23:55:34,223 | ^~~~~~~~~~~~~~~~ 2023-09-08T23:55:34,224 /usr/include/python3.11/cpython/code.h:148:28: note: declared here 2023-09-08T23:55:34,224 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New( 2023-09-08T23:55:34,225 | ^~~~~~~~~~ 2023-09-08T23:55:34,225 pcap.c: In function ‘__Pyx_AddTraceback’: 2023-09-08T23:55:34,230 pcap.c:6702:13: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 2023-09-08T23:55:34,230 6702 | py_frame->f_lineno = py_line; 2023-09-08T23:55:34,231 | ^~ 2023-09-08T23:55:34,315 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T23:55:34,458 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T23:55:34,471 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T23:55:34,471 exec(compile('"'"''"'"''"'"' 2023-09-08T23:55:34,471 # This is -- a caller that pip uses to run setup.py 2023-09-08T23:55:34,471 # 2023-09-08T23:55:34,471 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T23:55:34,471 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T23:55:34,471 # - It provides a clear error message when setuptools is not installed. 2023-09-08T23:55:34,471 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T23:55:34,471 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T23:55:34,471 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T23:55:34,471 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T23:55:34,471 import os, sys, tokenize 2023-09-08T23:55:34,471 2023-09-08T23:55:34,471 try: 2023-09-08T23:55:34,471 import setuptools 2023-09-08T23:55:34,471 except ImportError as error: 2023-09-08T23:55:34,471 print( 2023-09-08T23:55:34,471 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T23:55:34,471 "the build environment.", 2023-09-08T23:55:34,471 file=sys.stderr, 2023-09-08T23:55:34,471 ) 2023-09-08T23:55:34,471 sys.exit(1) 2023-09-08T23:55:34,471 2023-09-08T23:55:34,471 __file__ = %r 2023-09-08T23:55:34,471 sys.argv[0] = __file__ 2023-09-08T23:55:34,471 2023-09-08T23:55:34,471 if os.path.exists(__file__): 2023-09-08T23:55:34,471 filename = __file__ 2023-09-08T23:55:34,471 with tokenize.open(__file__) as f: 2023-09-08T23:55:34,471 setup_py_code = f.read() 2023-09-08T23:55:34,471 else: 2023-09-08T23:55:34,471 filename = "" 2023-09-08T23:55:34,471 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T23:55:34,471 2023-09-08T23:55:34,471 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T23:55:34,471 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-fjwlga74/pypcap_90c3b0181a334b0c8f17dd8d963fdee5/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-iexoon8c[/] 2023-09-08T23:55:34,472 [bold magenta]cwd[/]: /tmp/pip-wheel-fjwlga74/pypcap_90c3b0181a334b0c8f17dd8d963fdee5/ 2023-09-08T23:55:34,472 Building wheel for pypcap (setup.py): finished with status 'error' 2023-09-08T23:55:34,473 ERROR: Failed building wheel for pypcap 2023-09-08T23:55:34,475 Running setup.py clean for pypcap 2023-09-08T23:55:34,476 Running command python setup.py clean 2023-09-08T23:55:34,909 Found pcap headers in /usr/include/pcap/pcap.h 2023-09-08T23:55:35,686 Found libraries in /usr/lib/arm-linux-gnueabihf/libpcap.a 2023-09-08T23:55:35,688 found pcap_setdirection 2023-09-08T23:55:35,688 found pcap_setnonblock 2023-09-08T23:55:35,689 found pcap_compile_nopcap function 2023-09-08T23:55:35,689 found pcap_file function 2023-09-08T23:55:35,725 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-08T23:55:35,726 !! 2023-09-08T23:55:35,727 ******************************************************************************** 2023-09-08T23:55:35,727 Usage of dash-separated 'description-file' will not be supported in future 2023-09-08T23:55:35,728 versions. Please use the underscore name 'description_file' instead. 2023-09-08T23:55:35,729 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-08T23:55:35,729 or your builds will no longer be supported. 2023-09-08T23:55:35,730 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-08T23:55:35,731 ******************************************************************************** 2023-09-08T23:55:35,732 !! 2023-09-08T23:55:35,732 opt = self.warn_dash_deprecation(opt, section) 2023-09-08T23:55:36,261 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-08T23:55:36,262 !! 2023-09-08T23:55:36,263 ******************************************************************************** 2023-09-08T23:55:36,263 Usage of dash-separated 'description-file' will not be supported in future 2023-09-08T23:55:36,264 versions. Please use the underscore name 'description_file' instead. 2023-09-08T23:55:36,265 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-08T23:55:36,265 or your builds will no longer be supported. 2023-09-08T23:55:36,266 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-08T23:55:36,267 ******************************************************************************** 2023-09-08T23:55:36,268 !! 2023-09-08T23:55:36,268 opt = self.warn_dash_deprecation(opt, section) 2023-09-08T23:55:36,306 running clean 2023-09-08T23:55:36,351 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T23:55:36,353 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T23:55:36,353 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T23:55:36,354 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T23:55:36,355 removing 'build' 2023-09-08T23:55:36,464 Failed to build pypcap 2023-09-08T23:55:36,466 ERROR: Failed to build one or more wheels 2023-09-08T23:55:36,467 Exception information: 2023-09-08T23:55:36,467 Traceback (most recent call last): 2023-09-08T23:55:36,467 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T23:55:36,467 status = run_func(*args) 2023-09-08T23:55:36,467 ^^^^^^^^^^^^^^^ 2023-09-08T23:55:36,467 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T23:55:36,467 return func(self, options, args) 2023-09-08T23:55:36,467 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T23:55:36,467 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T23:55:36,467 raise CommandError("Failed to build one or more wheels") 2023-09-08T23:55:36,467 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T23:55:36,471 Removed build tracker: '/tmp/pip-build-tracker-0e2ajksl'