Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/1238506-epel-8-x86_64-1581602827.703854/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tpuvzizq:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tpuvzizq:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '001ac06477a5401dafebef7f7e6f0941', '-D', '/var/lib/mock/1238506-epel-8-x86_64-1581602827.703854/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tpuvzizq:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 warning: Macro expanded in comment on line 23: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pcapy-0.11.5-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pcapy.spec'], chrootPath='/var/lib/mock/1238506-epel-8-x86_64-1581602827.703854/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tpuvzizq:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tpuvzizq:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cf4a25a1f40b4a64bdca3421fe66164e', '-D', '/var/lib/mock/1238506-epel-8-x86_64-1581602827.703854/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tpuvzizq:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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 warning: Macro expanded in comment on line 23: %{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IDa8Vh + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eQBq7g + umask 022 + cd /builddir/build/BUILD + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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' /usr/lib/python2.7/site-packages/setuptools/dist.py:397: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' normalized_version, running build running build_ext building 'pcapy' extension creating build creating build/temp.linux-x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python2.7 -c pcapdumper.cc -o build/temp.linux-x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python2.7 -c bpfobj.cc -o build/temp.linux-x86_64-2.7/bpfobj.o In file included from /usr/include/python2.7/pyconfig.h:6, from /usr/include/python2.7/Python.h:8, from bpfobj.cc:11: /usr/include/python2.7/pyconfig-64.h:1229: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/inttypes.h:25, from /usr/include/pcap/pcap-inttypes.h:114, from /usr/include/pcap/pcap.h:74, from /usr/include/pcap.h:43, from bpfobj.cc:10: /usr/include/features.h:265: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6, from /usr/include/python2.7/Python.h:8, from bpfobj.cc:11: /usr/include/python2.7/pyconfig-64.h:1251: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/inttypes.h:25, from /usr/include/pcap/pcap-inttypes.h:114, from /usr/include/pcap/pcap.h:74, from /usr/include/pcap.h:43, from bpfobj.cc:10: /usr/include/features.h:202: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python2.7 -c pcapobj.cc -o build/temp.linux-x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python2.7 -c pcap_pkthdr.cc -o build/temp.linux-x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python2.7 -c pcapy.cc -o build/temp.linux-x86_64-2.7/pcapy.o In file included from /usr/include/python2.7/pyconfig.h:6, from /usr/include/python2.7/Python.h:8, from pcapy.cc:11: /usr/include/python2.7/pyconfig-64.h:1229: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/inttypes.h:25, from /usr/include/pcap/pcap-inttypes.h:114, from /usr/include/pcap/pcap.h:74, from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/features.h:265: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6, from /usr/include/python2.7/Python.h:8, from pcapy.cc:11: /usr/include/python2.7/pyconfig-64.h:1251: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/inttypes.h:25, from /usr/include/pcap/pcap-inttypes.h:114, from /usr/include/pcap/pcap.h:74, from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/features.h:202: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 pcapy.cc: In function 'PyObject* lookupdev(PyObject*, PyObject*)': pcapy.cc:35:31: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] dev = pcap_lookupdev(errbuff); ^ In file included from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ pcapy.cc:35:31: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] dev = pcap_lookupdev(errbuff); ^ In file included from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ pcapy.cc: At global scope: pcapy.cc:264:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "\nA wrapper for the Packet Capture (PCAP) library\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapy.cc: In function 'void initpcapy()': pcapy.cc:328:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PcapError = PyErr_NewException("pcapy.PcapError", NULL, NULL ); ^ pcapy.cc:329:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BPFError = PyErr_NewException("pcapy.BPFError", NULL, NULL ); ^ creating build/lib.linux-x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-2.7/pcapdumper.o build/temp.linux-x86_64-2.7/bpfobj.o build/temp.linux-x86_64-2.7/pcapobj.o build/temp.linux-x86_64-2.7/pcap_pkthdr.o build/temp.linux-x86_64-2.7/pcapy.o -L/usr/lib64 -lpcap -lpython2.7 -o build/lib.linux-x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_ext building 'pcapy' extension creating build/temp.linux-x86_64-3.6 gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.6m -c pcapdumper.cc -o build/temp.linux-x86_64-3.6/pcapdumper.o gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.6m -c bpfobj.cc -o build/temp.linux-x86_64-3.6/bpfobj.o gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.6m -c pcapobj.cc -o build/temp.linux-x86_64-3.6/pcapobj.o gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.6m -c pcap_pkthdr.cc -o build/temp.linux-x86_64-3.6/pcap_pkthdr.o gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.6m -c pcapy.cc -o build/temp.linux-x86_64-3.6/pcapy.o pcapy.cc: In function ‘PyObject* lookupdev(PyObject*, PyObject*)’: pcapy.cc:35:31: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] dev = pcap_lookupdev(errbuff); ^ In file included from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ pcapy.cc:35:31: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] dev = pcap_lookupdev(errbuff); ^ In file included from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ creating build/lib.linux-x86_64-3.6 g++ -pthread -shared -Wl,-z,relro -Wl,-z,now -g -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.6/pcapdumper.o build/temp.linux-x86_64-3.6/bpfobj.o build/temp.linux-x86_64-3.6/pcapobj.o build/temp.linux-x86_64-3.6/pcap_pkthdr.o build/temp.linux-x86_64-3.6/pcapy.o -L/usr/lib64 -lpcap -lpython3.6m -o build/lib.linux-x86_64-3.6/pcapy.cpython-36m-x86_64-linux-gnu.so /usr/lib/python3.6/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' normalized_version, + 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.EUnsBz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.5-2.el8.x86_64 /usr/lib/python2.7/site-packages/setuptools/dist.py:397: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' normalized_version, running install running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/pcapy.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python2.7/site-packages writing byte-compilation script '/tmp/tmpCHaBBB.py' /usr/bin/python2 -O /tmp/tmpCHaBBB.py removing /tmp/tmpCHaBBB.py running install_data creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy/tests copying tests/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy/tests copying tests/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/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.el8.x86_64/usr/lib64/python2.7/site-packages/pcapy-0.11.5.dev0-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python3.6/site-packages copying build/lib.linux-x86_64-3.6/pcapy.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python3.6/site-packages writing byte-compilation script '/tmp/tmpny9yt_82.py' /usr/libexec/platform-python /tmp/tmpny9yt_82.py removing /tmp/tmpny9yt_82.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.el8.x86_64/usr/lib64/python3.6/site-packages/pcapy-0.11.5.dev0-py3.6.egg-info running install_scripts /usr/lib/python3.6/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' normalized_version, + rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/pcapy + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.11.5-2.el8 --unique-debug-suffix -0.11.5-2.el8.x86_64 --unique-debug-src-base pcapy-0.11.5-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pcapy-0.11.5 extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python2.7/site-packages/pcapy.so extracting debug info from /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python3.6/site-packages/pcapy.cpython-36m-x86_64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 108 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 1 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-pcapy-0.11.5-2.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cuE4RW + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/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.el8.x86_64/usr/share/doc/python2-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/python2-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/python2-pcapy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.g8ztak + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/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.el8.x86_64/usr/share/licenses/python2-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/licenses/python2-pcapy + exit 0 Provides: pcapy = 0.11.5-2.el8 python2-pcapy = 0.11.5-2.el8 python2-pcapy(x86-64) = 0.11.5-2.el8 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_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 Processing files: python3-pcapy-0.11.5-2.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ujmHhL + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/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.el8.x86_64/usr/share/doc/python3-pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/python3-pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/doc/python3-pcapy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gQbJqc + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + LICENSEDIR=/builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/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.el8.x86_64/usr/share/licenses/python3-pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64/usr/share/licenses/python3-pcapy + exit 0 Provides: python3-pcapy = 0.11.5-2.el8 python3-pcapy(x86-64) = 0.11.5-2.el8 python3.6dist(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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: pcapy-debugsource-0.11.5-2.el8.x86_64 Provides: pcapy-debugsource = 0.11.5-2.el8 pcapy-debugsource(x86-64) = 0.11.5-2.el8 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.el8.x86_64 Provides: pcapy-debuginfo = 0.11.5-2.el8 pcapy-debuginfo(x86-64) = 0.11.5-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pcapy-debugsource(x86-64) = 0.11.5-2.el8 Processing files: python2-pcapy-debuginfo-0.11.5-2.el8.x86_64 Provides: debuginfo(build-id) = caf9332b276b97672ac8dfe056dfe7f8d5923d77 python2-pcapy-debuginfo = 0.11.5-2.el8 python2-pcapy-debuginfo(x86-64) = 0.11.5-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pcapy-debugsource(x86-64) = 0.11.5-2.el8 Processing files: python3-pcapy-debuginfo-0.11.5-2.el8.x86_64 Provides: debuginfo(build-id) = 49826fcf2e55aaec16da9b5e5c1299a9ab368d3d python3-pcapy-debuginfo = 0.11.5-2.el8 python3-pcapy-debuginfo(x86-64) = 0.11.5-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pcapy-debugsource(x86-64) = 0.11.5-2.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 Wrote: /builddir/build/RPMS/python2-pcapy-0.11.5-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-0.11.5-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/pcapy-debugsource-0.11.5-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/pcapy-debuginfo-0.11.5-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python2-pcapy-debuginfo-0.11.5-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python3-pcapy-debuginfo-0.11.5-2.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gm4R0H + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.11.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pcapy-0.11.5-2.el8.x86_64 + exit 0 Child return code was: 0