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/rdkit.spec'], chrootPath='/var/lib/mock/f29-build-14515-6674/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/rdkit.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 Wrote: /builddir/build/SRPMS/rdkit-2016.09.4-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rdkit.spec'], chrootPath='/var/lib/mock/f29-build-14515-6674/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/rdkit.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.40Ktuk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdkit-Release_2016_09_4 + /usr/bin/mkdir -p rdkit-Release_2016_09_4 + cd rdkit-Release_2016_09_4 + /usr/bin/gzip -dc /builddir/build/SOURCES/Release_2016_09_4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv rdkit-Release_2016_09_4 python2 ~/build/BUILD/rdkit-Release_2016_09_4/python2 ~/build/BUILD/rdkit-Release_2016_09_4 Patch #1 (rdkit-2015.03-use_cairo_backend_on_tests.patch): + pushd python2 + echo 'Patch #1 (rdkit-2015.03-use_cairo_backend_on_tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rdkit/Chem/Draw/UnitTestSimilarityMaps.py Hunk #1 succeeded at 166 (offset 68 lines). Patch #2 (rdkit-2014.09-do_not_install_sping.patch): + echo 'Patch #2 (rdkit-2014.09-do_not_install_sping.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 181 (offset 32 lines). Patch #4 (rdkit-2014.09-fix_cmake_files_path.patch): + echo 'Patch #4 (rdkit-2014.09-fix_cmake_files_path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 105 (offset 24 lines). Hunk #2 succeeded at 119 (offset 24 lines). Patch #7 (rdkit-2015.03-dont_install_contrib.patch): + echo 'Patch #7 (rdkit-2015.03-dont_install_contrib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 319 (offset 87 lines). + rm -rf rdkit/sping + cp -pr license.txt ReleaseNotes.md ../ ~/build/BUILD/rdkit-Release_2016_09_4 + popd + cp -a python2 python3 + find python3 -name '*.py' + xargs sed -i '1s|^#!.*|#!/usr/bin/python3|' + xargs sed -i 's/"python"/"python3"/g' + find python3 -name test_list.py + xargs sed -i 's/'\''python'\''/'\''python3'\''/g' + find python3 -name test_list.py + sed -i.orig s/python/python3/g python3/Projects/DbCLI/TestDbCLI.py + find python2 -name '*.py' + xargs sed -i '1s|^#!.*|#!/usr/bin/python2|' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ViTB3n + umask 022 ~/build/BUILD/rdkit-Release_2016_09_4/python2 ~/build/BUILD/rdkit-Release_2016_09_4 + cd /builddir/build/BUILD + cd rdkit-Release_2016_09_4 + export 'CXXFLAGS=-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 -Wl,--as-needed' + CXXFLAGS='-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 -Wl,--as-needed' + pushd python2 + 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' + export CFLAGS + CXXFLAGS='-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 -Wl,--as-needed' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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 -D RDK_INSTALL_INTREE=OFF -D CMAKE_BUILD_TYPE=RelWithDebInfo -D RDK_BUILD_INCHI_SUPPORT:BOOL=ON -D RDK_BUILD_THREADSAFE_SSS:BOOL=ON -D RDK_BUILD_CAIRO_SUPPORT:BOOL=ON -D RDK_BUILD_PGSQL:BOOL=ON -D RDK_PGSQL_STATIC:BOOL=OFF -D RDK_INSTALL_STATIC_LIBS:BOOL=OFF -D RDK_USE_FLEXBISON:BOOL=ON -D RDK_TEST_MULTITHREADED:BOOL=ON -D PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 -D RDK_OPTIMIZE_NATIVE:BOOL=OFF . -- The C compiler identification is GNU 8.1.1 -- The CXX compiler identification is GNU 8.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found INCHI: /usr/lib64/libinchi.so -- Found PythonInterp: /usr/bin/python2 (found version "2.7.15") -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.15") BUILDSTDERR: CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2044 (message): BUILDSTDERR: Unable to find the requested Boost libraries. BUILDSTDERR: Boost version: 1.66.0 BUILDSTDERR: Boost include path: /usr/include BUILDSTDERR: Could not find the following Boost libraries: BUILDSTDERR: boost_python BUILDSTDERR: No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the BUILDSTDERR: directory containing Boost libraries or BOOST_ROOT to the location of BUILDSTDERR: Boost. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: CMakeLists.txt:164 (find_package) BUILDSTDERR: Python Install directory /usr/lib64/python2.7/site-packages -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- system -- chrono -- date_time -- atomic -- Boost version: 1.66.0 -- Found the following Boost libraries: -- serialization -- Found PostgreSQL: /usr/lib64/libpq.so (found version "10.3") BUILDSTDERR: == Using strict rotor definition -- Found BISON: /usr/bin/bison -- Found FLEX: /usr/bin/flex BUILDSTDERR: == Updating Filters.cpp from pains file == Done updating pains files -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for one of the modules 'cairo' -- Boost version: 1.66.0 -- Found the following Boost libraries: -- regex BUILDSTDERR: ===================================================================== BUILDSTDERR: After building, check BUILDSTDERR: /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/PgSQL/rdkit/pgsql_install.sh BUILDSTDERR: for correctness of installation paths. If everything is OK, gain BUILDSTDERR: administrator privileges, stop the PostgreSQL service, run BUILDSTDERR: /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/PgSQL/rdkit/pgsql_install.sh BUILDSTDERR: to install the PostgreSQL RDKit cartridge, then start again BUILDSTDERR: the PostgreSQL service BUILDSTDERR: ===================================================================== -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/CMakeFiles/CMakeError.log". RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ViTB3n (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ViTB3n (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 riscv64 --nodeps /builddir/build/SPECS/rdkit.spec