+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-ruamel-ordereddict.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.jOYoDu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruamel.ordereddict-0.4.9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ruamel.ordereddict-0.4.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ruamel.ordereddict-0.4.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf ruamel.ordereddict.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PDQoKx + umask 022 + cd /builddir/build/BUILD + cd ruamel.ordereddict-0.4.9 + 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 '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/ruamel creating build/lib.linux-riscv64-2.7/ruamel/ordereddict copying ./__init__.py -> build/lib.linux-riscv64-2.7/ruamel/ordereddict running build_ext building '_ordereddict' 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 -fPIC -I/usr/include/python2.7 -c ordereddict.c -o build/temp.linux-riscv64-2.7/ordereddict.o In file included from /usr/include/python2.7/Python.h:78:0, from ordereddict.c:22: ordereddict.c: In function 'dictresize': /usr/include/python2.7/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ /usr/include/python2.7/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ordereddict.c:793:20: note: in expansion of macro 'PyMem_NEW' newtable = PyMem_NEW(PyOrderedDictEntry, newsize); ^~~~~~~~~ /usr/include/python2.7/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ /usr/include/python2.7/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ordereddict.c:798:22: note: in expansion of macro 'PyMem_NEW' newotablep = PyMem_NEW(PyOrderedDictEntry*, newsize); ^~~~~~~~~ ordereddict.c: In function 'dict_setkeys': /usr/include/python2.7/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ /usr/include/python2.7/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ordereddict.c:2828:16: note: in expansion of macro 'PyMem_NEW' newtable = PyMem_NEW(PyOrderedDictEntry *, size); ^~~~~~~~~ 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/ordereddict.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/_ordereddict.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.U8kCrl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64 + cd ruamel.ordereddict-0.4.9 + 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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64 running install running install_lib copying _ordereddict.so -> /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/lib64/python2.7/site-packages copying ruamel/ordereddict/__init__.py -> /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/lib64/python2.7/site-packages/ruamel/ordereddict byte-compiling /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/lib64/python2.7/site-packages/ruamel/ordereddict/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmp1yM7V8.py' /usr/bin/python2 -O /tmp/tmp1yM7V8.py removing /tmp/tmp1yM7V8.py running install_egg_info running egg_info creating ruamel.ordereddict.egg-info writing ruamel.ordereddict.egg-info/PKG-INFO writing namespace_packages to ruamel.ordereddict.egg-info/namespace_packages.txt writing top-level names to ruamel.ordereddict.egg-info/top_level.txt writing dependency_links to ruamel.ordereddict.egg-info/dependency_links.txt writing manifest file 'ruamel.ordereddict.egg-info/SOURCES.txt' reading manifest file 'ruamel.ordereddict.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ruamel.ordereddict.egg-info/SOURCES.txt' Copying ruamel.ordereddict.egg-info to /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/lib64/python2.7/site-packages/ruamel.ordereddict-0.4.9-py2.7.egg-info Installing /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/lib64/python2.7/site-packages/ruamel.ordereddict-0.4.9-py2.7-nspkg.pth running install_scripts + /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/python-ruamel-ordereddict-0.4.9-1.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: python2-ruamel-ordereddict-0.4.9-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PQqjL3 + umask 022 + cd /builddir/build/BUILD + cd ruamel.ordereddict-0.4.9 + DOCDIR=/builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/share/doc/python2-ruamel-ordereddict + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/share/doc/python2-ruamel-ordereddict + cp -pr README.rst /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64/usr/share/doc/python2-ruamel-ordereddict + exit 0 Provides: python-ruamel-ordereddict = 0.4.9-1.fc28 python-ruamel-ordereddict(riscv-64) = 0.4.9-1.fc28 python2-ruamel-ordereddict = 0.4.9-1.fc28 python2-ruamel-ordereddict(riscv-64) = 0.4.9-1.fc28 python2.7dist(ruamel.ordereddict) = 0.4.9 python2dist(ruamel.ordereddict) = 0.4.9 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) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-ruamel-ordereddict < 0.4.9-1.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-ruamel-ordereddict-0.4.9-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python2-ruamel-ordereddict-0.4.9-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IY9i6I + umask 022 + cd /builddir/build/BUILD + cd ruamel.ordereddict-0.4.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-ruamel-ordereddict-0.4.9-1.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