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/f37-build-638825-70909/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=432000uid=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 warning: Macro expanded in comment on line 22: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658880000 Wrote: /builddir/build/SRPMS/pcapy-0.11.5-16.fc37.src.rpm RPM build warnings: Macro expanded in comment on line 22: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz 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/f37-build-638825-70909/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=432000uid=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 warning: Macro expanded in comment on line 22: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658880000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oLjAp4 + 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 . + 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 Patch #1 (py_ssize_t.patch): + echo '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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hISEa3 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pcapy-0.11.5/.package_note-pcapy-0.11.5-16.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh pcapy 0.11.5-16.fc37 riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pcapy-0.11.5/.package_note-pcapy-0.11.5-16.fc37.riscv64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.11/site-packages/setuptools/dist.py:531: 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-riscv64-cpython-311 gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c bpfobj.cc -o build/temp.linux-riscv64-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: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 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcap_pkthdr.cc -o build/temp.linux-riscv64-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 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcapdumper.cc -o build/temp.linux-riscv64-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 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcapobj.cc -o build/temp.linux-riscv64-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 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c pcapy.cc -o build/temp.linux-riscv64-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:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ creating build/lib.linux-riscv64-cpython-311 g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pcapy-0.11.5/.package_note-pcapy-0.11.5-16.fc37.riscv64.ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-cpython-311/bpfobj.o build/temp.linux-riscv64-cpython-311/pcap_pkthdr.o build/temp.linux-riscv64-cpython-311/pcapdumper.o build/temp.linux-riscv64-cpython-311/pcapobj.o build/temp.linux-riscv64-cpython-311/pcapy.o -L/usr/lib64 -lpcap -o build/lib.linux-riscv64-cpython-311/pcapy.cpython-311-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.rHs6EH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pcapy-0.11.5/.package_note-pcapy-0.11.5-16.fc37.riscv64.ld' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pcapy-0.11.5/.package_note-pcapy-0.11.5-16.fc37.riscv64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 --prefix /usr /usr/lib/python3.11/site-packages/setuptools/dist.py:531: 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-16.fc37.riscv64/usr creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib64/python3.11/site-packages copying build/lib.linux-riscv64-cpython-311/pcapy.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmph06_p_px.py' /usr/bin/python3 /tmp/tmph06_p_px.py removing /tmp/tmph06_p_px.py running install_data creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy creating /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy/tests copying tests/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy/tests copying tests/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.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-16.fc37.riscv64/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-16.fc37.riscv64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/pcapy + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.11.5-16.fc37 --unique-debug-suffix -0.11.5-16.fc37.riscv64 --unique-debug-src-base pcapy-0.11.5-16.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pcapy-0.11.5 extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib64/python3.11/site-packages/pcapy.cpython-311-riscv64-linux-gnu.so original debug info size: 356kB, size after compression: 308kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 108 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-pcapy-0.11.5-16.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vYYCbp + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/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-16.fc37.riscv64/usr/share/doc/python3-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/python3-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/doc/python3-pcapy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bfSNyy + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/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-16.fc37.riscv64/usr/share/licenses/python3-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64/usr/share/licenses/python3-pcapy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pcapy = 0.11.5-16.fc37 python3-pcapy = 0.11.5-16.fc37 python3-pcapy(riscv-64) = 0.11.5-16.fc37 python3.11-pcapy = 0.11.5-16.fc37 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-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.11 rtld(GNU_HASH) Obsoletes: python-pcapy < 0.11.5-16.fc37 Processing files: pcapy-debugsource-0.11.5-16.fc37.riscv64 Provides: pcapy-debugsource = 0.11.5-16.fc37 pcapy-debugsource(riscv-64) = 0.11.5-16.fc37 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-16.fc37.riscv64 Provides: debuginfo(build-id) = 6faf0541f31af24e87f2697b0f5634de3eaa9e55 python-pcapy-debuginfo = 0.11.5-16.fc37 python3-pcapy-debuginfo = 0.11.5-16.fc37 python3-pcapy-debuginfo(riscv-64) = 0.11.5-16.fc37 python3.11-pcapy-debuginfo = 0.11.5-16.fc37 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-16.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 Wrote: /builddir/build/RPMS/python3-pcapy-debuginfo-0.11.5-16.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/pcapy-debugsource-0.11.5-16.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-0.11.5-16.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.awz4A5 + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-16.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.fEO7T7 + umask 022 + cd /builddir/build/BUILD + rm -rf pcapy-0.11.5 pcapy-0.11.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 22: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Child return code was: 0