Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/openbabel.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-215476-80887/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/openbabel.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': 'C.UTF-8'} and shell False sh: line 1: perl: command not found warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/openbabel-3.1.1-4.oc9.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openbabel.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-215476-80887/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openbabel.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pvzvTj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openbabel-openbabel-3-1-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openbabel-openbabel-3-1-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openbabel-openbabel-3-1-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (openbabel-perl.patch):' Patch #0 (openbabel-perl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .perl_path --fuzz=0 patching file scripts/CMakeLists.txt Hunk #1 succeeded at 367 (offset 31 lines). Patch #1 (openbabel-plugindir.patch): + echo 'Patch #1 (openbabel-plugindir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .plugindir --fuzz=0 patching file CMakeLists.txt patching file OpenBabel3Config.cmake.in Patch #2 (openbabel-noswig-rubymethod.patch): + echo 'Patch #2 (openbabel-noswig-rubymethod.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .noswig_ruby --fuzz=0 patching file scripts/CMakeLists.txt Hunk #1 succeeded at 416 (offset 42 lines). Patch #3 (openbabel-ruby19-vendorarch.patch): + echo 'Patch #3 (openbabel-ruby19-vendorarch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ruby_vendor --fuzz=0 patching file scripts/CMakeLists.txt Hunk #1 succeeded at 447 (offset 47 lines). Patch #5 (openbabel-fix-libdir-in-pkgconfig.patch): + echo 'Patch #5 (openbabel-fix-libdir-in-pkgconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .s390x --fuzz=0 patching file openbabel-3.pc.cmake Patch #7 (openbabel-3.1.1-fix_bug2223.patch): + echo 'Patch #7 (openbabel-3.1.1-fix_bug2223.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup --fuzz=0 patching file src/forcefields/forcefielduff.cpp Patch #8 (openbabel-3.1.1-fix_bug2217.patch): + echo 'Patch #8 (openbabel-3.1.1-fix_bug2217.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup --fuzz=0 patching file test/testdistgeom.py Patch #9 (openbabel-3.1.1-bug2378.patch): + echo 'Patch #9 (openbabel-3.1.1-bug2378.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup --fuzz=0 patching file scripts/CMakeLists.txt Hunk #1 succeeded at 102 (offset -4 lines). Patch #10 (openbabel-3.1.1-bug2493.patch): + echo 'Patch #10 (openbabel-3.1.1-bug2493.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup --fuzz=0 patching file src/config.h.cmake + rm -rf src/formats/libinchi + dos2unix -k ' ' dos2unix: : No such file or directory dos2unix: Skipping , not a regular file. RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.pvzvTj (%prep) %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.pvzvTj (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openbabel.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openbabel.spec