+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pysubnettree.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.gL4B7B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysubnettree-0.24 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/pysubnettree-0.24.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pysubnettree-0.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PigPOE + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.24 + 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_py creating build creating build/lib.linux-riscv64-2.7 copying SubnetTree.py -> build/lib.linux-riscv64-2.7 running build_ext building '_SubnetTree' extension 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 -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c SubnetTree.cc -o build/temp.linux-riscv64-2.7/SubnetTree.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 -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c patricia.c -o build/temp.linux-riscv64-2.7/patricia.o patricia.c:50:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ 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 -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c SubnetTree_wrap.cc -o build/temp.linux-riscv64-2.7/SubnetTree_wrap.o SubnetTree_wrap.cc: In function 'void init_SubnetTree()': SubnetTree_wrap.cc:5171:21: warning: variable 'md' set but not used [-Wunused-but-set-variable] PyObject *m, *d, *md; ^~ 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 -fno-strict-aliasing build/temp.linux-riscv64-2.7/SubnetTree.o build/temp.linux-riscv64-2.7/patricia.o build/temp.linux-riscv64-2.7/SubnetTree_wrap.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/_SubnetTree.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MpJiOB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64 + cd pysubnettree-0.24 + /usr/bin/python2 setup.py install --skip-build --root /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr creating /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_SubnetTree.so -> /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/SubnetTree.py -> /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7/site-packages/SubnetTree.py to SubnetTree.pyc running install_egg_info running egg_info writing pysubnettree.egg-info/PKG-INFO writing top-level names to pysubnettree.egg-info/top_level.txt writing dependency_links to pysubnettree.egg-info/dependency_links.txt reading manifest file 'pysubnettree.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'test.py' writing manifest file 'pysubnettree.egg-info/SOURCES.txt' Copying pysubnettree.egg-info to /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7/site-packages/pysubnettree-0.24-py2.7.egg-info running install_scripts + chmod 0755 /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/lib64/python2.7/site-packages/_SubnetTree.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/pysubnettree-0.24-2.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: pysubnettree-0.24-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Svlbwy + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.24 + DOCDIR=/builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/share/doc/pysubnettree + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/share/doc/pysubnettree + cp -pr CHANGES /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/share/doc/pysubnettree + cp -pr COPYING /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/share/doc/pysubnettree + cp -pr README /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64/usr/share/doc/pysubnettree + exit 0 Provides: pysubnettree = 0.24-2.fc28 pysubnettree(riscv-64) = 0.24-2.fc28 python2.7dist(pysubnettree) = 0.24 python2dist(pysubnettree) = 0.24 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pysubnettree-0.24-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/pysubnettree-0.24-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pysubnettree-0.24-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Kcuvwo + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.24 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pysubnettree-0.24-2.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