Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elements-alexandria.spec'], chrootPath='/var/lib/mock/f33-build-625549-67598/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elements-alexandria.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 setting SOURCE_DATE_EPOCH=1612483200 Wrote: /builddir/build/SRPMS/elements-alexandria-2.18-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elements-alexandria.spec'], chrootPath='/var/lib/mock/f33-build-625549-67598/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elements-alexandria.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 setting SOURCE_DATE_EPOCH=1612483200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AHrIf6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Alexandria-2.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/elements-alexandria-2.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Alexandria-2.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/elements-alexandria_bigendian_test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/elements-alexandria_ndarray_align.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4j7Qr7 + umask 022 + cd /builddir/build/BUILD + cd Alexandria-2.18 + export VERBOSE=1 + VERBOSE=1 + EXTRA_CMAKE_FLAGS=-DUSE_ENV_FLAGS=ON + EXTRA_CMAKE_FLAGS='-DUSE_ENV_FLAGS=ON -DPYTHON_EXPLICIT_VERSION=3' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 riscv64-redhat-linux-gnu -DELEMENTS_BUILD_TESTS=ON -DELEMENTS_INSTALL_TESTS=OFF -DSQUEEZED_INSTALL:BOOL=ON -DINSTALL_DOC:BOOL=ON -DUSE_SPHINX=OFF --no-warn-unused-cli -DCMAKE_LIB_INSTALL_SUFFIX=lib64 -DUSE_VERSIONED_LIBRARIES=ON -DUSE_ENV_FLAGS=ON -DPYTHON_EXPLICIT_VERSION=3 Not searching for unused variables given on the command line. Re-run cmake no build system arguments CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- 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/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Target binary tag from default: riscv64-fc33-gcc103-o2g -- Target system: riscv64-fc33-gcc103 -- Build type: o2g -- The build prefix is set to build -- The path to the sources is set to /builddir/build/BUILD/Alexandria-2.18 -- The path to the build is set to /builddir/build/BUILD/Alexandria-2.18/riscv64-redhat-linux-gnu -- The relative location for the build is set to riscv64-redhat-linux-gnu -- Setting cached build flags -- Performing Test CXX_HAS_ALL -- Performing Test CXX_HAS_ALL - Success -- Performing Test CXX_HAS_EXTRA -- Performing Test CXX_HAS_EXTRA - Success -- Performing Test CXX_HAS_WRITE_STRINGS -- Performing Test CXX_HAS_WRITE_STRINGS - Success -- Performing Test CXX_HAS_POINTER_ARITH -- Performing Test CXX_HAS_POINTER_ARITH - Success -- Performing Test CXX_HAS_NO_LONG_LONG -- Performing Test CXX_HAS_NO_LONG_LONG - Success -- Performing Test CXX_HAS_NO_UNKNOWN_PRAGMAS -- Performing Test CXX_HAS_NO_UNKNOWN_PRAGMAS - Success -- Performing Test CXX_HAS_FORMAT_SECURITY -- Performing Test CXX_HAS_FORMAT_SECURITY - Success -- Performing Test CXX_HAS_SHADOW -- Performing Test CXX_HAS_SHADOW - Success -- Performing Test CXX_HAS_LOGICAL_NOT_PARENTHESES -- Performing Test CXX_HAS_LOGICAL_NOT_PARENTHESES - Success -- Performing Test CXX_HAS_NULL_DEREFERENCE -- Performing Test CXX_HAS_NULL_DEREFERENCE - Success -- Performing Test CXX_HAS_OVERLOADED_VIRTUAL -- Performing Test CXX_HAS_OVERLOADED_VIRTUAL - Success -- Performing Test CXX_HAS_ERROR_RETURN_TYPE -- Performing Test CXX_HAS_ERROR_RETURN_TYPE - Success -- Performing Test C_HAS_ALL -- Performing Test C_HAS_ALL - Success -- Performing Test C_HAS_EXTRA -- Performing Test C_HAS_EXTRA - Success -- Performing Test C_HAS_WRITE_STRINGS -- Performing Test C_HAS_WRITE_STRINGS - Success -- Performing Test C_HAS_POINTER_ARITH -- Performing Test C_HAS_POINTER_ARITH - Success -- Performing Test C_HAS_NO_LONG_LONG -- Performing Test C_HAS_NO_LONG_LONG - Success -- Performing Test C_HAS_NO_UNKNOWN_PRAGMAS -- Performing Test C_HAS_NO_UNKNOWN_PRAGMAS - Success -- Performing Test C_HAS_FORMAT_SECURITY -- Performing Test C_HAS_FORMAT_SECURITY - Success -- Performing Test C_HAS_SHADOW -- Performing Test C_HAS_SHADOW - Success -- Performing Test C_HAS_LOGICAL_NOT_PARENTHESES -- Performing Test C_HAS_LOGICAL_NOT_PARENTHESES - Success -- Performing Test C_HAS_NULL_DEREFERENCE -- Performing Test C_HAS_NULL_DEREFERENCE - Success -- Performing Test C_HAS_NO_UNUSED_PARAMETER -- Performing Test C_HAS_NO_UNUSED_PARAMETER - Success -- Performing Test C_HAS_ERROR_RETURN_TYPE -- Performing Test C_HAS_ERROR_RETURN_TYPE - Success -- Performing Test CXX_HAS_DUPLICATED_COND -- Performing Test CXX_HAS_DUPLICATED_COND - Success -- Performing Test C_HAS_DUPLICATED_COND -- Performing Test C_HAS_DUPLICATED_COND - Success -- Performing Test C_HAS_JUMP_MISSES_INIT -- Performing Test C_HAS_JUMP_MISSES_INIT - Success -- Performing Test CXX_HAS_ANSI -- Performing Test CXX_HAS_ANSI - Success -- Performing Test C_HAS_ANSI -- Performing Test C_HAS_ANSI - Success -- Performing Test CXX_HAS_SUGGEST_OVERRIDE -- Performing Test CXX_HAS_SUGGEST_OVERRIDE - Success -- Performing Test CXX_HAS_CAST_FUNCTION_TYPE -- Performing Test CXX_HAS_CAST_FUNCTION_TYPE - Success -- Performing Test CXX_HAS_MISSING_FIELD_INITIALIZERS -- Performing Test CXX_HAS_MISSING_FIELD_INITIALIZERS - Success -- Performing Test CXX_HAS_MINUS_OG -- Performing Test CXX_HAS_MINUS_OG - Success -- Performing Test C_HAS_MINUS_OG -- Performing Test C_HAS_MINUS_OG - Success -- Performing Test HAS_CPP14_FLAG -- Performing Test HAS_CPP14_FLAG - Success -- Performing Test HAS_C11_FLAG -- Performing Test HAS_C11_FLAG - Success -- The installation location is /usr -- The squeezing of the installation is ON -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9.4", minimum required is "3") -- Looking for local directories... -- Found: -- AlexandriaKernel -- Configuration -- GridContainer -- Histogram -- MathUtils -- NdArray -- PhysicsUtils -- SOM -- SourceCatalog -- Table -- XYDataset -- Looking for projects in /usr/lib64/cmake/ElementsProject -- found Elements 5.12 /usr/lib64/cmake/ElementsProject CMake Error at /usr/lib64/cmake/ElementsProject/ElementsProjectConfig.cmake:1587 (message): Incompatible values of SGS_SYSTEM: Alexandria -> riscv64-fc33-gcc103 Elements 5.12 -> riscv64-fc33-gcc102 Check your configuration. Call Stack (most recent call first): /usr/lib64/cmake/ElementsProject/ElementsProjectConfig.cmake:241 (_elements_use_other_projects) CMakeLists.txt:14 (elements_project) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/Alexandria-2.18/riscv64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.4j7Qr7 (%build) Bad exit status from /var/tmp/rpm-tmp.4j7Qr7 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/elements-alexandria.spec