Mock Version: 1.4.10 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/LibScanner.spec'], chrootPath='/var/lib/mock/759755-fedora-rawhide-x86_64-1527582417.027484/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ecf43a5e76f4ffdb1d2cd164482e9f0', '-D', '/var/lib/mock/759755-fedora-rawhide-x86_64-1527582417.027484/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/LibScanner.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 BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: warning: bogus date in %changelog: Mon May 29 2018 Jan Pazdziora - 0.git.1.xxx Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/LibScanner.spec'], chrootPath='/var/lib/mock/759755-fedora-rawhide-x86_64-1527582417.027484/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c45b3e8bb2ab4206ab19e3e1f451e4c5', '-D', '/var/lib/mock/759755-fedora-rawhide-x86_64-1527582417.027484/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/LibScanner.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: warning: bogus date in %changelog: Mon May 29 2018 Jan Pazdziora - 0.git.1.xxx Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D3TXva + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf LibScanner-f5a05f9a3b516645d7c76d8c38d03fc0c0b41cd0 + /usr/bin/gzip -dc /builddir/build/SOURCES/LibScanner-f5a05f9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd LibScanner-f5a05f9a3b516645d7c76d8c38d03fc0c0b41cd0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VvP7el + umask 022 + cd /builddir/build/BUILD + cd LibScanner-f5a05f9a3b516645d7c76d8c38d03fc0c0b41cd0 + touch __init__.py + python -m compileall __init__.py 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 Compiling __init__.py ... + python -m compileall cve_lookup.py 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 Compiling cve_lookup.py ... + sed -i 's/from cve_lookup/from LibScanner.cve_lookup/' cli.py + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DPrn7v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 + cd LibScanner-f5a05f9a3b516645d7c76d8c38d03fc0c0b41cd0 + install -d /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64//usr/lib/python2.7/site-packages/LibScanner /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64//usr/bin + install -m 644 __init__.py __init__.pyc /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64//usr/lib/python2.7/site-packages/LibScanner/ + install -m 644 cve_lookup.py cve_lookup.pyc /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64//usr/lib/python2.7/site-packages/LibScanner/ + install -m 755 cli.py /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64//usr/bin/package-cve-lookup + install -m 755 download_xml.sh /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64//usr/bin/package-cve-download-xml + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.git.1.20180529.f5a05f9-1.fc29 --unique-debug-suffix -0.git.1.20180529.f5a05f9-1.fc29.x86_64 --unique-debug-src-base LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/LibScanner-f5a05f9a3b516645d7c76d8c38d03fc0c0b41cd0 BUILDSTDERR: find: 'debug': No such file or directory + /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 Bytecompiling .py files below /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/package-cve-download-xml from /usr/bin/env bash to #!/usr/bin/bash BUILDSTDERR: *** WARNING: mangling shebang in /usr/bin/package-cve-lookup from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Processing files: python2-LibScanner-cli-0.git.1.20180529.f5a05f9-1.fc29.noarch Provides: python2-LibScanner-cli = 0.git.1.20180529.f5a05f9-1.fc29 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: /usr/bin/bash /usr/bin/python2 python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 Wrote: /builddir/build/RPMS/python2-LibScanner-cli-0.git.1.20180529.f5a05f9-1.fc29.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TKlwYI + umask 022 + cd /builddir/build/BUILD + cd LibScanner-f5a05f9a3b516645d7c76d8c38d03fc0c0b41cd0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/LibScanner-0.git.1.20180529.f5a05f9-1.fc29.x86_64 + exit 0 Child return code was: 0