Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openbabel.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1687268115.306348/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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 /etc/profile.d/system-info.sh: line 55: ps: command not found sh: line 1: /usr/bin/perl: No such file or directory sh: line 1: /usr/bin/perl: No such file or directory sh: line 1: /usr/bin/perl: No such file or directory sh: line 1: /usr/bin/perl: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/openbabel-3.1.1-19.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openbabel.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1687268115.306348/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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 /etc/profile.d/system-info.sh: line 55: ps: command not found sh: line 1: /usr/bin/perl: No such file or directory sh: line 1: /usr/bin/perl: No such file or directory sh: line 1: /usr/bin/perl: No such file or directory sh: line 1: /usr/bin/perl: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/openbabel-3.1.1-19.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openbabel.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1687268115.306348/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZRGBYa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openbabel-3.1.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/openbabel-3.1.1-source.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd 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 #4 (openbabel-disable-tests.patch): + echo 'Patch #4 (openbabel-disable-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .tests --fuzz=0 patching file test/CMakeLists.txt 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 + cp -p /builddir/build/SOURCES/openbabel-inchi-license-lgpl-2.1.txt ./inchi-license-lgpl-2.1.txt + dos2unix -k data/chemdrawcdx.h include/openbabel/tautomer.h include/openbabel/math/align.h src/math/align.cpp test/testsmartssym.py dos2unix: converting file data/chemdrawcdx.h to Unix format... dos2unix: converting file include/openbabel/tautomer.h to Unix format... dos2unix: converting file include/openbabel/math/align.h to Unix format... dos2unix: converting file src/math/align.cpp to Unix format... dos2unix: converting file test/testsmartssym.py to Unix format... + convert src/GUI/babel.xpm -transparent white babel.png + pushd doc ~/build/BUILD/openbabel-3.1.1/doc ~/build/BUILD/openbabel-3.1.1 + for man in *.1 ++ basename obabel.1 .1 + html=obabel.html + '[' -f obabel.html ']' + rm obabel.html + for man in *.1 ++ basename obchiral.1 .1 + html=obchiral.html + '[' -f obchiral.html ']' + rm obchiral.html + for man in *.1 ++ basename obconformer.1 .1 + html=obconformer.html + '[' -f obconformer.html ']' + rm obconformer.html + for man in *.1 ++ basename obdistgen.1 .1 + html=obdistgen.html + '[' -f obdistgen.html ']' + for man in *.1 ++ basename obenergy.1 .1 + html=obenergy.html + '[' -f obenergy.html ']' + rm obenergy.html + for man in *.1 ++ basename obfit.1 .1 + html=obfit.html + '[' -f obfit.html ']' + rm obfit.html + for man in *.1 ++ basename obgen.1 .1 + html=obgen.html + '[' -f obgen.html ']' + rm obgen.html + for man in *.1 ++ basename obgrep.1 .1 + html=obgrep.html + '[' -f obgrep.html ']' + rm obgrep.html + for man in *.1 ++ basename obgui.1 .1 + html=obgui.html + '[' -f obgui.html ']' + rm obgui.html + for man in *.1 ++ basename obminimize.1 .1 + html=obminimize.html + '[' -f obminimize.html ']' + rm obminimize.html + for man in *.1 ++ basename obprobe.1 .1 + html=obprobe.html + '[' -f obprobe.html ']' + rm obprobe.html + for man in *.1 ++ basename obprop.1 .1 + html=obprop.html + '[' -f obprop.html ']' + rm obprop.html + for man in *.1 ++ basename obrms.1 .1 + html=obrms.html + '[' -f obrms.html ']' + for man in *.1 ++ basename obrotamer.1 .1 + html=obrotamer.html + '[' -f obrotamer.html ']' + rm obrotamer.html + for man in *.1 ++ basename obrotate.1 .1 + html=obrotate.html + '[' -f obrotate.html ']' + rm obrotate.html + for man in *.1 ++ basename obspectrophore.1 .1 + html=obspectrophore.html + '[' -f obspectrophore.html ']' + rm obspectrophore.html + for man in *.1 ++ basename obsym.1 .1 + html=obsym.html + '[' -f obsym.html ']' + for man in *.1 ++ basename obtautomer.1 .1 + html=obtautomer.html + '[' -f obtautomer.html ']' + for man in *.1 ++ basename obthermo.1 .1 + html=obthermo.html + '[' -f obthermo.html ']' + for man in *.1 ++ basename roundtrip.1 .1 + html=roundtrip.html ~/build/BUILD/openbabel-3.1.1 + '[' -f roundtrip.html ']' + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PSqHpy + umask 022 + cd /builddir/build/BUILD + cd openbabel-3.1.1 + mkdir -p aarch64-openEuler-linux-gnu + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -B aarch64-openEuler-linux-gnu -Wno-dev -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_GUI:BOOL=ON -DPYTHON_BINDINGS:BOOL=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPERL_BINDINGS:BOOL=ON -DRUBY_BINDINGS:BOOL=ON -DWITH_MAEPARSER:BOOL=OFF -DWITH_COORDGEN:BOOL=OFF -DOB_PLUGIN_INSTALL_DIR:PATH=lib64/openbabel3 -DOPENBABEL_USE_SYSTEM_INCHI=true -DENABLE_VERSIONED_FORMATS=false -DRUN_SWIG=true -DENABLE_TESTS:BOOL=ON -DOPTIMIZE_NATIVE=OFF -DGLIBC_24_COMPATIBLE:BOOL=OFF -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find INCHI (missing: INCHI_LIBRARY INCHI_INCLUDE_DIR) CMake Error at CMakeLists.txt:147 (message): Inchi library not found. -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/openbabel-3.1.1/aarch64-openEuler-linux-gnu/CMakeFiles/CMakeOutput.log". error: Bad exit status from /var/tmp/rpm-tmp.PSqHpy (%build) Bad exit status from /var/tmp/rpm-tmp.PSqHpy (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openbabel.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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 --target aarch64 --nodeps /builddir/build/SPECS/openbabel.spec