Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/f29-build-25552-13314/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 23: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/pcapy-0.11.4-3.fc29.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/f29-build-25552-13314/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 23: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YzHvZa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcapy-0.11.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pcapy-0.11.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcapy-0.11.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uIaHth + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.4 + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' 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 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:1232: warning: "_POSIX_C_SOURCE" redefined BUILDSTDERR: #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:265: note: this is the location of the previous definition BUILDSTDERR: # 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:1254: warning: "_XOPEN_SOURCE" redefined BUILDSTDERR: #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:202: note: this is the location of the previous definition BUILDSTDERR: # define _XOPEN_SOURCE 700 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 -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 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 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 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:1232: warning: "_POSIX_C_SOURCE" redefined BUILDSTDERR: #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:265: note: this is the location of the previous definition BUILDSTDERR: # 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:1254: warning: "_XOPEN_SOURCE" redefined BUILDSTDERR: #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:202: note: this is the location of the previous definition BUILDSTDERR: # define _XOPEN_SOURCE 700 BUILDSTDERR: BUILDSTDERR: pcapy.cc: In function 'PyObject* lookupdev(PyObject*, PyObject*)': BUILDSTDERR: pcapy.cc:32:31: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 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: PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc:32:31: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 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: PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc: At global scope: BUILDSTDERR: pcapy.cc:242:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: "\nA wrapper for the Packet Capture (PCAP) library\n"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc: In function 'void initpcapy()': BUILDSTDERR: pcapy.cc:301:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: PcapError = PyErr_NewException("pcapy.PcapError", NULL, NULL ); BUILDSTDERR: ^ BUILDSTDERR: pcapy.cc:302:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: BPFError = PyErr_NewException("pcapy.BPFError", NULL, NULL ); BUILDSTDERR: ^ creating build/lib.linux-riscv64-2.7 g++ -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -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 -lstdc++ -lpython2.7 -o build/lib.linux-riscv64-2.7/pcapy.so + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'pcapy' extension creating build/temp.linux-riscv64-3.7 gcc -pthread -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/python3.7m -c pcapdumper.cc -o build/temp.linux-riscv64-3.7/pcapdumper.o gcc -pthread -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/python3.7m -c bpfobj.cc -o build/temp.linux-riscv64-3.7/bpfobj.o gcc -pthread -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/python3.7m -c pcapobj.cc -o build/temp.linux-riscv64-3.7/pcapobj.o gcc -pthread -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/python3.7m -c pcap_pkthdr.cc -o build/temp.linux-riscv64-3.7/pcap_pkthdr.o gcc -pthread -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/python3.7m -c pcapy.cc -o build/temp.linux-riscv64-3.7/pcapy.o BUILDSTDERR: pcapy.cc: In function ‘PyObject* lookupdev(PyObject*, PyObject*)’: BUILDSTDERR: pcapy.cc:32:31: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 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: PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: pcapy.cc:32:31: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 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: PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: ^~~~~~~~~~~~~~ creating build/lib.linux-riscv64-3.7 g++ -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -Wl,-z,relro -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 -lstdc++ -lpython3.7m -o build/lib.linux-riscv64-3.7/pcapy.cpython-37m-riscv64-linux-gnu.so + sleep 1 + 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gcknyi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64 + cd pcapy-0.11.4 + 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,-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.4-3.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/pcapy.so -> /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python2.7/site-packages writing byte-compilation script '/tmp/tmpHIMUMf.py' /usr/bin/python2 -O /tmp/tmpHIMUMf.py removing /tmp/tmpHIMUMf.py running install_data creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy/tests copying tests/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy/tests copying tests/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.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.4-3.fc29.riscv64/usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info running install_scripts + 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,-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.4-3.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.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.4-3.fc29.riscv64/usr/lib64/python3.7/site-packages writing byte-compilation script '/tmp/tmp1dzbtv0l.py' /usr/bin/python3 /tmp/tmp1dzbtv0l.py removing /tmp/tmp1dzbtv0l.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.4-3.fc29.riscv64/usr/lib64/python3.7/site-packages/pcapy-0.11.4-py3.7.egg-info running install_scripts + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/pcapy + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.11.4-3.fc29 --unique-debug-suffix -0.11.4-3.fc29.riscv64 --unique-debug-src-base pcapy-0.11.4-3.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pcapy-0.11.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python2.7/site-packages/pcapy.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python3.7/site-packages/pcapy.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python2.7/site-packages/pcapy.so extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python3.7/site-packages/pcapy.cpython-37m-riscv64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 91 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 1 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-pcapy-0.11.4-3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.d4lxQM + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.4 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.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.4-3.fc29.riscv64/usr/share/doc/python2-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/python2-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/python2-pcapy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.w1UbJi + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.4 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.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.4-3.fc29.riscv64/usr/share/licenses/python2-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/licenses/python2-pcapy + exit 0 Provides: pcapy = 0.11.4-3.fc29 python-pcapy = 0.11.4-3.fc29 python-pcapy(riscv-64) = 0.11.4-3.fc29 python2-pcapy = 0.11.4-3.fc29 python2-pcapy(riscv-64) = 0.11.4-3.fc29 python2.7dist(pcapy) = 0.11.4 python2dist(pcapy) = 0.11.4 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) libm.so.6()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(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 python-pcapy < 0.11.4-3.fc29 Processing files: python3-pcapy-0.11.4-3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o0gFqN + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.4 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.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.4-3.fc29.riscv64/usr/share/doc/python3-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/python3-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/doc/python3-pcapy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AbKFHk + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.4 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.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.4-3.fc29.riscv64/usr/share/licenses/python3-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64/usr/share/licenses/python3-pcapy + exit 0 Provides: python3-pcapy = 0.11.4-3.fc29 python3-pcapy(riscv-64) = 0.11.4-3.fc29 python3.7dist(pcapy) = 0.11.4 python3dist(pcapy) = 0.11.4 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) libm.so.6()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(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) Processing files: pcapy-debugsource-0.11.4-3.fc29.riscv64 Provides: pcapy-debugsource = 0.11.4-3.fc29 pcapy-debugsource(riscv-64) = 0.11.4-3.fc29 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.4-3.fc29.riscv64 Provides: pcapy-debuginfo = 0.11.4-3.fc29 pcapy-debuginfo(riscv-64) = 0.11.4-3.fc29 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.4-3.fc29 Processing files: python2-pcapy-debuginfo-0.11.4-3.fc29.riscv64 Provides: debuginfo(build-id) = 0368472658d73576ca52aa2f227679fc291ccae9 python2-pcapy-debuginfo = 0.11.4-3.fc29 python2-pcapy-debuginfo(riscv-64) = 0.11.4-3.fc29 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.4-3.fc29 Processing files: python3-pcapy-debuginfo-0.11.4-3.fc29.riscv64 Provides: debuginfo(build-id) = 3b5212e6f5bb80396fb1919167ec30a9e36ab54b python3-pcapy-debuginfo = 0.11.4-3.fc29 python3-pcapy-debuginfo(riscv-64) = 0.11.4-3.fc29 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.4-3.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-pcapy-0.11.4-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-0.11.4-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/pcapy-debugsource-0.11.4-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/pcapy-debuginfo-0.11.4-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-pcapy-debuginfo-0.11.4-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-debuginfo-0.11.4-3.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m7dkoP + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pcapy-0.11.4-3.fc29.riscv64 + exit 0 Child return code was: 0