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/gmic.spec'], chrootPath='/var/lib/mock/f37-build-664983-74178/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gmic.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 sh: line 1: gimptool: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1662508800 Wrote: /builddir/build/SRPMS/gmic-3.1.0-4.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gmic.spec'], chrootPath='/var/lib/mock/f37-build-664983-74178/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gmic.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=1662508800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.83y6uc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gmic-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gmic_3.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gmic-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zart-20220429gitac29dcb.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gmic-qt-20220429git6d69f1c.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gmic-community-20220429git7b85db6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (gmic-prefix-fixes.patch):' Patch #3 (gmic-prefix-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .prefix-fixes --fuzz=1 patching file src/Makefile Hunk #4 succeeded at 181 with fuzz 1. patching file src/Makefile patching file src/Makefile + rm -f zart/.qmake.stash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PmENJE + umask 022 + cd /builddir/build/BUILD + 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 -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 gmic-3.1.0 + export CCACHE_DISABLE=1 + CCACHE_DISABLE=1 + cd src + ln -fs ../gmic-community/libcgmic/gmic_libc.cpp . + ln -fs ../gmic-community/libcgmic/gmic_libc.h . + ln -fs ../gmic-community/libcgmic/use_libcgmic.c . + mv CImg.h CImg.h.bak + cp /usr/include/CImg.h CImg.h + make 'OPT_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 -g' NOSTRIP=1 PREFIX=/usr LIB=lib64 cli lib libc make "CFLAGS+=-Dcimg_date=\\\"\\\" -Dcimg_time=\\\"\\\" -Dcimg_use_zlib -I. -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_curl -Dcimg_use_png -I/usr/include/libpng16 -Dcimg_use_jpeg -Dcimg_use_tiff -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_use_openexr -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -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 -g" "LIBS+=gmic.o -lz -L. -L/usr/lib64 -Wl,-rpath,. -lpthread -lfftw3 -lfftw3_threads -lcurl -lpng16 -lz -ljpeg -ltiff -lgomp -lX11 -lpthread -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 " gmic.o _cli make[1]: Entering directory '/builddir/build/BUILD/gmic-3.1.0/src' g++ -o gmic.o -c gmic.cpp -Dgmic_core -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 -Dcimg_date=\"\" -Dcimg_time=\"\" -Dcimg_use_zlib -I. -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_curl -Dcimg_use_png -I/usr/include/libpng16 -Dcimg_use_jpeg -Dcimg_use_tiff -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_use_openexr -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -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 -g In file included from CImg.h:11836, from gmic.h:255, from gmic.cpp:2042: gmic.cpp: In instantiation of 'static const char* cimg_library::CImg::storage_type(const cimg_library::CImgList&, bool) [with T = float]': gmic.cpp:10109:74: required from 'gmic& gmic::_run(const cimg_library::CImgList&, unsigned int&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, const unsigned int*, bool*, const char*, const cimg_library::CImg*) [with T = float]' gmic.cpp:5260:14: required from 'gmic& gmic::_run(const cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, float*, bool*) [with T = float]' gmic.cpp:4326:9: required from 'void gmic::_gmic(const char*, cimg_library::CImgList&, cimg_library::CImgList&, const char*, bool, float*, bool*) [with T = float]' gmic.cpp:2843:8: required from here gmic.cpp:86:62: warning: comparison is always false due to limited range of data type [-Wtype-limits] 86 | if (im>=-(1<<7) && iM<(1<<7) && cimg::type::min()<0) return "int8"; | ~~~~~~~~~~~~~~~~~~~~~~~^~ gmic.cpp: In instantiation of 'static const char* cimg_library::CImg::storage_type(const cimg_library::CImgList&, bool) [with T = double]': gmic.cpp:10109:74: required from 'gmic& gmic::_run(const cimg_library::CImgList&, unsigned int&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, const unsigned int*, bool*, const char*, const cimg_library::CImg*) [with T = double]' gmic.cpp:2465:25: required from 'static double gmic::mp_run(char*, void*, const T&) [with T = double]' gmic.h:562:22: required from 'double gmic_mp_run(char*, void*, const T&) [with T = double]' CImg.h:23512:9: required from 'static double cimg_library::CImg::_cimg_math_parser::mp_run(cimg_library::CImg::_cimg_math_parser&) [with T = double]' CImg.h:21417:36: required from 'unsigned int cimg_library::CImg::_cimg_math_parser::compile(char*, char*, unsigned int, unsigned int*, unsigned char) [with T = double]' CImg.h:17027:41: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] CImg.h:24522:19: required from 'static double cimg_library::CImg::_cimg_math_parser::mp_get(cimg_library::CImg::_cimg_math_parser&) [with T = float]' CImg.h:20464:36: required from 'unsigned int cimg_library::CImg::_cimg_math_parser::compile(char*, char*, unsigned int, unsigned int*, unsigned char) [with T = float]' CImg.h:17027:41: required from 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser(const char*, const char*, const cimg_library::CImg&, cimg_library::CImg*, cimg_library::CImgList*, bool) [with T = float]' CImg.h:29012:25: required from 'double cimg_library::CImg::_eval(cimg_library::CImg*, const char*, double, double, double, double, cimg_library::CImgList*) const [with T = float]' CImg.h:28936:19: required from 'double cimg_library::CImg::eval(const char*, double, double, double, double, cimg_library::CImgList*) const [with T = float]' CImg.h:66347:24: required from here gmic.cpp:86:62: warning: comparison is always false due to limited range of data type [-Wtype-limits] CImg.h: In member function 'cimg_library::CImg::_load_jpeg(_IO_FILE*, char const*) [clone .isra.0]': CImg.h:7224:18: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 7224 | std::FILE *res = 0; | ^~~ CImg.h: In member function 'cimg_library::CImg::_load_jpeg(_IO_FILE*, char const*) [clone .isra.0]': CImg.h:7224:18: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] g++ -o gmic gmic_cli.cpp -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 -Dcimg_date=\"\" -Dcimg_time=\"\" -Dcimg_use_zlib -I. -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_curl -Dcimg_use_png -I/usr/include/libpng16 -Dcimg_use_jpeg -Dcimg_use_tiff -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_use_openexr -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -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 -g gmic.o -lz -L. -L/usr/lib64 -Wl,-rpath,. -lpthread -lfftw3 -lfftw3_threads -lcurl -lpng16 -lz -ljpeg -ltiff -lgomp -lX11 -lpthread -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 make[1]: Leaving directory '/builddir/build/BUILD/gmic-3.1.0/src' echo skip strip gmic skip strip gmic make "CFLAGS+=-Dcimg_date=\\\"\\\" -Dcimg_time=\\\"\\\" -Dcimg_use_zlib -I. -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_curl -Dcimg_use_png -I/usr/include/libpng16 -Dcimg_use_jpeg -Dcimg_use_tiff -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_use_openexr -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -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 -g" "LIBS+=-lz -L. -L/usr/lib64 -Wl,-rpath,. -lpthread -lfftw3 -lfftw3_threads -lcurl -lpng16 -lz -ljpeg -ltiff -lgomp -lX11 -lpthread -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 " _lib make[1]: Entering directory '/builddir/build/BUILD/gmic-3.1.0/src' g++ -o libgmic.o -c gmic.cpp -Dgmic_core -fPIC -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 -Dcimg_date=\"\" -Dcimg_time=\"\" -Dcimg_use_zlib -I. -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_curl -Dcimg_use_png -I/usr/include/libpng16 -Dcimg_use_jpeg -Dcimg_use_tiff -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_use_openexr -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -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 -g In file included from CImg.h:11836, from gmic.h:255, from gmic.cpp:2042: gmic.cpp: In instantiation of 'static const char* cimg_library::CImg::storage_type(const cimg_library::CImgList&, bool) [with T = float]': gmic.cpp:10109:74: required from 'gmic& gmic::_run(const cimg_library::CImgList&, unsigned int&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, const unsigned int*, bool*, const char*, const cimg_library::CImg*) [with T = float]' gmic.cpp:5260:14: required from 'gmic& gmic::_run(const cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, float*, bool*) [with T = float]' gmic.cpp:4326:9: required from 'void gmic::_gmic(const char*, cimg_library::CImgList&, cimg_library::CImgList&, const char*, bool, float*, bool*) [with T = float]' gmic.cpp:2843:8: required from here gmic.cpp:86:62: warning: comparison is always false due to limited range of data type [-Wtype-limits] 86 | if (im>=-(1<<7) && iM<(1<<7) && cimg::type::min()<0) return "int8"; | ~~~~~~~~~~~~~~~~~~~~~~~^~ gmic.cpp: In instantiation of 'static const char* cimg_library::CImg::storage_type(const cimg_library::CImgList&, bool) [with T = double]': gmic.cpp:10109:74: required from 'gmic& gmic::_run(const cimg_library::CImgList&, unsigned int&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, const unsigned int*, bool*, const char*, const cimg_library::CImg*) [with T = double]' gmic.cpp:2465:25: required from 'static double gmic::mp_run(char*, void*, const T&) [with T = double]' gmic.h:562:22: required from 'double gmic_mp_run(char*, void*, const T&) [with T = double]' CImg.h:23512:9: required from 'static double cimg_library::CImg::_cimg_math_parser::mp_run(cimg_library::CImg::_cimg_math_parser&) [with T = double]' CImg.h:21417:36: required from 'unsigned int cimg_library::CImg::_cimg_math_parser::compile(char*, char*, unsigned int, unsigned int*, unsigned char) [with T = double]' CImg.h:17027:41: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] CImg.h:24522:19: required from 'static double cimg_library::CImg::_cimg_math_parser::mp_get(cimg_library::CImg::_cimg_math_parser&) [with T = float]' CImg.h:20464:36: required from 'unsigned int cimg_library::CImg::_cimg_math_parser::compile(char*, char*, unsigned int, unsigned int*, unsigned char) [with T = float]' CImg.h:17027:41: required from 'cimg_library::CImg::_cimg_math_parser::_cimg_math_parser(const char*, const char*, const cimg_library::CImg&, cimg_library::CImg*, cimg_library::CImgList*, bool) [with T = float]' CImg.h:29012:25: required from 'double cimg_library::CImg::_eval(cimg_library::CImg*, const char*, double, double, double, double, cimg_library::CImgList*) const [with T = float]' CImg.h:28936:19: required from 'double cimg_library::CImg::eval(const char*, double, double, double, double, cimg_library::CImgList*) const [with T = float]' CImg.h:66347:24: required from here gmic.cpp:86:62: warning: comparison is always false due to limited range of data type [-Wtype-limits] CImg.h: In member function 'cimg_library::CImg::_load_jpeg(_IO_FILE*, char const*) [clone .isra.0]': CImg.h:7224:18: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 7224 | std::FILE *res = 0; | ^~~ CImg.h: In member function 'cimg_library::CImg::_load_jpeg(_IO_FILE*, char const*) [clone .isra.0]': CImg.h:7224:18: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] ar rcs libgmic.a libgmic.o g++ -shared -std=c++11 -pedantic -Wl,-soname,libgmic.so.3 -o libgmic.so.310 libgmic.o -lz -L. -L/usr/lib64 -Wl,-rpath,. -lpthread -lfftw3 -lfftw3_threads -lcurl -lpng16 -lz -ljpeg -ltiff -lgomp -lX11 -lpthread -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 during RTL pass: sched1 CImg.h: In member function '_save_pnk.constprop.isra': CImg.h:58388: internal compiler error: in xrecalloc, at haifa-sched.cc:8078 58388 | } | Please submit a full bug report, with preprocessed source. See for instructions. make[2]: *** [/tmp/ccaDuvII.mk:287: /tmp/cca3xeto.ltrans95.ltrans.o] Error 1 make[2]: *** Waiting for unfinished jobs.... lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[1]: *** [Makefile:389: libgmic.so] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/gmic-3.1.0/src' make: *** [Makefile:383: lib] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.PmENJE (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PmENJE (%build) 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/gmic.spec