+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pcapy.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.pf725b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcapy-0.10.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/pcapy-0.10.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcapy-0.10.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GxUDG1 + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.10.8 + 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/python setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running build running build_ext my_init_posix: changing LDSHARED = 'gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' to 'g++ -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 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 -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 -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 -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 -I/usr/include/python2.7 -c bpfobj.cc -o build/temp.linux-riscv64-2.7/bpfobj.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from bpfobj.cc:12: /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 bpfobj.cc:11: /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 bpfobj.cc:12: /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 bpfobj.cc:11: /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 -I/usr/include/python2.7 -c pcapy.cc -o build/temp.linux-riscv64-2.7/pcapy.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from pcapy.cc:12: /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 pcapy.cc:11: /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 pcapy.cc:12: /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 pcapy.cc:11: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 pcapy.cc:187: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:220:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PcapError = PyErr_NewException("pcapy.PcapError", NULL, NULL ); ^ 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 -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 -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 -I/usr/include/python2.7 -c pcap_pkthdr.cc -o build/temp.linux-riscv64-2.7/pcap_pkthdr.o creating build/lib.linux-riscv64-2.7 g++ -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/pcapdumper.o build/temp.linux-riscv64-2.7/bpfobj.o build/temp.linux-riscv64-2.7/pcapy.o build/temp.linux-riscv64-2.7/pcapobj.o build/temp.linux-riscv64-2.7/pcap_pkthdr.o -L/usr/lib64 -lpcap -lpython2.7 -o build/lib.linux-riscv64-2.7/pcapy.so running build_scripts creating build/scripts-2.7 copying tests/pcapytests.py -> build/scripts-2.7 copying tests/96pings.pcap -> build/scripts-2.7 changing mode of build/scripts-2.7/pcapytests.py from 644 to 755 changing mode of build/scripts-2.7/96pings.pcap from 644 to 755 + 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.RxqGft + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 + cd pcapy-0.10.8 + rm -rf /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running install my_init_posix: changing LDSHARED = 'gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' to 'g++ -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' running install_lib creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/pcapy.so -> /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/lib64/python2.7/site-packages running install_scripts creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin copying build/scripts-2.7/pcapytests.py -> /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin copying build/scripts-2.7/96pings.pcap -> /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin changing mode of /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin/pcapytests.py to 755 changing mode of /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin/96pings.pcap to 755 running install_data creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc creating /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy copying README -> /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy copying LICENSE -> /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy copying pcapy.html -> /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy running install_egg_info Writing /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/lib64/python2.7/site-packages/pcapy-0.10.8-py2.7.egg-info + rm -rf /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + mv /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin/96pings.pcap . + mv /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/bin/pcapytests.py . + /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/pcapy-0.10.8-12.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: pcapy-0.10.8-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.w7n6sv + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.10.8 + DOCDIR=/builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + cp -pr LICENSE /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + cp -pr README /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + cp -pr pcapy.html /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + cp -pr 96pings.pcap /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + cp -pr pcapytests.py /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64/usr/share/doc/pcapy + exit 0 Provides: pcapy = 0.10.8-12.fc28 pcapy(riscv-64) = 0.10.8-12.fc28 python2.7dist(pcapy) = 0.10.8 python2dist(pcapy) = 0.10.8 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/pcapy-0.10.8-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pcapy-0.10.8-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.l15DXI + umask 022 + cd /builddir/build/BUILD + cd pcapy-0.10.8 + rm -rf /builddir/build/BUILDROOT/pcapy-0.10.8-12.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff