+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/lunatic-python.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.t6qI50 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lunatic-python + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/lunatic-python.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd lunatic-python + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lunatic-python-lua-py-segfault.patch):' Patch #0 (lunatic-python-lua-py-segfault.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/pythoninlua.c + echo 'Patch #1 (lunatic-python-memleak.patch):' Patch #1 (lunatic-python-memleak.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/pythoninlua.c Hunk #1 succeeded at 135 (offset 7 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9KetjS + umask 022 + cd /builddir/build/BUILD + cd lunatic-python ++ pkg-config --cflags lua-5.1 + 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 -I/usr/include/lua-5.1 ' + LUAPCNAME=lua-5.1 + /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 building 'python' extension creating build creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/src 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 -I/usr/include/lua-5.1 -fPIC -I/usr/include -I/usr/include/python2.7 -c src/pythoninlua.c -o build/temp.linux-riscv64-2.7/src/pythoninlua.o -rdynamic 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 -I/usr/include/lua-5.1 -fPIC -I/usr/include -I/usr/include/python2.7 -c src/luainpython.c -o build/temp.linux-riscv64-2.7/src/luainpython.o -rdynamic src/luainpython.c:345:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] (inquiry)LuaObject_length, /*mp_length*/ ^ src/luainpython.c:345:2: note: (near initialization for 'LuaObject_as_mapping.mp_length') src/luainpython.c: In function 'initlua': src/luainpython.c:486:12: warning: variable 'm' set but not used [-Wunused-but-set-variable] PyObject *m; ^ 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 -I/usr/include/lua-5.1 build/temp.linux-riscv64-2.7/src/pythoninlua.o build/temp.linux-riscv64-2.7/src/luainpython.o -L/usr/lib64/python2.7/config -L/usr/lib64 -lpython2.7 -lpthread -lutil -lpython2.7 -o build/lib.linux-riscv64-2.7/python.so -rdynamic building 'lua' extension 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 -I/usr/include/lua-5.1 -fPIC -I/usr/include -I/usr/include/python2.7 -c src/pythoninlua.c -o build/temp.linux-riscv64-2.7/src/pythoninlua.o -rdynamic 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 -I/usr/include/lua-5.1 -fPIC -I/usr/include -I/usr/include/python2.7 -c src/luainpython.c -o build/temp.linux-riscv64-2.7/src/luainpython.o -rdynamic src/luainpython.c:345:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] (inquiry)LuaObject_length, /*mp_length*/ ^ src/luainpython.c:345:2: note: (near initialization for 'LuaObject_as_mapping.mp_length') src/luainpython.c: In function 'initlua': src/luainpython.c:486:12: warning: variable 'm' set but not used [-Wunused-but-set-variable] PyObject *m; ^ 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 -I/usr/include/lua-5.1 build/temp.linux-riscv64-2.7/src/pythoninlua.o build/temp.linux-riscv64-2.7/src/luainpython.o -L/usr/lib64 -L/usr/lib64 -llua-5.1 -lpython2.7 -o build/lib.linux-riscv64-2.7/lua.so -rdynamic + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QD3c0T + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 + cd lunatic-python + rm -rf /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.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 *** WARN *** lua .pc file not found -- using defaults running install running install_lib creating /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 creating /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr creating /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/lua.so -> /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/python.so -> /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/python2.7/site-packages/lunatic_python-1.0-py2.7.egg-info + mkdir -p /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/lua/5.1 + mv /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/python2.7/site-packages/python.so /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/lib64/lua/5.1 + /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/lunatic-python-1.0.1-0.19.20090917bzr.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: lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qW46hg + umask 022 + cd /builddir/build/BUILD + cd lunatic-python + DOCDIR=/builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/share/doc/lunatic-python + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/share/doc/lunatic-python + cp -pr LICENSE /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64/usr/share/doc/lunatic-python + exit 0 Provides: lunatic-python = 1.0.1-0.19.20090917bzr.fc28 lunatic-python(riscv-64) = 1.0.1-0.19.20090917bzr.fc28 python2.7dist(lunatic-python) = 1.0 python2dist(lunatic-python) = 1.0 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) liblua-5.1.so()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libutil.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64 Wrote: /builddir/build/SRPMS/lunatic-python-1.0.1-0.19.20090917bzr.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/lunatic-python-1.0.1-0.19.20090917bzr.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.p23WlS + umask 022 + cd /builddir/build/BUILD + cd lunatic-python + rm -rf /builddir/build/BUILDROOT/lunatic-python-1.0.1-0.19.20090917bzr.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