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/nvidia-texture-tools.spec'], chrootPath='/var/lib/mock/f29-build-6749-1659/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/nvidia-texture-tools.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/nvidia-texture-tools-2.0.8-18.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nvidia-texture-tools.spec'], chrootPath='/var/lib/mock/f29-build-6749-1659/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/nvidia-texture-tools.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GMR74S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nvidia-texture-tools + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/nvidia-texture-tools-2.0.8-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nvidia-texture-tools + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nvidia-texture-tools-2.0.8-gcc4.7.patch):' Patch #0 (nvidia-texture-tools-2.0.8-gcc4.7.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/Debug.cpp Patch #1 (nvidia-texture-tools-2.0.8-wordsize.patch): + echo 'Patch #1 (nvidia-texture-tools-2.0.8-wordsize.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/DefsGnucLinux.h Patch #2 (nvidia-texture-tools-2.0.8-png-api.patch): + echo 'Patch #2 (nvidia-texture-tools-2.0.8-png-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvimage/ImageIO.cpp + echo 'Patch #3 (nvidia-texture-tools-2.0.8-soversion.patch):' Patch #3 (nvidia-texture-tools-2.0.8-soversion.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt patching file src/nvcore/CMakeLists.txt patching file src/nvimage/CMakeLists.txt patching file src/nvmath/CMakeLists.txt patching file src/nvtt/CMakeLists.txt + echo 'Patch #4 (nvidia-texture-tools-2.0.8-libdir.patch):' Patch #4 (nvidia-texture-tools-2.0.8-libdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/CMakeLists.txt patching file src/nvimage/CMakeLists.txt patching file src/nvmath/CMakeLists.txt patching file src/nvtt/CMakeLists.txt + echo 'Patch #5 (nvidia-texture-tools-arm.patch):' Patch #5 (nvidia-texture-tools-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/nvcore.h + echo 'Patch #6 (nvidia-texture-tools-aarch64.patch):' Patch #6 (nvidia-texture-tools-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/poshlib/posh.h patching file src/nvcore/nvcore.h + echo 'Patch #7 (nvidia-texture-tools-bool-null.patch):' Patch #7 (nvidia-texture-tools-bool-null.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvimage/ImageIO.cpp + echo 'Patch #8 (nvidia-texture-tools-mips.patch):' Patch #8 (nvidia-texture-tools-mips.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/nvcore.h patching file src/nvcore/poshlib/posh.h Patch #9 (nvidia-texture-tools-s390.patch): + echo 'Patch #9 (nvidia-texture-tools-s390.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvcore/nvcore.h patching file src/nvcore/poshlib/posh.h + echo 'Patch #10 (nvidia-texture-tools-ppcle.patch):' Patch #10 (nvidia-texture-tools-ppcle.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/nvtt/squish/simd_ve.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QyXKpm + umask 022 + cd /builddir/build/BUILD + cd nvidia-texture-tools + mkdir -p build + pushd build ~/build/BUILD/nvidia-texture-tools/build ~/build/BUILD/nvidia-texture-tools + 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' + 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 -DNVTT_SHARED=1 -DCMAKE_SKIP_RPATH=1 .. -- 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 -- Setting optimal options -- Processor: riscv64 -- Compiler Flags: -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 BUILDSTDERR: CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:270 (message): BUILDSTDERR: Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when BUILDSTDERR: available. Run "cmake --help-policy CMP0072" for policy details. Use the BUILDSTDERR: cmake_policy command to set the policy and suppress this warning. BUILDSTDERR: FindOpenGL found both a legacy GL library: BUILDSTDERR: OPENGL_gl_LIBRARY: /usr/lib64/libGL.so BUILDSTDERR: and GLVND libraries for OpenGL and GLX: BUILDSTDERR: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so BUILDSTDERR: OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so BUILDSTDERR: OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for BUILDSTDERR: compatibility with CMake 3.10 and below the legacy GL library will be used. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: src/CMakeLists.txt:10 (INCLUDE) BUILDSTDERR: This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /usr/lib64/libOpenGL.so -- Looking for OpenGL - found -- Looking for GLUT - not found -- Looking for DirectX - not found -- Looking for GLEW - not found -- Looking for Cg - not found -- Looking for CUDA - not found -- Looking for Maya - not found -- Found JPEG: /usr/lib64/libjpeg.so -- Looking for JPEG - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.34") -- Looking for PNG - found -- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.9") -- Looking for TIFF - found -- Looking for OpenEXR - not found -- Found unsuitable Qt version "" from NOTFOUND -- 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 -- Use thread library: -lpthread -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- Looking for include file signal.h -- Looking for include file signal.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- 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_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/nvidia-texture-tools/build + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/nvidia-texture-tools -B/builddir/build/BUILD/nvidia-texture-tools/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/nvidia-texture-tools/build/CMakeFiles /builddir/build/BUILD/nvidia-texture-tools/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' make -f src/nvcore/CMakeFiles/nvcore.dir/build.make src/nvcore/CMakeFiles/nvcore.dir/depend make -f src/nvcore/poshlib/CMakeFiles/posh.dir/build.make src/nvcore/poshlib/CMakeFiles/posh.dir/depend make -f src/nvtt/squish/CMakeFiles/squish.dir/build.make src/nvtt/squish/CMakeFiles/squish.dir/depend make[2]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' cd /builddir/build/BUILD/nvidia-texture-tools/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/nvidia-texture-tools /builddir/build/BUILD/nvidia-texture-tools/src/nvcore /builddir/build/BUILD/nvidia-texture-tools/build /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore/CMakeFiles/nvcore.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' cd /builddir/build/BUILD/nvidia-texture-tools/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/nvidia-texture-tools /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/poshlib /builddir/build/BUILD/nvidia-texture-tools/build /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore/poshlib /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore/poshlib/CMakeFiles/posh.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' cd /builddir/build/BUILD/nvidia-texture-tools/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/nvidia-texture-tools /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish /builddir/build/BUILD/nvidia-texture-tools/build /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish/CMakeFiles/squish.dir/DependInfo.cmake --color= Scanning dependencies of target posh make[2]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' make -f src/nvcore/poshlib/CMakeFiles/posh.dir/build.make src/nvcore/poshlib/CMakeFiles/posh.dir/build make[2]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' Scanning dependencies of target nvcore Scanning dependencies of target squish make[2]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' [ 1%] Building C object src/nvcore/poshlib/CMakeFiles/posh.dir/posh.c.o make -f src/nvcore/CMakeFiles/nvcore.dir/build.make src/nvcore/CMakeFiles/nvcore.dir/build make[2]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore/poshlib && /usr/bin/cc -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -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 -o CMakeFiles/posh.dir/posh.c.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/poshlib/posh.c make -f src/nvtt/squish/CMakeFiles/squish.dir/build.make src/nvtt/squish/CMakeFiles/squish.dir/build make[2]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' make[2]: Entering directory '/builddir/build/BUILD/nvidia-texture-tools/build' BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/poshlib/posh.c:42: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/poshlib/posh.h:536:4: error: #error POSH cannot determine target CPU BUILDSTDERR: # error POSH cannot determine target CPU BUILDSTDERR: ^~~~~ [ 3%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/fastclusterfit.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/c++ -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish -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 -fPIC -o CMakeFiles/squish.dir/fastclusterfit.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.cpp [ 4%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Memory.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore && /usr/bin/c++ -DNVCORE_EXPORTS -DNVCORE_SHARED=1 -Dnvcore_EXPORTS -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvcore -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 -fPIC -o CMakeFiles/nvcore.dir/Memory.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Memory.cpp [ 6%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/weightedclusterfit.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/c++ -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish -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 -fPIC -o CMakeFiles/squish.dir/weightedclusterfit.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/weightedclusterfit.cpp BUILDSTDERR: make[2]: *** [src/nvcore/poshlib/CMakeFiles/posh.dir/build.make:66: src/nvcore/poshlib/CMakeFiles/posh.dir/posh.c.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:642: src/nvcore/poshlib/CMakeFiles/posh.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/nvcore.h:25, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Memory.h:6, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Memory.cpp:2: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/poshlib/posh.h:536:4: error: #error POSH cannot determine target CPU BUILDSTDERR: # error POSH cannot determine target CPU BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Memory.h:6, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Memory.cpp:2: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/nvcore.h:84:3: error: #error "Unsupported CPU" BUILDSTDERR: # error "Unsupported CPU" BUILDSTDERR: ^~~~~ [ 7%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/colourblock.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/c++ -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish -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 -fPIC -o CMakeFiles/squish.dir/colourblock.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/colourblock.cpp BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.h:31, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.cpp:27: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/maths.h: In member function 'virtual void squish::FastClusterFit::Compress3(void*)': BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/maths.h:69:12: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] BUILDSTDERR: m_x += v.m_x; BUILDSTDERR: ~~^~~ BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.cpp:384:22: note: within this loop BUILDSTDERR: for( int c0 = 0; c0 <= 16; c0++) BUILDSTDERR: ~~~^~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.h:31, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.cpp:27: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/maths.h: In member function 'virtual void squish::FastClusterFit::Compress4(void*)': BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/maths.h:69:12: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] BUILDSTDERR: m_x += v.m_x; BUILDSTDERR: ~~^~~ BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/fastclusterfit.cpp:492:22: note: within this loop BUILDSTDERR: for( int c0 = 0; c0 <= 16; c0++) BUILDSTDERR: ~~~^~~~~ BUILDSTDERR: make[2]: *** [src/nvcore/CMakeFiles/nvcore.dir/build.make:66: src/nvcore/CMakeFiles/nvcore.dir/Memory.cpp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... [ 9%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/colourfit.cpp.o [ 11%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/c++ -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish -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 -fPIC -o CMakeFiles/squish.dir/colourfit.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/colourfit.cpp cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvcore && /usr/bin/c++ -DNVCORE_EXPORTS -DNVCORE_SHARED=1 -Dnvcore_EXPORTS -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvcore -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 -fPIC -o CMakeFiles/nvcore.dir/Debug.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.cpp BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/nvcore.h:25, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.h:6, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.cpp:3: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/poshlib/posh.h:536:4: error: #error POSH cannot determine target CPU BUILDSTDERR: # error POSH cannot determine target CPU BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.h:6, BUILDSTDERR: from /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.cpp:3: BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/nvcore.h:84:3: error: #error "Unsupported CPU" BUILDSTDERR: # error "Unsupported CPU" BUILDSTDERR: ^~~~~ [ 12%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/colourset.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/c++ -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish -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 -fPIC -o CMakeFiles/squish.dir/colourset.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/colourset.cpp [ 14%] Building CXX object src/nvtt/squish/CMakeFiles/squish.dir/maths.cpp.o cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/c++ -I/builddir/build/BUILD/nvidia-texture-tools/src -I/builddir/build/BUILD/nvidia-texture-tools/build/src -I/builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish -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 -fPIC -o CMakeFiles/squish.dir/maths.cpp.o -c /builddir/build/BUILD/nvidia-texture-tools/src/nvtt/squish/maths.cpp BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.cpp: In function 'void* {anonymous}::callerAddress(void*)': BUILDSTDERR: /builddir/build/BUILD/nvidia-texture-tools/src/nvcore/Debug.cpp:243:2: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: make[2]: *** [src/nvcore/CMakeFiles/nvcore.dir/build.make:79: src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:118: src/nvcore/CMakeFiles/nvcore.dir/all] Error 2 [ 15%] Linking CXX static library libsquish.a cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/cmake -P CMakeFiles/squish.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/nvidia-texture-tools/build/src/nvtt/squish && /usr/bin/cmake -E cmake_link_script CMakeFiles/squish.dir/link.txt --verbose=1 /usr/bin/ar qc libsquish.a CMakeFiles/squish.dir/fastclusterfit.cpp.o CMakeFiles/squish.dir/weightedclusterfit.cpp.o CMakeFiles/squish.dir/colourblock.cpp.o CMakeFiles/squish.dir/colourfit.cpp.o CMakeFiles/squish.dir/colourset.cpp.o CMakeFiles/squish.dir/maths.cpp.o /usr/bin/ranlib libsquish.a make[2]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' [ 15%] Built target squish make[1]: Leaving directory '/builddir/build/BUILD/nvidia-texture-tools/build' BUILDSTDERR: make: *** [Makefile:144: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.QyXKpm (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.QyXKpm (%build) RPM build errors: 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/nvidia-texture-tools.spec