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-13870-6270/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-13870-6270/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.RHuQ14 + 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 + pushd 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): + 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). + echo 'Patch #2 (rdkit-2014.09-do_not_install_sping.patch):' 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 ../ + popd ~/build/BUILD/rdkit-Release_2016_09_4 + cp -a python2 python3 + xargs sed -i '1s|^#!.*|#!/usr/bin/python3|' + find python3 -name '*.py' + find python3 -name test_list.py + xargs sed -i 's/"python"/"python3"/g' + find python3 -name test_list.py + xargs sed -i 's/'\''python'\''/'\''python3'\''/g' + 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.xowAhR + umask 022 + 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 ~/build/BUILD/rdkit-Release_2016_09_4/python2 ~/build/BUILD/rdkit-Release_2016_09_4 + 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") -- Boost version: 1.66.0 -- Found the following Boost libraries: -- python 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 done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/rdkit-Release_2016_09_4/python2 -B/builddir/build/BUILD/rdkit-Release_2016_09_4/python2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/CMakeFiles /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' make -f Code/RDGeneral/CMakeFiles/RDGeneral.dir/build.make Code/RDGeneral/CMakeFiles/RDGeneral.dir/depend make -f External/INCHI-API/CMakeFiles/inchi_support.dir/build.make External/INCHI-API/CMakeFiles/inchi_support.dir/depend make -f Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/build.make Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/depend make -f Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/build.make Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/depend make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/CMakeFiles/RDGeneral.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/External/INCHI-API /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/External/INCHI-API /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/External/INCHI-API/CMakeFiles/inchi_support.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures /builddir/build/BUILD/rdkit-Release_2016_09_4/python2 /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/DependInfo.cmake --color= Scanning dependencies of target inchi_support make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' make -f External/INCHI-API/CMakeFiles/inchi_support.dir/build.make External/INCHI-API/CMakeFiles/inchi_support.dir/build Scanning dependencies of target hc make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' make -f Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/build.make Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/build make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/External/INCHI-API && /usr/bin/cmake -E copy /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/External/INCHI-API/python/inchi.py /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/rdkit/Chem/inchi.py make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' Scanning dependencies of target ChemicalFeatures make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' make -f Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/build.make Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/build make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' Scanning dependencies of target RDGeneral make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' make -f Code/RDGeneral/CMakeFiles/RDGeneral.dir/build.make Code/RDGeneral/CMakeFiles/RDGeneral.dir/build make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' [ 0%] Building C object Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/hc.c.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh && /usr/bin/cc -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -Dhc_EXPORTS -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/hc.dir/hc.c.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh/hc.c make[2]: Entering directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' [ 0%] Building CXX object Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/FreeChemicalFeature.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures && /usr/bin/c++ -DChemicalFeatures_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/ChemicalFeatures.dir/FreeChemicalFeature.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures/FreeChemicalFeature.cpp [ 0%] Built target inchi_support [ 0%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/Invariant.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral && /usr/bin/c++ -DRDGeneral_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/RDGeneral.dir/Invariant.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/Invariant.cpp [ 0%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/types.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral && /usr/bin/c++ -DRDGeneral_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/RDGeneral.dir/types.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/types.cpp [ 0%] Building C object Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/hcdriver.c.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh && /usr/bin/cc -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -Dhc_EXPORTS -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/hc.dir/hcdriver.c.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh/hcdriver.c [ 0%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/utils.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral && /usr/bin/c++ -DRDGeneral_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/RDGeneral.dir/utils.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/utils.cpp [ 1%] Linking C shared library ../../../../lib/libhc.so cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh && /usr/bin/cmake -E cmake_link_script CMakeFiles/hc.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libhc.so.1 -o ../../../../lib/libhc.so.1.2016.09.4 CMakeFiles/hc.dir/hc.c.o CMakeFiles/hc.dir/hcdriver.c.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ML/Cluster/Murtagh && /usr/bin/cmake -E cmake_symlink_library ../../../../lib/libhc.so.1.2016.09.4 ../../../../lib/libhc.so.1 ../../../../lib/libhc.so make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' [ 1%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/RDLog.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral && /usr/bin/c++ -DRDGeneral_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/RDGeneral.dir/RDLog.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/RDLog.cpp [ 1%] Built target hc [ 1%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/Dict.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral && /usr/bin/c++ -DRDGeneral_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/RDGeneral.dir/Dict.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/Dict.cpp [ 2%] Linking CXX shared library ../../lib/libChemicalFeatures.so cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures && /usr/bin/cmake -E cmake_link_script CMakeFiles/ChemicalFeatures.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libChemicalFeatures.so.1 -o ../../lib/libChemicalFeatures.so.1.2016.09.4 CMakeFiles/ChemicalFeatures.dir/FreeChemicalFeature.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/ChemicalFeatures && /usr/bin/cmake -E cmake_symlink_library ../../lib/libChemicalFeatures.so.1.2016.09.4 ../../lib/libChemicalFeatures.so.1 ../../lib/libChemicalFeatures.so make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' [ 2%] Built target ChemicalFeatures [ 3%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/LocaleSwitcher.cpp.o cd /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral && /usr/bin/c++ -DRDGeneral_EXPORTS -DRDK_64BIT_BUILD -DRDK_BUILD_DESCRIPTORS3D -DRDK_HAS_EIGEN3 -DRDK_TEST_MULTITHREADED -DRDK_USE_STRICT_ROTOR_DEFINITION -I/usr/include/inchi -I/usr/include/python2.7 -I/builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code -I/usr/include/eigen3 -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 -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -fPIC -Wall -Wextra -O2 -g -DNDEBUG -fPIC -DRDK_THREADSAFE_SSS -DBOOST_ALL_NO_LIB -o CMakeFiles/RDGeneral.dir/LocaleSwitcher.cpp.o -c /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/LocaleSwitcher.cpp BUILDSTDERR: /builddir/build/BUILD/rdkit-Release_2016_09_4/python2/Code/RDGeneral/LocaleSwitcher.cpp:36:10: fatal error: xlocale.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [Code/RDGeneral/CMakeFiles/RDGeneral.dir/build.make:131: Code/RDGeneral/CMakeFiles/RDGeneral.dir/LocaleSwitcher.cpp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' make[1]: Leaving directory '/builddir/build/BUILD/rdkit-Release_2016_09_4/python2' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:412: Code/RDGeneral/CMakeFiles/RDGeneral.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:166: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xowAhR (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xowAhR (%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