+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/yum-metadata-parser.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 warning: bogus date in %changelog: Sat Jun 04 2006 Terje Rosten - 1.0-2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LmswTf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yum-metadata-parser-1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/yum-metadata-parser-1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yum-metadata-parser-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (BZ-612409-handle-2GB-rpms.patch):' Patch #0 (BZ-612409-handle-2GB-rpms.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file db.c patching file xml-parser.c + echo 'Patch #1 (UPSTREAM-py-3-split.patch):' Patch #1 (UPSTREAM-py-3-split.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.py + echo 'Patch #2 (UPSTREAM-weak-deps.patch):' Patch #2 (UPSTREAM-weak-deps.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file db.c patching file package.c patching file package.h patching file sqlitecache.c patching file xml-parser.c + echo 'Patch #3 (UPSTREAM-index-weak-deps.patch):' Patch #3 (UPSTREAM-index-weak-deps.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file db.c + echo 'Patch #4 (UPSTREAM-fix-minor-mem-leak.patch):' Patch #4 (UPSTREAM-fix-minor-mem-leak.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file db.c + cp /builddir/build/SOURCES/gpl-2.0.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VbzLsl + umask 022 + cd /builddir/build/BUILD + cd yum-metadata-parser-1.1.4 + /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_py creating build creating build/lib.linux-riscv64-2.7 copying sqlitecachec.py -> build/lib.linux-riscv64-2.7 running build_ext building '_sqlitecache' 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 -fPIC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.7 -c package.c -o build/temp.linux-riscv64-2.7/package.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 -fPIC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.7 -c xml-parser.c -o build/temp.linux-riscv64-2.7/xml-parser.o xml-parser.c: In function 'yum_xml_parse_primary': xml-parser.c:595:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ xml-parser.c: In function 'yum_xml_parse_filelists': xml-parser.c:833:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ xml-parser.c: In function 'yum_xml_parse_other': xml-parser.c:1056:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ 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 -fPIC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.7 -c db.c -o build/temp.linux-riscv64-2.7/db.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 -fPIC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.7 -c sqlitecache.c -o build/temp.linux-riscv64-2.7/sqlitecache.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/package.o build/temp.linux-riscv64-2.7/xml-parser.o build/temp.linux-riscv64-2.7/db.o build/temp.linux-riscv64-2.7/sqlitecache.o -L/usr/lib64 -lglib-2.0 -lxml2 -lsqlite3 -lpython2.7 -o build/lib.linux-riscv64-2.7/_sqlitecache.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pEKgB3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 + cd yum-metadata-parser-1.1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 + /usr/bin/python setup.py install -O1 --root=/builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.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 running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 creating /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr creating /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_sqlitecache.so -> /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/sqlitecachec.py -> /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64/python2.7/site-packages/sqlitecachec.py to sqlitecachec.pyc writing byte-compilation script '/tmp/tmpP0tiq0.py' /usr/bin/python -O /tmp/tmpP0tiq0.py 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 removing /tmp/tmpP0tiq0.py running install_egg_info Writing /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/lib64/python2.7/site-packages/yum_metadata_parser-1.1.4-py2.7.egg-info + /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/yum-metadata-parser-1.1.4-17.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: yum-metadata-parser-1.1.4-17.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ffoRjd + umask 022 + cd /builddir/build/BUILD + cd yum-metadata-parser-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/doc/yum-metadata-parser + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/doc/yum-metadata-parser + cp -pr README /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/doc/yum-metadata-parser + cp -pr AUTHORS /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/doc/yum-metadata-parser + cp -pr ChangeLog /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/doc/yum-metadata-parser + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vR7pi5 + umask 022 + cd /builddir/build/BUILD + cd yum-metadata-parser-1.1.4 + LICENSEDIR=/builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/licenses/yum-metadata-parser + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/licenses/yum-metadata-parser + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64/usr/share/licenses/yum-metadata-parser + exit 0 Provides: python2.7dist(yum-metadata-parser) = 1.1.4 python2dist(yum-metadata-parser) = 1.1.4 yum-metadata-parser = 1.1.4-17.fc28 yum-metadata-parser(riscv-64) = 1.1.4-17.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) libglib-2.0.so.0()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libsqlite3.so.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) python(abi) = 2.7 rtld(GNU_HASH) Conflicts: yum < 3.2.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.fc28.riscv64 Wrote: /builddir/build/SRPMS/yum-metadata-parser-1.1.4-17.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/yum-metadata-parser-1.1.4-17.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.q0ohIJ + umask 022 + cd /builddir/build/BUILD + cd yum-metadata-parser-1.1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/yum-metadata-parser-1.1.4-17.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