Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-65373-16665/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/pcapy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/pcapy-0.11.5-5.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-65373-16665/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/pcapy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fmAeOr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcapy-0.11.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pcapy-0.11.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pcapy-0.11.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-setuptools-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/py_ssize_t.patch + iconv -f IBM850 -t UTF8 pcapy.html + mv pcapy.html.tmp pcapy.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wiq8Lz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pcapy-0.11.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' warnings.warn(tmpl.format(**locals())) running build running build_ext building 'pcapy' extension creating build creating build/temp.linux-aarch64-cpython-311 gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c bpfobj.cc -o build/temp.linux-aarch64-cpython-311/bpfobj.o bpfobj.cc:29:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 29 | bpfprog_dealloc(register bpfobject* bpf) | ^~~ bpfobj.cc:41:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 41 | static PyObject* p_filter(register bpfobject* bpf, PyObject* args); | ^~~ bpfobj.cc:42:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 42 | static PyObject* p_get_bpf(register bpfobject* bpf, PyObject* args); | ^~~ bpfobj.cc: In function ‘PyObject* p_new_bpfobject(PyTypeObject*, PyObject*, PyObject*)’: bpfobj.cc:182:26: warning: ‘int pcap_compile_nopcap(int, int, bpf_program*, const char*, int, bpf_u_int32)’ is deprecated: use pcap_open_dead(), pcap_compile() and pcap_close() [-Wdeprecated-declarations] 182 | if (pcap_compile_nopcap((1<<16), linktype, &bpfprog, filter_string, 0, 0)){ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from bpfobj.cc:12: /usr/include/pcap/pcap.h:618:17: note: declared here 618 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, | ^~~~~~~~~~~~~~~~~~~ bpfobj.cc: At global scope: bpfobj.cc:192:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 192 | p_filter(register bpfobject* bpf, PyObject* args) | ^~~ bpfobj.cc:222:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 222 | p_get_bpf(register bpfobject* bpf, PyObject* args) | ^~~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcap_pkthdr.cc -o build/temp.linux-aarch64-cpython-311/pcap_pkthdr.o pcap_pkthdr.cc:37:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 37 | pcap_dealloc(register pkthdr* pp) | ^~ pcap_pkthdr.cc:44:43: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 44 | static PyObject* p_getts(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:45:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 45 | static PyObject* p_getcaplen(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:46:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 46 | static PyObject* p_getlen(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:151:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 151 | p_getts(register pkthdr* pp, PyObject* args) | ^~ pcap_pkthdr.cc:162:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 162 | p_getcaplen(register pkthdr* pp, PyObject* args) | ^~ pcap_pkthdr.cc:173:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | p_getlen(register pkthdr* pp, PyObject* args) | ^~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcapdumper.cc -o build/temp.linux-aarch64-cpython-311/pcapdumper.o pcapdumper.cc:25:60: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 25 | static bool validate_pcapdumper(register const pcapdumper* pp); | ^~ pcapdumper.cc:30:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 30 | pcap_dealloc(register pcapdumper* pp) | ^~ pcapdumper.cc:42:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 42 | static PyObject* p_close(register pcapdumper* pp, PyObject* args); | ^~ pcapdumper.cc:43:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 43 | static PyObject* p_dump(register pcapdumper* pp, PyObject* args); | ^~ pcapdumper.cc:143:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 143 | p_dump(register pcapdumper* pp, PyObject* args) | ^~ pcapdumper.cc:181:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | p_close(register pcapdumper* pp, PyObject* args) | ^~ pcapdumper.cc:197:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 197 | validate_pcapdumper(register const pcapdumper* pp){ | ^~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcapobj.cc -o build/temp.linux-aarch64-cpython-311/pcapobj.o pcapobj.cc:39:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 39 | p_close(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:50:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 50 | pcap_dealloc(register pcapobject* pp) | ^~ pcapobj.cc:65:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 65 | static PyObject* p_getnet(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:66:49: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 66 | static PyObject* p_getmask(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:67:52: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 67 | static PyObject* p_setfilter( register pcapobject* pp, PyObject* args ); | ^~ pcapobj.cc:68:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 68 | static PyObject* p_next(register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:69:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 69 | static PyObject* p_dispatch(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:70:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 70 | static PyObject* p_loop(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:71:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 71 | static PyObject* p_datalink(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:72:54: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 72 | static PyObject* p_setdirection(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:73:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 73 | static PyObject* p_setnonblock(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:74:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 74 | static PyObject* p_getnonblock(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:75:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 75 | static PyObject* p_dump_open(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:76:52: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 76 | static PyObject* p_sendpacket(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:77:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 77 | static PyObject* p_stats( register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:78:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 78 | static PyObject* p__enter__( register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:79:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 79 | static PyObject* p_getfd(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:80:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 80 | static PyObject* p_set_snaplen(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:81:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | static PyObject* p_set_promisc(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:82:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 82 | static PyObject* p_set_timeout(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:83:57: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 83 | static PyObject* p_set_buffer_size(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:84:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 84 | static PyObject* p_set_rfmon(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:85:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 85 | static PyObject* p_activate(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:245:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 245 | p_getnet(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:262:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 262 | p_getmask(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:279:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 279 | p_setfilter(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:316:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 316 | p_next(register pcapobject* pp, PyObject*) | ^~ In file included from /usr/include/python3.11/Python.h:95, from pcapobj.cc:12: pcapobj.cc: In function ‘void PythonCallBack(u_char*, const pcap_pkthdr*, const u_char*)’: /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapobj.cc:414:12: note: in expansion of macro ‘PyEval_CallObject’ 414 | result = PyEval_CallObject(pctx->pyfunc,arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapobj.cc: At global scope: pcapobj.cc:429:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 429 | p_dispatch(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:462:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 462 | p_stats(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:484:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 484 | p__enter__( register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:500:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 500 | p_dump_open(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:529:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 529 | p_loop(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:564:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 564 | p_datalink(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:580:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 580 | p_setdirection(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:606:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 606 | p_setnonblock(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:633:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 633 | p_getnonblock(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:654:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 654 | p_set_snaplen(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:674:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 674 | p_set_promisc(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:694:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 694 | p_set_timeout(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:714:40: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 714 | p_set_buffer_size(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:734:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 734 | p_set_rfmon(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:754:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 754 | p_activate(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:770:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 770 | p_sendpacket(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:810:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 810 | p_getfd(register pcapobject* pp, PyObject* args) | ^~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcapy.cc -o build/temp.linux-aarch64-cpython-311/pcapy.o pcapy.cc: In function ‘PyObject* lookupdev(PyObject*, PyObject*)’: pcapy.cc:37:23: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 37 | dev = pcap_lookupdev(errbuff); | ~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/pcap.h:43, from pcapy.cc:12: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ creating build/lib.linux-aarch64-cpython-311 g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-cpython-311/bpfobj.o build/temp.linux-aarch64-cpython-311/pcap_pkthdr.o build/temp.linux-aarch64-cpython-311/pcapdumper.o build/temp.linux-aarch64-cpython-311/pcapobj.o build/temp.linux-aarch64-cpython-311/pcapy.o -L/usr/lib64 -lpcap -o build/lib.linux-aarch64-cpython-311/pcapy.cpython-311-aarch64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GnXOzw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64 + cd pcapy-0.11.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64 /usr/lib/python3.11/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' warnings.warn(tmpl.format(**locals())) running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64/python3.11/site-packages copying build/lib.linux-aarch64-cpython-311/pcapy.cpython-311-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmpzupwkdhz.py' /usr/bin/python3 /tmp/tmpzupwkdhz.py removing /tmp/tmpzupwkdhz.py running install_data creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy creating /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy/tests copying tests/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy/tests copying tests/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy/tests running install_egg_info running egg_info creating pcapy.egg-info writing pcapy.egg-info/PKG-INFO writing dependency_links to pcapy.egg-info/dependency_links.txt writing top-level names to pcapy.egg-info/top_level.txt writing manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pcapy.egg-info/SOURCES.txt' Copying pcapy.egg-info to /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64/python3.11/site-packages/pcapy-0.11.5.dev0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/pcapy + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.11.5-5.oc9 --unique-debug-suffix -0.11.5-5.oc9.aarch64 --unique-debug-src-base pcapy-0.11.5-5.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pcapy-0.11.5 extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64/python3.11/site-packages/pcapy.cpython-311-aarch64-linux-gnu.so 108 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-pcapy-0.11.5-5.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s33MlF + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/python3-pcapy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/python3-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/python3-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/doc/python3-pcapy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.puK6nC + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/licenses/python3-pcapy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/licenses/python3-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64/usr/share/licenses/python3-pcapy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pcapy = 0.11.5-5.oc9 python3-pcapy = 0.11.5-5.oc9 python3-pcapy(aarch-64) = 0.11.5-5.oc9 python3.11-pcapy = 0.11.5-5.oc9 python3.11dist(pcapy) = 0.11.5~~dev0 python3dist(pcapy) = 0.11.5~~dev0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libpcap.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python3.11-pcapy < 0.11.5-5.oc9 Processing files: pcapy-debugsource-0.11.5-5.oc9.aarch64 Provides: pcapy-debugsource = 0.11.5-5.oc9 pcapy-debugsource(aarch-64) = 0.11.5-5.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pcapy-debuginfo-0.11.5-5.oc9.aarch64 Provides: debuginfo(build-id) = f7bed1a5dae3dd1a8fd17dc4d8fb9c495eb2bf5c python-pcapy-debuginfo = 0.11.5-5.oc9 python3-pcapy-debuginfo = 0.11.5-5.oc9 python3-pcapy-debuginfo(aarch-64) = 0.11.5-5.oc9 python3.11-pcapy-debuginfo = 0.11.5-5.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pcapy-debugsource(aarch-64) = 0.11.5-5.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.11.5-5.oc9.aarch64 Wrote: /builddir/build/RPMS/pcapy-debugsource-0.11.5-5.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-debuginfo-0.11.5-5.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-0.11.5-5.oc9.aarch64.rpm Child return code was: 0