Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/waifu2x-converter-cpp.spec'], chrootPath='/var/lib/mock/f30-build-39523-22625/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/waifu2x-converter-cpp.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/waifu2x-converter-cpp-5.2-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/waifu2x-converter-cpp.spec'], chrootPath='/var/lib/mock/f30-build-39523-22625/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/waifu2x-converter-cpp.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.18y635 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf waifu2x-converter-cpp-5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/waifu2x-converter-cpp-5.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd waifu2x-converter-cpp-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/waifu2x-converter-cpp-5.2-set_soversion.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1DfBAj + umask 022 + cd /builddir/build/BUILD + cd waifu2x-converter-cpp-5.2 + mkdir _build + cd _build + 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,--as-needed -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 -DINSTALL_MODELS=true .. -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.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 BUILDSTDERR: -- We are on: Linux (Linux) -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.4") -- Found OpenCV: /usr (found version "3.4.1") BUILDSTDERR: CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) BUILDSTDERR: -- CUDA not found. disabled. -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: 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/waifu2x-converter-cpp-5.2/_build + /usr/bin/make -O -j4 /usr/bin/cmake -H/builddir/build/BUILD/waifu2x-converter-cpp-5.2 -B/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/conv.dir/build.make CMakeFiles/conv.dir/depend make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' cd /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/conv.dir/DependInfo.cmake --color= Scanning dependencies of target conv make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/conv.dir/build.make CMakeFiles/conv.dir/build make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 5%] Building C object CMakeFiles/conv.dir/conv.c.o /usr/bin/cc -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -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 -Wall -o CMakeFiles/conv.dir/conv.c.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/conv.c make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 10%] Linking C executable conv /usr/bin/cmake -E cmake_link_script CMakeFiles/conv.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/conv.dir/conv.c.o -o conv make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[1]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 10%] Built target conv make[1]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/gensrcs.dir/build.make CMakeFiles/gensrcs.dir/depend make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' cd /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/gensrcs.dir/DependInfo.cmake --color= Scanning dependencies of target gensrcs make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/gensrcs.dir/build.make CMakeFiles/gensrcs.dir/build make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 15%] Generating modelHandler_OpenCL.cl.h ./conv /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler_OpenCL.cl /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/modelHandler_OpenCL.cl.h str make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[1]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 15%] Built target gensrcs make[1]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/w2xc.dir/build.make CMakeFiles/w2xc.dir/depend make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' cd /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/w2xc.dir/DependInfo.cmake --color= Scanning dependencies of target w2xc make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/w2xc.dir/build.make CMakeFiles/w2xc.dir/build make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 35%] Building CXX object CMakeFiles/w2xc.dir/src/threadPool.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -Dw2xc_EXPORTS -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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/w2xc.dir/src/threadPool.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/threadPool.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 40%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_CUDA.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -Dw2xc_EXPORTS -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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/w2xc.dir/src/modelHandler_CUDA.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler_CUDA.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 20%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_OpenCL.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -Dw2xc_EXPORTS -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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/w2xc.dir/src/modelHandler_OpenCL.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler_OpenCL.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler_OpenCL.cpp: In function 'void w2xc::initOpenCLGlobal(std::vector*)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler_OpenCL.cpp:147:9: warning: unused variable 'is_apple' [-Wunused-variable] BUILDSTDERR: bool is_apple = strstr(&name[0], "Apple") != NULL; BUILDSTDERR: ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 30%] Building CXX object CMakeFiles/w2xc.dir/src/convertRoutine.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -Dw2xc_EXPORTS -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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/w2xc.dir/src/convertRoutine.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/convertRoutine.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/convertRoutine.cpp: In function 'bool w2xc::convertWithModelsBlockSplit(W2XConv*, ComputeEnv*, W2Mat&, W2Mat&, std::vector >&, W2XConvFlopsCounter*, int, w2xc::image_format, bool)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/convertRoutine.cpp:177:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int bi=0; biget_read_ptr_host(env, in_size); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler.cpp:508:11: warning: unused variable 'packed_output' [-Wunused-variable] BUILDSTDERR: float *packed_output = (float*)packed_output_buf->get_write_ptr_host(env); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler.cpp:594:17: warning: unused variable 'packed_input' [-Wunused-variable] BUILDSTDERR: const float *packed_input = (float*)packed_input_buf->get_read_ptr_host(env, in_size); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler.cpp:595:11: warning: unused variable 'packed_output' [-Wunused-variable] BUILDSTDERR: float *packed_output = (float*)packed_output_buf->get_write_ptr_host(env); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler.cpp: In constructor 'w2xc::Model::Model(int, int, const float*, const float*)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler.cpp:845:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: for (uint32_t oi=0; oi >&)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/modelHandler.cpp:884:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&nModel, 4, 1, binfp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 55%] Building CXX object CMakeFiles/w2xc.dir/src/cvwrap.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -Dw2xc_EXPORTS -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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/w2xc.dir/src/cvwrap.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/cvwrap.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/cvwrap.cpp: In function 'W2Mat extract_view_from_cvmat(cv::Mat&)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/cvwrap.cpp:137:9: warning: unused variable 'w' [-Wunused-variable] BUILDSTDERR: int w = m.size().width; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/cvwrap.cpp:138:9: warning: unused variable 'h' [-Wunused-variable] BUILDSTDERR: int h = m.size().height; BUILDSTDERR: ^ make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 45%] Building CXX object CMakeFiles/w2xc.dir/src/w2xconv.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -Dw2xc_EXPORTS -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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/w2xc.dir/src/w2xconv.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In function 'void clearError(W2XConv*)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:411:9: warning: enumeration value 'W2XCONV_ERROR_OPENCL' not handled in switch [-Wswitch] BUILDSTDERR: switch (conv->last_error.code) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In function 'char* w2xconv_strerror(W2XConvError*)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:441:9: warning: enumeration value 'W2XCONV_ERROR_OPENCL' not handled in switch [-Wswitch] BUILDSTDERR: switch (e->code) { BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In function 'void get_png_background_colour(FILE*, bool*, float3*)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1236:8: warning: unused variable 'chunk_size' [-Wunused-variable] BUILDSTDERR: int chunk_size = read_int4(png_fp); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1212:6: warning: unused variable 'width' [-Wunused-variable] BUILDSTDERR: int width = read_int4(png_fp); BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1213:6: warning: unused variable 'height' [-Wunused-variable] BUILDSTDERR: int height = read_int4(png_fp); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1216:6: warning: unused variable 'compress' [-Wunused-variable] BUILDSTDERR: int compress = fgetc(png_fp); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1217:6: warning: unused variable 'filter' [-Wunused-variable] BUILDSTDERR: int filter = fgetc(png_fp); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1218:6: warning: unused variable 'interlace' [-Wunused-variable] BUILDSTDERR: int interlace = fgetc(png_fp); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In instantiation of 'void preproc_rgba2rgb(cv::Mat*, cv::Mat*, cv::Mat*, float, float, float) [with SRC_TYPE = short unsigned int; int src_max = 65535; int ridx = 2; int bidx = 0]': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1326:57: required from here BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:926:19: warning: variable 'src_line0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:926:38: warning: variable 'src_line2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In instantiation of 'void preproc_rgba2rgb(cv::Mat*, cv::Mat*, cv::Mat*, float, float, float) [with SRC_TYPE = unsigned char; int src_max = 255; int ridx = 2; int bidx = 0]': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1329:54: required from here BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:926:19: warning: variable 'src_line0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:926:38: warning: variable 'src_line2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In instantiation of 'void preproc_rgba2yuv(cv::Mat*, cv::Mat*, cv::Mat*, float, float, float) [with SRC_TYPE = short unsigned int; int src_max = 65535; int ridx = 2; int bidx = 0]': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1345:57: required from here BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:809:19: warning: variable 'src_line0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:809:38: warning: variable 'src_line2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp: In instantiation of 'void preproc_rgba2yuv(cv::Mat*, cv::Mat*, cv::Mat*, float, float, float) [with SRC_TYPE = unsigned char; int src_max = 255; int ridx = 2; int bidx = 0]': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:1348:54: required from here BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:809:19: warning: variable 'src_line0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/w2xconv.cpp:809:38: warning: variable 'src_line2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SRC_TYPE *src_line0 = NULL, *src_line2 = NULL; BUILDSTDERR: ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 70%] Linking CXX shared library libw2xc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/w2xc.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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libw2xc.so.1 -o libw2xc.so.1 CMakeFiles/w2xc.dir/src/modelHandler.cpp.o CMakeFiles/w2xc.dir/src/modelHandler_OpenCL.cpp.o CMakeFiles/w2xc.dir/src/convertRoutine.cpp.o CMakeFiles/w2xc.dir/src/threadPool.cpp.o CMakeFiles/w2xc.dir/src/modelHandler_CUDA.cpp.o CMakeFiles/w2xc.dir/src/w2xconv.cpp.o CMakeFiles/w2xc.dir/src/common.cpp.o CMakeFiles/w2xc.dir/src/cvwrap.cpp.o CMakeFiles/w2xc.dir/src/Env.cpp.o CMakeFiles/w2xc.dir/src/Buffer.cpp.o /usr/lib64/libopencv_shape.so.3.4.1 /usr/lib64/libopencv_stitching.so.3.4.1 /usr/lib64/libopencv_superres.so.3.4.1 /usr/lib64/libopencv_videostab.so.3.4.1 /usr/lib64/libopencv_aruco.so.3.4.1 /usr/lib64/libopencv_bgsegm.so.3.4.1 /usr/lib64/libopencv_bioinspired.so.3.4.1 /usr/lib64/libopencv_ccalib.so.3.4.1 /usr/lib64/libopencv_cvv.so.3.4.1 /usr/lib64/libopencv_dpm.so.3.4.1 /usr/lib64/libopencv_face.so.3.4.1 /usr/lib64/libopencv_freetype.so.3.4.1 /usr/lib64/libopencv_fuzzy.so.3.4.1 /usr/lib64/libopencv_hdf.so.3.4.1 /usr/lib64/libopencv_hfs.so.3.4.1 /usr/lib64/libopencv_img_hash.so.3.4.1 /usr/lib64/libopencv_line_descriptor.so.3.4.1 /usr/lib64/libopencv_optflow.so.3.4.1 /usr/lib64/libopencv_reg.so.3.4.1 /usr/lib64/libopencv_rgbd.so.3.4.1 /usr/lib64/libopencv_saliency.so.3.4.1 /usr/lib64/libopencv_stereo.so.3.4.1 /usr/lib64/libopencv_structured_light.so.3.4.1 /usr/lib64/libopencv_surface_matching.so.3.4.1 /usr/lib64/libopencv_tracking.so.3.4.1 /usr/lib64/libopencv_ximgproc.so.3.4.1 /usr/lib64/libopencv_xobjdetect.so.3.4.1 /usr/lib64/libopencv_xphoto.so.3.4.1 -ldl -lpthread -lstdc++fs -lstdc++ /usr/lib64/libopencv_photo.so.3.4.1 /usr/lib64/libopencv_datasets.so.3.4.1 /usr/lib64/libopencv_ml.so.3.4.1 /usr/lib64/libopencv_plot.so.3.4.1 /usr/lib64/libopencv_video.so.3.4.1 /usr/lib64/libopencv_calib3d.so.3.4.1 /usr/lib64/libopencv_features2d.so.3.4.1 /usr/lib64/libopencv_highgui.so.3.4.1 /usr/lib64/libopencv_videoio.so.3.4.1 /usr/lib64/libopencv_phase_unwrapping.so.3.4.1 /usr/lib64/libopencv_flann.so.3.4.1 /usr/lib64/libopencv_imgcodecs.so.3.4.1 /usr/lib64/libopencv_objdetect.so.3.4.1 /usr/lib64/libopencv_imgproc.so.3.4.1 /usr/lib64/libopencv_core.so.3.4.1 /usr/bin/cmake -E cmake_symlink_library libw2xc.so.1 libw2xc.so.1 libw2xc.so make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[1]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 70%] Built target w2xc make[1]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/waifu2x-converter-cpp.dir/build.make CMakeFiles/waifu2x-converter-cpp.dir/depend /usr/bin/make -f CMakeFiles/runtest.dir/build.make CMakeFiles/runtest.dir/depend /usr/bin/make -f CMakeFiles/runbench.dir/build.make CMakeFiles/runbench.dir/depend make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' cd /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/runtest.dir/DependInfo.cmake --color= Scanning dependencies of target runtest make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/runtest.dir/build.make CMakeFiles/runtest.dir/build make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' cd /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/runbench.dir/DependInfo.cmake --color= Scanning dependencies of target runbench make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/runbench.dir/build.make CMakeFiles/runbench.dir/build make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' cd /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2 /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build /builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build/CMakeFiles/waifu2x-converter-cpp.dir/DependInfo.cmake --color= Scanning dependencies of target waifu2x-converter-cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' /usr/bin/make -f CMakeFiles/waifu2x-converter-cpp.dir/build.make CMakeFiles/waifu2x-converter-cpp.dir/build make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 75%] Building C object CMakeFiles/runtest.dir/w32-apps/runtest.c.o /usr/bin/cc -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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 -Wall -o CMakeFiles/runtest.dir/w32-apps/runtest.c.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/w32-apps/runtest.c make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 80%] Building C object CMakeFiles/runbench.dir/w32-apps/runbench.c.o /usr/bin/cc -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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 -Wall -o CMakeFiles/runbench.dir/w32-apps/runbench.c.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/w32-apps/runbench.c make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 90%] Linking C executable runtest /usr/bin/cmake -E cmake_link_script CMakeFiles/runtest.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/runtest.dir/w32-apps/runtest.c.o -o runtest -Wl,-rpath,/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build libw2xc.so.1 -lstdc++fs -lstdc++ /usr/lib64/libopencv_shape.so.3.4.1 /usr/lib64/libopencv_stitching.so.3.4.1 /usr/lib64/libopencv_superres.so.3.4.1 /usr/lib64/libopencv_videostab.so.3.4.1 /usr/lib64/libopencv_aruco.so.3.4.1 /usr/lib64/libopencv_bgsegm.so.3.4.1 /usr/lib64/libopencv_bioinspired.so.3.4.1 /usr/lib64/libopencv_ccalib.so.3.4.1 /usr/lib64/libopencv_cvv.so.3.4.1 /usr/lib64/libopencv_dpm.so.3.4.1 /usr/lib64/libopencv_face.so.3.4.1 /usr/lib64/libopencv_photo.so.3.4.1 /usr/lib64/libopencv_freetype.so.3.4.1 /usr/lib64/libopencv_fuzzy.so.3.4.1 /usr/lib64/libopencv_hdf.so.3.4.1 /usr/lib64/libopencv_hfs.so.3.4.1 /usr/lib64/libopencv_img_hash.so.3.4.1 /usr/lib64/libopencv_line_descriptor.so.3.4.1 /usr/lib64/libopencv_optflow.so.3.4.1 /usr/lib64/libopencv_reg.so.3.4.1 /usr/lib64/libopencv_rgbd.so.3.4.1 /usr/lib64/libopencv_saliency.so.3.4.1 /usr/lib64/libopencv_stereo.so.3.4.1 /usr/lib64/libopencv_structured_light.so.3.4.1 /usr/lib64/libopencv_phase_unwrapping.so.3.4.1 /usr/lib64/libopencv_surface_matching.so.3.4.1 /usr/lib64/libopencv_tracking.so.3.4.1 /usr/lib64/libopencv_video.so.3.4.1 /usr/lib64/libopencv_datasets.so.3.4.1 /usr/lib64/libopencv_ml.so.3.4.1 /usr/lib64/libopencv_plot.so.3.4.1 /usr/lib64/libopencv_ximgproc.so.3.4.1 /usr/lib64/libopencv_calib3d.so.3.4.1 /usr/lib64/libopencv_features2d.so.3.4.1 /usr/lib64/libopencv_flann.so.3.4.1 /usr/lib64/libopencv_highgui.so.3.4.1 /usr/lib64/libopencv_videoio.so.3.4.1 /usr/lib64/libopencv_xobjdetect.so.3.4.1 /usr/lib64/libopencv_imgcodecs.so.3.4.1 /usr/lib64/libopencv_objdetect.so.3.4.1 /usr/lib64/libopencv_xphoto.so.3.4.1 /usr/lib64/libopencv_imgproc.so.3.4.1 /usr/lib64/libopencv_core.so.3.4.1 -ldl -lpthread -lstdc++fs -lstdc++ make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /usr/bin/ld: //usr/lib64/libgdal.so.20: undefined reference to `wrapper_clapack_dposv' BUILDSTDERR: /usr/bin/ld: //usr/lib64/libgdal.so.20: undefined reference to `wrapper_clapack_dgesv' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [CMakeFiles/runtest.dir/build.make:131: runtest] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:224: CMakeFiles/runtest.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 95%] Linking C executable runbench /usr/bin/cmake -E cmake_link_script CMakeFiles/runbench.dir/link.txt --verbose=1 /usr/bin/cc -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 -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/runbench.dir/w32-apps/runbench.c.o -o runbench -Wl,-rpath,/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build libw2xc.so.1 -lstdc++fs -lstdc++ /usr/lib64/libopencv_shape.so.3.4.1 /usr/lib64/libopencv_stitching.so.3.4.1 /usr/lib64/libopencv_superres.so.3.4.1 /usr/lib64/libopencv_videostab.so.3.4.1 /usr/lib64/libopencv_aruco.so.3.4.1 /usr/lib64/libopencv_bgsegm.so.3.4.1 /usr/lib64/libopencv_bioinspired.so.3.4.1 /usr/lib64/libopencv_ccalib.so.3.4.1 /usr/lib64/libopencv_cvv.so.3.4.1 /usr/lib64/libopencv_dpm.so.3.4.1 /usr/lib64/libopencv_face.so.3.4.1 /usr/lib64/libopencv_photo.so.3.4.1 /usr/lib64/libopencv_freetype.so.3.4.1 /usr/lib64/libopencv_fuzzy.so.3.4.1 /usr/lib64/libopencv_hdf.so.3.4.1 /usr/lib64/libopencv_hfs.so.3.4.1 /usr/lib64/libopencv_img_hash.so.3.4.1 /usr/lib64/libopencv_line_descriptor.so.3.4.1 /usr/lib64/libopencv_optflow.so.3.4.1 /usr/lib64/libopencv_reg.so.3.4.1 /usr/lib64/libopencv_rgbd.so.3.4.1 /usr/lib64/libopencv_saliency.so.3.4.1 /usr/lib64/libopencv_stereo.so.3.4.1 /usr/lib64/libopencv_structured_light.so.3.4.1 /usr/lib64/libopencv_phase_unwrapping.so.3.4.1 /usr/lib64/libopencv_surface_matching.so.3.4.1 /usr/lib64/libopencv_tracking.so.3.4.1 /usr/lib64/libopencv_video.so.3.4.1 /usr/lib64/libopencv_datasets.so.3.4.1 /usr/lib64/libopencv_ml.so.3.4.1 /usr/lib64/libopencv_plot.so.3.4.1 /usr/lib64/libopencv_ximgproc.so.3.4.1 /usr/lib64/libopencv_calib3d.so.3.4.1 /usr/lib64/libopencv_features2d.so.3.4.1 /usr/lib64/libopencv_flann.so.3.4.1 /usr/lib64/libopencv_highgui.so.3.4.1 /usr/lib64/libopencv_videoio.so.3.4.1 /usr/lib64/libopencv_xobjdetect.so.3.4.1 /usr/lib64/libopencv_imgcodecs.so.3.4.1 /usr/lib64/libopencv_objdetect.so.3.4.1 /usr/lib64/libopencv_xphoto.so.3.4.1 /usr/lib64/libopencv_imgproc.so.3.4.1 /usr/lib64/libopencv_core.so.3.4.1 -ldl -lpthread -lstdc++fs -lstdc++ make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /usr/bin/ld: //usr/lib64/libgdal.so.20: undefined reference to `wrapper_clapack_dposv' BUILDSTDERR: /usr/bin/ld: //usr/lib64/libgdal.so.20: undefined reference to `wrapper_clapack_dgesv' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [CMakeFiles/runbench.dir/build.make:131: runbench] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:261: CMakeFiles/runbench.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [ 85%] Building CXX object CMakeFiles/waifu2x-converter-cpp.dir/src/main.cpp.o /usr/bin/c++ -DBUILD_TS=\"2018-12-08T06:39:02\" -DDEFAULT_MODELS_DIRECTORY=\"/usr/share/waifu2x-converter-cpp\" -DHAVE_OPENCV -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/src -I/builddir/build/BUILD/waifu2x-converter-cpp-5.2/include -isystem /usr/include/opencv -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 -std=gnu++17 -o CMakeFiles/waifu2x-converter-cpp.dir/src/main.cpp.o -c /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/main.cpp make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/main.cpp: In function 'std::__cxx11::string generate_output_location(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, int, double)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/main.cpp:148:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (tailDot != std::string::npos) BUILDSTDERR: ~~~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/main.cpp:175:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (lastSlash != std::string::npos) BUILDSTDERR: ~~~~~~~~~~^~~~~~ BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/main.cpp: In function 'int main(int, char**)': BUILDSTDERR: /builddir/build/BUILD/waifu2x-converter-cpp-5.2/src/main.cpp:221:6: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: int ret = 1; BUILDSTDERR: ^~~ make[2]: Entering directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' [100%] Linking CXX executable waifu2x-converter-cpp /usr/bin/cmake -E cmake_link_script CMakeFiles/waifu2x-converter-cpp.dir/link.txt --verbose=1 /usr/bin/c++ -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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/waifu2x-converter-cpp.dir/src/main.cpp.o -o waifu2x-converter-cpp -Wl,-rpath,/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build: libw2xc.so.1 -lstdc++fs /usr/lib64/libopencv_shape.so.3.4.1 /usr/lib64/libopencv_stitching.so.3.4.1 /usr/lib64/libopencv_superres.so.3.4.1 /usr/lib64/libopencv_videostab.so.3.4.1 /usr/lib64/libopencv_aruco.so.3.4.1 /usr/lib64/libopencv_bgsegm.so.3.4.1 /usr/lib64/libopencv_bioinspired.so.3.4.1 /usr/lib64/libopencv_ccalib.so.3.4.1 /usr/lib64/libopencv_cvv.so.3.4.1 /usr/lib64/libopencv_dpm.so.3.4.1 /usr/lib64/libopencv_face.so.3.4.1 /usr/lib64/libopencv_photo.so.3.4.1 /usr/lib64/libopencv_freetype.so.3.4.1 /usr/lib64/libopencv_fuzzy.so.3.4.1 /usr/lib64/libopencv_hdf.so.3.4.1 /usr/lib64/libopencv_hfs.so.3.4.1 /usr/lib64/libopencv_img_hash.so.3.4.1 /usr/lib64/libopencv_line_descriptor.so.3.4.1 /usr/lib64/libopencv_optflow.so.3.4.1 /usr/lib64/libopencv_reg.so.3.4.1 /usr/lib64/libopencv_rgbd.so.3.4.1 /usr/lib64/libopencv_saliency.so.3.4.1 /usr/lib64/libopencv_stereo.so.3.4.1 /usr/lib64/libopencv_structured_light.so.3.4.1 /usr/lib64/libopencv_phase_unwrapping.so.3.4.1 /usr/lib64/libopencv_surface_matching.so.3.4.1 /usr/lib64/libopencv_tracking.so.3.4.1 /usr/lib64/libopencv_video.so.3.4.1 /usr/lib64/libopencv_datasets.so.3.4.1 /usr/lib64/libopencv_ml.so.3.4.1 /usr/lib64/libopencv_plot.so.3.4.1 /usr/lib64/libopencv_ximgproc.so.3.4.1 /usr/lib64/libopencv_calib3d.so.3.4.1 /usr/lib64/libopencv_features2d.so.3.4.1 /usr/lib64/libopencv_flann.so.3.4.1 /usr/lib64/libopencv_highgui.so.3.4.1 /usr/lib64/libopencv_videoio.so.3.4.1 /usr/lib64/libopencv_xobjdetect.so.3.4.1 /usr/lib64/libopencv_imgcodecs.so.3.4.1 /usr/lib64/libopencv_objdetect.so.3.4.1 /usr/lib64/libopencv_xphoto.so.3.4.1 /usr/lib64/libopencv_imgproc.so.3.4.1 /usr/lib64/libopencv_core.so.3.4.1 -ldl -lpthread -lstdc++fs -lstdc++ make[2]: Leaving directory '/builddir/build/BUILD/waifu2x-converter-cpp-5.2/_build' BUILDSTDERR: /usr/bin/ld: //usr/lib64/libgdal.so.20: undefined reference to `wrapper_clapack_dposv' BUILDSTDERR: /usr/bin/ld: //usr/lib64/libgdal.so.20: undefined reference to `wrapper_clapack_dgesv' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [CMakeFiles/waifu2x-converter-cpp.dir/build.make:131: waifu2x-converter-cpp] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:187: CMakeFiles/waifu2x-converter-cpp.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:144: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.1DfBAj (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.1DfBAj (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/waifu2x-converter-cpp.spec