Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/f40-build-793026-138678/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/pcapy-0.11.5-23.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/f40-build-793026-138678/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7mzjlW + 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 + rm -rf /builddir/build/BUILD/pcapy-0.11.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pcapy-0.11.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-setuptools-build.patch):' Patch #0 (fix-setuptools-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file setup.py + echo 'Patch #1 (py_ssize_t.patch):' Patch #1 (py_ssize_t.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file bpfobj.cc patching file pcap_pkthdr.cc patching file pcapdumper.cc patching file pcapobj.cc patching file pcapy.cc + echo 'Patch #2 (py313.patch):' Patch #2 (py313.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file pcapobj.cc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ak0xcw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.12/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '0.11.5-dev' to '0.11.5.dev0' self.metadata.version = self._normalize_version(self.metadata.version) running build running build_ext building 'pcapy' extension creating build creating build/temp.linux-riscv64-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/python3.12 -c bpfobj.cc -o build/temp.linux-riscv64-cpython-312/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 -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/python3.12 -c pcap_pkthdr.cc -o build/temp.linux-riscv64-cpython-312/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 -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/python3.12 -c pcapdumper.cc -o build/temp.linux-riscv64-cpython-312/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 -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/python3.12 -c pcapobj.cc -o build/temp.linux-riscv64-cpython-312/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*) | ^~ 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 -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -I/usr/include/python3.12 -c pcapy.cc -o build/temp.linux-riscv64-cpython-312/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-riscv64-cpython-312 g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer build/temp.linux-riscv64-cpython-312/bpfobj.o build/temp.linux-riscv64-cpython-312/pcap_pkthdr.o build/temp.linux-riscv64-cpython-312/pcapdumper.o build/temp.linux-riscv64-cpython-312/pcapobj.o build/temp.linux-riscv64-cpython-312/pcapy.o -L/usr/lib64 -lpcap -o build/lib.linux-riscv64-cpython-312/pcapy.cpython-312-riscv64-linux-gnu.so + sed -i 's/\r//' LICENSE + sed -i 's/\r//' README + sed -i 's/\r//' pcapy.html + iconv -f IBM850 -t UTF8 pcapy.html + mv pcapy.html.tmp pcapy.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.76T4oK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 --prefix /usr /usr/lib/python3.12/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '0.11.5-dev' to '0.11.5.dev0' self.metadata.version = self._normalize_version(self.metadata.version) running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/lib64/python3.12/site-packages copying build/lib.linux-riscv64-cpython-312/pcapy.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/lib64/python3.12/site-packages writing byte-compilation script '/tmp/tmppmtrrmwo.py' /usr/bin/python3 /tmp/tmppmtrrmwo.py removing /tmp/tmppmtrrmwo.py running install_data creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy creating /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy/tests copying tests/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy/tests copying tests/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/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-23.fc40.riscv64/usr/lib64/python3.12/site-packages/pcapy-0.11.5.dev0-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/pcapy + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.11.5-23.fc40 --unique-debug-suffix -0.11.5-23.fc40.riscv64 --unique-debug-src-base pcapy-0.11.5-23.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pcapy-0.11.5 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/pcapy-0.11.5-23.fc40.riscv64 108 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-pcapy-0.11.5-23.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.brCXKI + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/python3-pcapy + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/python3-pcapy + cp -pr /builddir/build/BUILD/pcapy-0.11.5/README /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/python3-pcapy + cp -pr /builddir/build/BUILD/pcapy-0.11.5/pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/doc/python3-pcapy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ev93ly + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/licenses/python3-pcapy + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/licenses/python3-pcapy + cp -pr /builddir/build/BUILD/pcapy-0.11.5/LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64/usr/share/licenses/python3-pcapy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pcapy = 0.11.5-23.fc40 python3-pcapy = 0.11.5-23.fc40 python3-pcapy(riscv-64) = 0.11.5-23.fc40 python3.12-pcapy = 0.11.5-23.fc40 python3.12dist(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-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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.12 rtld(GNU_HASH) Obsoletes: python-pcapy < 0.11.5-23.fc40 Processing files: pcapy-debugsource-0.11.5-23.fc40.riscv64 Provides: pcapy-debugsource = 0.11.5-23.fc40 pcapy-debugsource(riscv-64) = 0.11.5-23.fc40 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-23.fc40.riscv64 Provides: debuginfo(build-id) = 5ef58abbfcf55e92a8dee6f55c68e08afc468d2f python-pcapy-debuginfo = 0.11.5-23.fc40 python3-pcapy-debuginfo = 0.11.5-23.fc40 python3-pcapy-debuginfo(riscv-64) = 0.11.5-23.fc40 python3.12-pcapy-debuginfo = 0.11.5-23.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pcapy-debugsource(riscv-64) = 0.11.5-23.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 Wrote: /builddir/build/RPMS/python3-pcapy-debuginfo-0.11.5-23.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/pcapy-debugsource-0.11.5-23.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-0.11.5-23.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Pl95kR + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-23.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.xAK2rB + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/pcapy-0.11.5-SPECPARTS + rm -rf pcapy-0.11.5 pcapy-0.11.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0