Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nanoflann.spec'], chrootPath='/var/lib/mock/f41-build-837228-158977/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nanoflann.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/nanoflann-1.6.0-2.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nanoflann.spec'], chrootPath='/var/lib/mock/f41-build-837228-158977/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nanoflann.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5c1nmy + umask 022 + cd /builddir/build/BUILD/nanoflann-1.6.0-build + test -d /builddir/build/BUILD/nanoflann-1.6.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/nanoflann-1.6.0-build + /usr/bin/rm -rf /builddir/build/BUILD/nanoflann-1.6.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/nanoflann-1.6.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/nanoflann-1.6.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VTzGLN + umask 022 + cd /builddir/build/BUILD/nanoflann-1.6.0-build + cd /builddir/build/BUILD/nanoflann-1.6.0-build + rm -rf nanoflann-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nanoflann-1.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nanoflann-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r tests/gtest-1.8.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CbpmXE + umask 022 + cd /builddir/build/BUILD/nanoflann-1.6.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nanoflann-1.6.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 redhat-linux-build -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_DO_STRIP:BOOL=OFF -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 -GNinja -DCMAKE_BUILD_TYPE=Release -DNANOFLANN_USE_SYSTEM_GTEST=ON -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.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 -- nanoflann version: 1.5.5 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.14.0") -- Configuring done (4.2s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/22] /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o -MF examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o.d -o examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/pointcloud_example.cpp FAILED: examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o -MF examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o.d -o examples/CMakeFiles/pointcloud_example.dir/pointcloud_example.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/pointcloud_example.cpp cc1plus: error: unknown cpu ‘native’ for ‘-mtune’ [2/22] /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o -MF examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o.d -o examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/dynamic_pointcloud_example.cpp FAILED: examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o -MF examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o.d -o examples/CMakeFiles/dynamic_pointcloud_example.dir/dynamic_pointcloud_example.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/dynamic_pointcloud_example.cpp cc1plus: error: unknown cpu ‘native’ for ‘-mtune’ [3/22] /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o -MF examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o.d -o examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/pointcloud_adaptor_example.cpp FAILED: examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o -MF examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o.d -o examples/CMakeFiles/pointcloud_adaptor_example.dir/pointcloud_adaptor_example.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/pointcloud_adaptor_example.cpp cc1plus: error: unknown cpu ‘native’ for ‘-mtune’ [4/22] /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o -MF examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o.d -o examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/pointcloud_kdd_radius.cpp FAILED: examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o /usr/bin/g++ -DNANOFLANN_PATH=\"/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0\" -I/builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wall -Wshadow -Wno-long-long -Wno-variadic-macros -O2 -mtune=native -Wno-ignored-attributes -Wno-int-in-bool-context -MD -MT examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o -MF examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o.d -o examples/CMakeFiles/pointcloud_kdd_radius.dir/pointcloud_kdd_radius.cpp.o -c /builddir/build/BUILD/nanoflann-1.6.0-build/nanoflann-1.6.0/examples/pointcloud_kdd_radius.cpp cc1plus: error: unknown cpu ‘native’ for ‘-mtune’ ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.CbpmXE (%build) Bad exit status from /var/tmp/rpm-tmp.CbpmXE (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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/nanoflann.spec