+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pyliblzma.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.mJwoEZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyliblzma-0.5.3 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pyliblzma-0.5.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pyliblzma-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (no-script-liblzma.patch):' Patch #0 (no-script-liblzma.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file liblzma.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TIG0MY + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + /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 liblzma.py -> build/lib.linux-riscv64-2.7 running build_ext building 'lzma' extension 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 -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma.c -o build/temp.linux-riscv64-2.7/src/liblzma.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 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 -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_compressobj.c -o build/temp.linux-riscv64-2.7/src/liblzma_compressobj.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_compressobj.c: In function 'LZMAComp_flush': src/liblzma_compressobj.c:108:2: warning: enumeration value 'LZMA_FULL_BARRIER' not handled in switch [-Wswitch-enum] switch(flushmode){ ^~~~~~ src/liblzma_compressobj.c:111:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if(self->filters[0].id == LZMA_FILTER_LZMA1) { ^ src/liblzma_compressobj.c:118:3: note: here case(LZMA_RUN): ^~~~ 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 -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_decompressobj.c -o build/temp.linux-riscv64-2.7/src/liblzma_decompressobj.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_decompressobj.c: In function 'LZMADecomp_flush': src/liblzma_decompressobj.c:166:2: warning: enumeration value 'LZMA_FULL_BARRIER' not handled in switch [-Wswitch-enum] switch(flushmode){ ^~~~~~ 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 -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_file.c -o build/temp.linux-riscv64-2.7/src/liblzma_file.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/liblzma.h:8, from src/liblzma_file.h:4, from src/liblzma_file.c:10: /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/inttypes.h:25:0, from src/liblzma_file.c:1: /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 src/liblzma.h:8, from src/liblzma_file.h:4, from src/liblzma_file.c:10: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/inttypes.h:25:0, from src/liblzma_file.c:1: /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 -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_fileobj.c -o build/temp.linux-riscv64-2.7/src/liblzma_fileobj.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 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 -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_options.c -o build/temp.linux-riscv64-2.7/src/liblzma_options.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 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 -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_util.c -o build/temp.linux-riscv64-2.7/src/liblzma_util.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_util.c: In function 'Util_CatchLZMAError': src/liblzma_util.c:28:75: warning: '' is unsupported, check will not be validated' directive writing 45 bytes into a region of size 38 [-Wformat-overflow=] sprintf(warning, "check type '%d' is unsupported, check will not be validated", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/stdio.h:862:0, from /usr/include/python2.7/Python.h:33, from src/liblzma.h:8, from src/liblzma_util.h:4, from src/liblzma_util.c:1: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 58 or more bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/src/liblzma.o build/temp.linux-riscv64-2.7/src/liblzma_compressobj.o build/temp.linux-riscv64-2.7/src/liblzma_decompressobj.o build/temp.linux-riscv64-2.7/src/liblzma_file.o build/temp.linux-riscv64-2.7/src/liblzma_fileobj.o build/temp.linux-riscv64-2.7/src/liblzma_options.o build/temp.linux-riscv64-2.7/src/liblzma_util.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/lzma.so -llzma + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GJOQ12 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64 + cd pyliblzma-0.5.3 + rm -rf /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64 + /usr/bin/python setup.py install --root=/builddir/build/BUILDROOT/pyliblzma-0.5.3-16.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/pyliblzma-0.5.3-16.fc28.riscv64 creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/lzma.so -> /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/liblzma.py -> /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64/python2.7/site-packages/liblzma.py to liblzma.pyc running install_egg_info running egg_info writing pyliblzma.egg-info/PKG-INFO writing top-level names to pyliblzma.egg-info/top_level.txt writing dependency_links to pyliblzma.egg-info/dependency_links.txt reading manifest file 'pyliblzma.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyliblzma.egg-info/SOURCES.txt' Copying pyliblzma.egg-info to /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info 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/pyliblzma-0.5.3-16.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: pyliblzma-0.5.3-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tuVixZ + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + DOCDIR=/builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/doc/pyliblzma + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/doc/pyliblzma + cp -pr README /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/doc/pyliblzma + cp -pr THANKS /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/doc/pyliblzma + cp -pr ChangeLog /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/doc/pyliblzma + cp -pr NEWS /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/doc/pyliblzma + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7aCFgL + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + LICENSEDIR=/builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/licenses/pyliblzma + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/licenses/pyliblzma + cp -pr COPYING /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64/usr/share/licenses/pyliblzma + exit 0 Provides: pyliblzma = 0.5.3-16.fc28 pyliblzma(riscv-64) = 0.5.3-16.fc28 python2.7dist(pyliblzma) = 0.5.3 python2dist(pyliblzma) = 0.5.3 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) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/pyliblzma-0.5.3-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pyliblzma-0.5.3-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jFPw10 + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + rm -rf /builddir/build/BUILDROOT/pyliblzma-0.5.3-16.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