Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpagemap.spec'], chrootPath='/var/lib/mock/f29-build-26500-13759/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpagemap.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libpagemap-0.0.1-26.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpagemap.spec'], chrootPath='/var/lib/mock/f29-build-26500-13759/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpagemap.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7EVQxh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpagemap-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpagemap-0.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0743Pe + umask 022 + cd /builddir/build/BUILD + cd libpagemap-0.0.1 + cd libpagemap-0.0.1 + make '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' gcc -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 -c libpagemap.c gcc -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 -shared -Wl,-soname,libpagemap.so.0 -o libpagemap.so.0.0.0 libpagemap.o -lc ln -s libpagemap.so.0.0.0 libpagemap.so.0 gcc -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 -c pgmap.c BUILDSTDERR: pgmap.c: In function 'make_header': BUILDSTDERR: pgmap.c:268:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (p) BUILDSTDERR: ^~ BUILDSTDERR: pgmap.c:270:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (!start) BUILDSTDERR: ^~ gcc -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 -o pgmap pgmap.o libpagemap.so.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kXxinC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 + cd libpagemap-0.0.1 + rm -rf /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 + cd libpagemap-0.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 install -Dp libpagemap.so.0.0.0 /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/lib64/libpagemap.so.0.0.0 cd /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/lib64 && ln -s libpagemap.so.0.0.0 libpagemap.so.0 && ln -s libpagemap.so.0.0.0 libpagemap.so && cd - /builddir/build/BUILD/libpagemap-0.0.1/libpagemap-0.0.1 install -Dp pgmap /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/bin/pgmap install -Dp pgmap.1 /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/share/man/man1/pgmap.1 install -Dp -m 0644 libpagemap.h /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/include/libpagemap.h + install -D -p -m 755 pagemapdata.py /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64//pagemapdata.py + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.1-26.fc29 --unique-debug-suffix -0.0.1-26.fc29.riscv64 --unique-debug-src-base libpagemap-0.0.1-26.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libpagemap-0.0.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/bin/pgmap explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/lib64/libpagemap.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/bin/pgmap extracting debug info from /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/lib64/libpagemap.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 84 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: mangling shebang in /pagemapdata.py from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Processing files: libpagemap-0.0.1-26.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UTSlK1 + umask 022 + cd /builddir/build/BUILD + cd libpagemap-0.0.1 + DOCDIR=/builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/share/doc/libpagemap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/share/doc/libpagemap + cp -pr libpagemap-0.0.1/contrib/ /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/share/doc/libpagemap + cp -pr libpagemap-0.0.1/README /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/share/doc/libpagemap + cp -pr libpagemap-0.0.1/COPYING /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64/usr/share/doc/libpagemap + exit 0 Provides: libpagemap = 0.0.1-26.fc29 libpagemap(riscv-64) = 0.0.1-26.fc29 libpagemap.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: /usr/bin/python2 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) libpagemap.so.0()(64bit) rtld(GNU_HASH) Processing files: libpagemap-devel-0.0.1-26.fc29.riscv64 Provides: libpagemap-devel = 0.0.1-26.fc29 libpagemap-devel(riscv-64) = 0.0.1-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libpagemap.so.0()(64bit) Processing files: libpagemap-debugsource-0.0.1-26.fc29.riscv64 Provides: libpagemap-debugsource = 0.0.1-26.fc29 libpagemap-debugsource(riscv-64) = 0.0.1-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpagemap-debuginfo-0.0.1-26.fc29.riscv64 Provides: debuginfo(build-id) = 3754aeb47fc0653ae1600696c951f0c7f6034a70 debuginfo(build-id) = 9bb185f2c347f7294a98d7b9eb7f668988a0d917 libpagemap-debuginfo = 0.0.1-26.fc29 libpagemap-debuginfo(riscv-64) = 0.0.1-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpagemap-debugsource(riscv-64) = 0.0.1-26.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 Wrote: /builddir/build/RPMS/libpagemap-0.0.1-26.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libpagemap-devel-0.0.1-26.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libpagemap-debugsource-0.0.1-26.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libpagemap-debuginfo-0.0.1-26.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tO8g40 + umask 022 + cd /builddir/build/BUILD + cd libpagemap-0.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libpagemap-0.0.1-26.fc29.riscv64 + exit 0 Child return code was: 0