Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-iptables.spec'], chrootPath='/var/lib/mock/f31-build-47375-26805/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-iptables.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/python-iptables-0.12.0-6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-iptables.spec'], chrootPath='/var/lib/mock/f31-build-47375-26805/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-iptables.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vox9MX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-iptables-0.12.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/iptables-0.12.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-iptables-0.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CZ53XT + umask 022 + cd /builddir/build/BUILD + cd python-iptables-0.12.0 + chmod -x README.md + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_py creating build creating build/lib.linux-riscv64-3.7 creating build/lib.linux-riscv64-3.7/iptc copying iptc/ip6tc.py -> build/lib.linux-riscv64-3.7/iptc copying iptc/__init__.py -> build/lib.linux-riscv64-3.7/iptc copying iptc/xtables.py -> build/lib.linux-riscv64-3.7/iptc copying iptc/ip4tc.py -> build/lib.linux-riscv64-3.7/iptc copying iptc/util.py -> build/lib.linux-riscv64-3.7/iptc copying iptc/version.py -> build/lib.linux-riscv64-3.7/iptc running build_ext building 'libxtwrapper' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/libxtwrapper gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c libxtwrapper/wrapper.c -o build/temp.linux-riscv64-3.7/libxtwrapper/wrapper.o gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/libxtwrapper/wrapper.o -L/usr/lib64 -lpython3.7m -o build/lib.linux-riscv64-3.7/libxtwrapper.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6eOSTU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 + cd python-iptables-0.12.0 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 BUILDSTDERR: warning: no files found matching 'README' BUILDSTDERR: warning: no files found matching 'test.py' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.12.0-6.fc31 --unique-debug-suffix -0.12.0-6.fc31.riscv64 --unique-debug-src-base python-iptables-0.12.0-6.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-iptables-0.12.0 BUILDSTDERR: 4 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 running install running install_lib creating /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/libxtwrapper.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages creating /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc copying build/lib.linux-riscv64-3.7/iptc/ip6tc.py -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc copying build/lib.linux-riscv64-3.7/iptc/__init__.py -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc copying build/lib.linux-riscv64-3.7/iptc/xtables.py -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc copying build/lib.linux-riscv64-3.7/iptc/ip4tc.py -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc copying build/lib.linux-riscv64-3.7/iptc/util.py -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc copying build/lib.linux-riscv64-3.7/iptc/version.py -> /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc byte-compiling /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc/ip6tc.py to ip6tc.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc/xtables.py to xtables.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc/ip4tc.py to ip4tc.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc/util.py to util.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/iptc/version.py to version.cpython-37.pyc writing byte-compilation script '/tmp/tmpby4xrdka.py' /usr/bin/python3 /tmp/tmpby4xrdka.py removing /tmp/tmpby4xrdka.py running install_egg_info running egg_info creating python_iptables.egg-info writing python_iptables.egg-info/PKG-INFO writing dependency_links to python_iptables.egg-info/dependency_links.txt writing top-level names to python_iptables.egg-info/top_level.txt writing manifest file 'python_iptables.egg-info/SOURCES.txt' reading manifest file 'python_iptables.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_iptables.egg-info/SOURCES.txt' Copying python_iptables.egg-info to /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/python_iptables-0.12.0-py3.7.egg-info running install_scripts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/libxtwrapper.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib64/python3.7/site-packages/libxtwrapper.cpython-37m-riscv64-linux-gnu.so original debug info size: 44kB, size after compression: 48kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 BUILDSTDERR: Bytecompiling .py files below /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64+ /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /usr/lib64/python3.7 using /usr/bin/python3.7 Processing files: python3-iptables-0.12.0-6.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ItIpaV + umask 022 + cd /builddir/build/BUILD + cd python-iptables-0.12.0 + DOCDIR=/builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/doc/python3-iptables + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/doc/python3-iptables + cp -pr README.md /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/doc/python3-iptables + cp -pr MANIFEST.in /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/doc/python3-iptables + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bc2AkU + umask 022 + cd /builddir/build/BUILD + cd python-iptables-0.12.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/licenses/python3-iptables + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/licenses/python3-iptables + cp -pr NOTICE /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64/usr/share/licenses/python3-iptables + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/libxtwrapper.so' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libxtwrapper.cpython-37m-riscv64-linux-gnu.so()(64bit) python-iptables = 0.12.0-6.fc31 python3-iptables = 0.12.0-6.fc31 python3-iptables(riscv-64) = 0.12.0-6.fc31 python3.7dist(python-iptables) = 0.12.0 python3dist(python-iptables) = 0.12.0 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) libpthread.so.0(GLIBC_2.27)(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-iptables < 0.12.0-6.fc31 Processing files: python-iptables-debugsource-0.12.0-6.fc31.riscv64 BUILDSTDERR: warning: Deprecated external dependency generator is used! Provides: python-iptables-debugsource = 0.12.0-6.fc31 python-iptables-debugsource(riscv-64) = 0.12.0-6.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-iptables-debuginfo-0.12.0-6.fc31.riscv64 BUILDSTDERR: warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/libxtwrapper.so' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = d936f41dae52052e10ca8e93a04ef74b940e2832 python3-iptables-debuginfo = 0.12.0-6.fc31 python3-iptables-debuginfo(riscv-64) = 0.12.0-6.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-iptables-debugsource(riscv-64) = 0.12.0-6.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 Wrote: /builddir/build/RPMS/python-iptables-debugsource-0.12.0-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-iptables-debuginfo-0.12.0-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-iptables-0.12.0-6.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VwxA5X + umask 022 + cd /builddir/build/BUILD + cd python-iptables-0.12.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-iptables-0.12.0-6.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0