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/distro-info.spec'], chrootPath='/var/lib/mock/f29-build-2096-654/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/distro-info.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/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/distro-info-0.17-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/distro-info.spec'], chrootPath='/var/lib/mock/f29-build-2096-654/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/distro-info.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8xwytR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf distro-info + /usr/bin/xz -dc /builddir/build/SOURCES/distro-info_0.17.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd distro-info + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Remove-install-layout.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-Perl-path.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-Do-not-install-distro-info-symlink.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ik4DmG + umask 022 + cd /builddir/build/BUILD + cd distro-info + make -j4 cc -g -O2 -Wall -Wextra -g -O2 -std=gnu99 -o debian-distro-info debian-distro-info.c cc -g -O2 -Wall -Wextra -g -O2 -std=gnu99 -o ubuntu-distro-info ubuntu-distro-info.c + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HTw8Wl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 + cd distro-info + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 'INSTALL=/usr/bin/install -p' install -d /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/bin install -m 755 debian-distro-info ubuntu-distro-info /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/bin install -d /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/distro-info install -m 644 shunit2-helper-functions.sh /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/distro-info sed -e 's@^\(COMMAND=\"\).*/\(.*-distro-info\"\)$@\1\2@' test-debian-distro-info > /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/distro-info/test-debian-distro-info chmod 755 /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/distro-info/test-debian-distro-info sed -e 's@^\(COMMAND=\"\).*/\(.*-distro-info\"\)$@\1\2@' test-ubuntu-distro-info > /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/distro-info/test-ubuntu-distro-info chmod 755 /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/distro-info/test-ubuntu-distro-info install -d /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/man/man1 install -m 644 doc/distro-info.1 doc/ubuntu-distro-info.1 doc/debian-distro-info.1 /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/man/man1 install -d /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/perl5/vendor_perl/Debian install -m 644 perl/Debian/DistroInfo.pm /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/perl5/vendor_perl/Debian cd python && python setup.py install --root="/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64" --no-compile BUILDSTDERR: DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: 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 creating build creating build/lib copying distro_info.py -> build/lib creating build/lib/distro_info_test copying distro_info_test/test_flake8.py -> build/lib/distro_info_test copying distro_info_test/test_pylint.py -> build/lib/distro_info_test copying distro_info_test/test_distro_info.py -> build/lib/distro_info_test copying distro_info_test/test_help.py -> build/lib/distro_info_test copying distro_info_test/__init__.py -> build/lib/distro_info_test running install_lib creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages copying build/lib/distro_info.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info_test copying build/lib/distro_info_test/test_flake8.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info_test copying build/lib/distro_info_test/test_pylint.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info_test copying build/lib/distro_info_test/test_distro_info.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info_test copying build/lib/distro_info_test/test_help.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info_test copying build/lib/distro_info_test/__init__.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info_test running install_egg_info running egg_info creating distro_info.egg-info writing distro_info.egg-info/PKG-INFO writing top-level names to distro_info.egg-info/top_level.txt writing dependency_links to distro_info.egg-info/dependency_links.txt writing manifest file 'distro_info.egg-info/SOURCES.txt' reading manifest file 'distro_info.egg-info/SOURCES.txt' writing manifest file 'distro_info.egg-info/SOURCES.txt' Copying distro_info.egg-info to /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7/site-packages/distro_info-0.17-py2.7.egg-info running install_scripts cd python && python3 setup.py install --root="/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64" --no-compile running install running build running build_py running install_lib creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages copying build/lib/distro_info.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info_test copying build/lib/distro_info_test/test_flake8.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info_test copying build/lib/distro_info_test/test_pylint.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info_test copying build/lib/distro_info_test/test_distro_info.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info_test copying build/lib/distro_info_test/test_help.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info_test copying build/lib/distro_info_test/__init__.py -> /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info_test running install_egg_info running egg_info writing distro_info.egg-info/PKG-INFO writing dependency_links to distro_info.egg-info/dependency_links.txt writing top-level names to distro_info.egg-info/top_level.txt reading manifest file 'distro_info.egg-info/SOURCES.txt' writing manifest file 'distro_info.egg-info/SOURCES.txt' Copying distro_info.egg-info to /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6/site-packages/distro_info-0.17-py3.6.egg-info running install_scripts + /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 /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/distro-info-0.17-2.fc29.riscv64/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GBOWYh Processing files: distro-info-0.17-2.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LULJjd + umask 022 + cd /builddir/build/BUILD + cd distro-info + LICENSEDIR=/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/distro-info + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/distro-info + cp -pr debian/copyright /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/distro-info + exit 0 Provides: distro-info = 0.17-2.fc29 distro-info(riscv-64) = 0.17-2.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: perl-distro-info-0.17-2.fc29.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.h7IEHp + umask 022 + cd /builddir/build/BUILD + cd distro-info + LICENSEDIR=/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/perl-distro-info + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/perl-distro-info + cp -pr debian/copyright /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/perl-distro-info + exit 0 Provides: perl(Debian::DistroInfo) = 0.2.2 perl(DebianDistroInfo) perl(DistroInfo) perl(UbuntuDistroInfo) perl-distro-info = 0.17-2.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: perl(Exporter) perl(Time::Piece) perl(parent) perl(strict) perl(warnings) Processing files: python2-distro-info-0.17-2.fc29.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VVRuEQ + umask 022 + cd /builddir/build/BUILD + cd distro-info + LICENSEDIR=/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/python2-distro-info + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/python2-distro-info + cp -pr debian/copyright /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/python2-distro-info + exit 0 Provides: python-distro-info = 0.17-2.fc29 python2-distro-info = 0.17-2.fc29 python2.7dist(distro-info) = 0.17 python2dist(distro-info) = 0.17 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: python(abi) = 2.7 Obsoletes: python-distro-info < 0.17-2.fc29 Processing files: python3-distro-info-0.17-2.fc29.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tPmGOx + umask 022 + cd /builddir/build/BUILD + cd distro-info + LICENSEDIR=/builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/python3-distro-info + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/python3-distro-info + cp -pr debian/copyright /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64/usr/share/licenses/python3-distro-info + exit 0 Provides: python3-distro-info = 0.17-2.fc29 python3.6dist(distro-info) = 0.17 python3dist(distro-info) = 0.17 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: python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 Wrote: /builddir/build/RPMS/distro-info-0.17-2.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-distro-info-0.17-2.fc29.noarch.rpm Wrote: /builddir/build/RPMS/python2-distro-info-0.17-2.fc29.noarch.rpm Wrote: /builddir/build/RPMS/python3-distro-info-0.17-2.fc29.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kI4udd + umask 022 + cd /builddir/build/BUILD + cd distro-info + /usr/bin/rm -rf /builddir/build/BUILDROOT/distro-info-0.17-2.fc29.riscv64 + exit 0 Child return code was: 0