+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/pylibpcap.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nCAPyh
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pylibpcap-0.6.4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/pylibpcap-0.6.4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pylibpcap-0.6.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (pylibpcap-0.6.4-error.patch):'
Patch #0 (pylibpcap-0.6.4-error.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .error --fuzz=0
patching file pcap.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tCXVb5
+ umask 022
+ cd /builddir/build/BUILD
+ cd pylibpcap-0.6.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 '
+ /usr/bin/python2 setup.py build
running build
running build_ext
building '_pcapmodule' 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 -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 -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 -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 -fPIC -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c pcap.c -o build/temp.linux-riscv64-2.7/pcap.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 -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 -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 -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 -fPIC -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c pcap_interface.c -o build/temp.linux-riscv64-2.7/pcap_interface.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 -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 -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 -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 -fPIC -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c exception.c -o build/temp.linux-riscv64-2.7/exception.o
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from exception.c:19:
/usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200112L
 
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from exception.c:17:
/usr/include/features.h:265:0: 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:0,
                 from /usr/include/python2.7/Python.h:8,
                 from exception.c:19:
/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined
 #define _XOPEN_SOURCE 600
 
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from exception.c:17:
/usr/include/features.h:202:0: 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 -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 -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 -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 -fPIC -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c error.c -o build/temp.linux-riscv64-2.7/error.o
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from error.c:18:
/usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200112L
 
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/pcap/pcap.h:46,
                 from /usr/include/pcap.h:43,
                 from error.c:17:
/usr/include/features.h:265:0: 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:0,
                 from /usr/include/python2.7/Python.h:8,
                 from error.c:18:
/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined
 #define _XOPEN_SOURCE 600
 
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/pcap/pcap.h:46,
                 from /usr/include/pcap.h:43,
                 from error.c:17:
/usr/include/features.h:202:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 
creating build/lib.linux-riscv64-2.7
gcc -pthread -shared -Wl,-z,relro -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 build/temp.linux-riscv64-2.7/pcap.o build/temp.linux-riscv64-2.7/pcap_interface.o build/temp.linux-riscv64-2.7/exception.o build/temp.linux-riscv64-2.7/error.o -L/usr/lib64 -lpcap -lpython2.7 -o build/lib.linux-riscv64-2.7/_pcapmodule.so
running build_py
copying pcap.py -> build/lib.linux-riscv64-2.7
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7CXyid
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64
+ cd pylibpcap-0.6.4
+ /usr/bin/python2 setup.py install --skip-build --root /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64
running install
running install_lib
creating /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr
creating /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64
creating /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7
creating /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7/site-packages
copying build/lib.linux-riscv64-2.7/pcap.py -> /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7/site-packages
copying build/lib.linux-riscv64-2.7/_pcapmodule.so -> /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7/site-packages
byte-compiling /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7/site-packages/pcap.py to pcap.pyc
running install_egg_info
Writing /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7/site-packages/pylibpcap-0.6.4-py2.7.egg-info
+ chmod 0755 /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7/site-packages/_pcapmodule.so
+ /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 /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Bytecompiling .py files below /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: pylibpcap-0.6.4-10.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZOINZV
+ umask 022
+ cd /builddir/build/BUILD
+ cd pylibpcap-0.6.4
+ DOCDIR=/builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/share/doc/pylibpcap
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/share/doc/pylibpcap
+ cp -pr ChangeLog /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/share/doc/pylibpcap
+ cp -pr COPYING /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/share/doc/pylibpcap
+ cp -pr README /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64/usr/share/doc/pylibpcap
+ exit 0
warning: Deprecated external dependency generator is used!
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib64/python2.7/site-packages' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u "
Finding  Requires(interp): 
Finding  Requires(rpmlib): 
Finding  Requires(verify): 
Finding  Requires(pre): 
Finding  Requires(post): 
Finding  Requires(preun): 
Finding  Requires(postun): 
Finding  Requires(pretrans): 
Finding  Requires(posttrans): 
Finding  Requires: /bin/sh -c "  while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u "
Finding  Conflicts: 
Finding  Obsoletes: 
Finding  Recommends: 
Finding  Suggests: 
Finding  Supplements: 
Finding  Enhances: 
Provides: pylibpcap = 0.6.4-10.fc28 pylibpcap(riscv-64) = 0.6.4-10.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64
Wrote: /builddir/build/SRPMS/pylibpcap-0.6.4-10.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/pylibpcap-0.6.4-10.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rmtLl0
+ umask 022
+ cd /builddir/build/BUILD
+ cd pylibpcap-0.6.4
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/pylibpcap-0.6.4-10.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff