Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/f31-build-67706-30063/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 23: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz BUILDSTDERR: warning: line 46: It's not recommended to have unversioned Obsoletes: Obsoletes: pcapy BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 73: %endif # with_python3 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/pcapy-0.11.5-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/f31-build-67706-30063/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 23: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz BUILDSTDERR: warning: line 46: It's not recommended to have unversioned Obsoletes: Obsoletes: pcapy BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 73: %endif # with_python3 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IIM14u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcapy-0.11.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/pcapy-0.11.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcapy-0.11.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0NN9Iu + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' BUILDSTDERR: /usr/lib/python2.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' BUILDSTDERR: normalized_version, BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6, BUILDSTDERR: from /usr/include/python2.7/Python.h:8, BUILDSTDERR: from bpfobj.cc:11: BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1229: warning: "_POSIX_C_SOURCE" redefined BUILDSTDERR: 1229 | #define _POSIX_C_SOURCE 200112L BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/inttypes.h:25, BUILDSTDERR: from /usr/include/pcap/pcap-inttypes.h:114, BUILDSTDERR: from /usr/include/pcap/pcap.h:74, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from bpfobj.cc:10: BUILDSTDERR: /usr/include/features.h:266: note: this is the location of the previous definition BUILDSTDERR: 266 | # define _POSIX_C_SOURCE 200809L BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6, BUILDSTDERR: from /usr/include/python2.7/Python.h:8, BUILDSTDERR: from bpfobj.cc:11: BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1251: warning: "_XOPEN_SOURCE" redefined BUILDSTDERR: 1251 | #define _XOPEN_SOURCE 600 BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/inttypes.h:25, BUILDSTDERR: from /usr/include/pcap/pcap-inttypes.h:114, BUILDSTDERR: from /usr/include/pcap/pcap.h:74, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from bpfobj.cc:10: BUILDSTDERR: /usr/include/features.h:203: note: this is the location of the previous definition BUILDSTDERR: 203 | # define _XOPEN_SOURCE 700 BUILDSTDERR: | running build running build_ext building 'pcapy' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python2.7 -c pcapdumper.cc -o build/temp.linux-riscv64-2.7/pcapdumper.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python2.7 -c bpfobj.cc -o build/temp.linux-riscv64-2.7/bpfobj.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python2.7 -c pcapobj.cc -o build/temp.linux-riscv64-2.7/pcapobj.o BUILDSTDERR: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -WerIn file included from /usr/include/python2.7/pyconfig.h:6, BUILDSTDERR: from /usr/include/python2.7/Python.h:8, BUILDSTDERR: from pcapy.cc:11: BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1229: warning: "_POSIX_C_SOURCE" redefined BUILDSTDERR: 1229 | #define _POSIX_C_SOURCE 200112L BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/inttypes.h:25, BUILDSTDERR: from /usr/include/pcap/pcap-inttypes.h:114, BUILDSTDERR: from /usr/include/pcap/pcap.h:74, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from pcapy.cc:10: BUILDSTDERR: /usr/include/features.h:266: note: this is the location of the previous definition BUILDSTDERR: 266 | # define _POSIX_C_SOURCE 200809L BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6, BUILDSTDERR: from /usr/include/python2.7/Python.h:8, BUILDSTDERR: from pcapy.cc:11: BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1251: warning: "_XOPEN_SOURCE" redefined BUILDSTDERR: 1251 | #define _XOPEN_SOURCE 600 BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/inttypes.h:25, BUILDSTDERR: from /usr/include/pcap/pcap-inttypes.h:114, BUILDSTDERR: from /usr/include/pcap/pcap.h:74, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from pcapy.cc:10: BUILDSTDERR: /usr/include/features.h:203: note: this is the location of the previous definition BUILDSTDERR: 203 | # define _XOPEN_SOURCE 700 BUILDSTDERR: | BUILDSTDERR: pcapy.cc: In function 'PyObject* lookupdev(PyObject*, PyObject*)': BUILDSTDERR: pcapy.cc:35:31: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 35 | dev = pcap_lookupdev(errbuff); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from pcapy.cc:10: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: 326 | PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc:35:31: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 35 | dev = pcap_lookupdev(errbuff); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from pcapy.cc:10: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: 326 | PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc: At global scope: BUILDSTDERR: pcapy.cc:264:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 264 | "\nA wrapper for the Packet Capture (PCAP) library\n"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc: In function 'void initpcapy()': BUILDSTDERR: pcapy.cc:328:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 328 | PcapError = PyErr_NewException("pcapy.PcapError", NULL, NULL ); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc:329:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 329 | BPFError = PyErr_NewException("pcapy.BPFError", NULL, NULL ); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' ror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python2.7 -c pcap_pkthdr.cc -o build/temp.linux-riscv64-2.7/pcap_pkthdr.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python2.7 -c pcapy.cc -o build/temp.linux-riscv64-2.7/pcapy.o creating build/lib.linux-riscv64-2.7 g++ -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-2.7/pcapdumper.o build/temp.linux-riscv64-2.7/bpfobj.o build/temp.linux-riscv64-2.7/pcapobj.o build/temp.linux-riscv64-2.7/pcap_pkthdr.o build/temp.linux-riscv64-2.7/pcapy.o -L/usr/lib64 -lpcap -lpython2.7 -o build/lib.linux-riscv64-2.7/pcapy.so running build running build_ext building 'pcapy' extension creating build/temp.linux-riscv64-3.7 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c pcapdumper.cc -o build/temp.linux-riscv64-3.7/pcapdumper.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c bpfobj.cc -o build/temp.linux-riscv64-3.7/bpfobj.o BUILDSTDERR: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONpcapy.cc: In function ‘PyObject* lookupdev(PyObject*, PyObject*)’: BUILDSTDERR: pcapy.cc:35:31: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 35 | dev = pcap_lookupdev(errbuff); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from pcapy.cc:10: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: 326 | PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc:35:31: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 35 | dev = pcap_lookupdev(errbuff); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from pcapy.cc:10: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: 326 | PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' BUILDSTDERR: normalized_version, + 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 BUILDSTDERR: ++ jobs -p + exit 0 S -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c pcapobj.cc -o build/temp.linux-riscv64-3.7/pcapobj.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c pcap_pkthdr.cc -o build/temp.linux-riscv64-3.7/pcap_pkthdr.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c pcapy.cc -o build/temp.linux-riscv64-3.7/pcapy.o creating build/lib.linux-riscv64-3.7 g++ -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/pcapdumper.o build/temp.linux-riscv64-3.7/bpfobj.o build/temp.linux-riscv64-3.7/pcapobj.o build/temp.linux-riscv64-3.7/pcap_pkthdr.o build/temp.linux-riscv64-3.7/pcapy.o -L/usr/lib64 -lpcap -lpython3.7m -o build/lib.linux-riscv64-3.7/pcapy.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rzzKUv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 + cd pcapy-0.11.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 BUILDSTDERR: /usr/lib/python2.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' BUILDSTDERR: normalized_version, + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 BUILDSTDERR: /usr/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' BUILDSTDERR: normalized_version, + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.11.5-2.fc31 --unique-debug-suffix -0.11.5-2.fc31.riscv64 --unique-debug-src-base pcapy-0.11.5-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pcapy-0.11.5 BUILDSTDERR: 108 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 running install running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/pcapy.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7/site-packages writing byte-compilation script '/tmp/tmpSiZbqv.py' /usr/bin/python2 -O /tmp/tmpSiZbqv.py removing /tmp/tmpSiZbqv.py running install_data creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy/tests copying tests/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy/tests copying tests/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/pcapy/tests running install_egg_info running egg_info creating pcapy.egg-info writing pcapy.egg-info/PKG-INFO writing top-level names to pcapy.egg-info/top_level.txt writing dependency_links to pcapy.egg-info/dependency_links.txt writing manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pcapy.egg-info/SOURCES.txt' Copying pcapy.egg-info to /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7/site-packages/pcapy-0.11.5.dev0-py2.7.egg-info running install_scripts running install running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/pcapy.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7/site-packages writing byte-compilation script '/tmp/tmpbhuco0ey.py' /usr/bin/python3 /tmp/tmpbhuco0ey.py removing /tmp/tmpbhuco0ey.py running install_data running install_egg_info running 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 reading manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pcapy.egg-info/SOURCES.txt' Copying pcapy.egg-info to /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7/site-packages/pcapy-0.11.5.dev0-py3.7.egg-info running install_scripts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7/site-packages/pcapy.cpython-37m-riscv64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7/site-packages/pcapy.so extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7/site-packages/pcapy.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7/site-packages/pcapy.so original debug info size: 452kB, size after compression: 276kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 BUILDSTDERR: Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/pyth+ /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs on3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Processing files: python2-pcapy-0.11.5-2.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qgUXGy + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/python2-pcapy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/python2-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/python2-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/python2-pcapy + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7pNbPw + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/licenses/python2-pcapy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/licenses/python2-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/licenses/python2-pcapy + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: pcapy = 0.11.5-2.fc31 python2-pcapy = 0.11.5-2.fc31 python2-pcapy(riscv-64) = 0.11.5-2.fc31 python2.7dist(pcapy) = 0.11.5.dev0 python2dist(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) libgcc_s.so.1(GCC_4.3.0)(64bit) libpcap.so.1()(64bit) libpython2.7.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: pcapy Processing files: python3-pcapy-0.11.5-2.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jvEO0v + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.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-2.fc31.riscv64/usr/share/doc/python3-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/python3-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/doc/python3-pcapy + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6NtDow + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.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-2.fc31.riscv64/usr/share/licenses/python3-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64/usr/share/licenses/python3-pcapy + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-pcapy = 0.11.5-2.fc31 python3-pcapy = 0.11.5-2.fc31 python3-pcapy(riscv-64) = 0.11.5-2.fc31 python3.7dist(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) libgcc_s.so.1(GCC_4.3.0)(64bit) libpcap.so.1()(64bit) libpython3.7m.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-pcapy < 0.11.5-2.fc31 Processing files: pcapy-debugsource-0.11.5-2.fc31.riscv64 Provides: pcapy-debugsource = 0.11.5-2.fc31 pcapy-debugsource(riscv-64) = 0.11.5-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pcapy-debuginfo-0.11.5-2.fc31.riscv64 Provides: pcapy-debuginfo = 0.11.5-2.fc31 pcapy-debuginfo(riscv-64) = 0.11.5-2.fc31 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-2.fc31 Processing files: python2-pcapy-debuginfo-0.11.5-2.fc31.riscv64 Provides: debuginfo(build-id) = 0afd536c323ccb223f43a62f7832800e78e8ff55 python2-pcapy-debuginfo = 0.11.5-2.fc31 python2-pcapy-debuginfo(riscv-64) = 0.11.5-2.fc31 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-2.fc31 Processing files: python3-pcapy-debuginfo-0.11.5-2.fc31.riscv64 Provides: debuginfo(build-id) = 7f27a250d6f1ecfcd2fa0f931e366f8d501cc216 python3-pcapy-debuginfo = 0.11.5-2.fc31 python3-pcapy-debuginfo(riscv-64) = 0.11.5-2.fc31 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-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 Wrote: /builddir/build/RPMS/pcapy-debuginfo-0.11.5-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/pcapy-debugsource-0.11.5-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-0.11.5-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python2-pcapy-0.11.5-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python2-pcapy-debuginfo-0.11.5-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-debuginfo-0.11.5-2.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TOAxey + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0