Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/immix.spec'], chrootPath='/var/lib/mock/f40-build-2075939-49508/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/immix.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=1689811200 Wrote: /builddir/build/SRPMS/immix-1.3.2-44.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/immix.spec'], chrootPath='/var/lib/mock/f40-build-2075939-49508/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/immix.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=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fluNh7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf immix-1.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/immix-1.3-2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd immix-1.3 + rm -rf /builddir/build/BUILD/immix-1.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/immix-1.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 0644 QNImageDialog.cpp align.cpp aligndialog.cpp correlator.cpp immix.cpp initialwindow.cpp main.cpp QNImageDialog.h align.h aligndialog.h correlator.h immix.h initialwindow.h + sed -i -e s/lrelease/lrelease-qt4/ immix.pro + sed -i -e s@Icon=/usr/share/pixmaps/immix.svg@Icon=immix@ packaging/immix.desktop + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lq2Z3N + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd immix-1.3 + /usr/lib64/qt4/bin/qmake 'QMAKE_CFLAGS_DEBUG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-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 ' 'QMAKE_LFLAGS_RELEASE=-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 ' QMAKE_STRIP= Updating 'immix_fr.qm'... Generated 45 translation(s) (45 finished and 0 unfinished) Updating 'immix_ru.qm'... Generated 45 translation(s) (27 finished and 18 unfinished) + make -j8 /usr/lib64/qt4/bin/uic aligndialog.ui -o ui_aligndialog.h g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o QNImageDialog.o QNImageDialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o main.o main.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o correlator.o correlator.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o initialwindow.o initialwindow.cpp /usr/lib64/qt4/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. immix.h -o moc_immix.cpp /usr/lib64/qt4/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. QNImageDialog.h -o moc_QNImageDialog.cpp /usr/lib64/qt4/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. initialwindow.h -o moc_initialwindow.cpp /usr/lib64/qt4/bin/rcc -name resource resource.qrc -o qrc_resource.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o immix.o immix.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o align.o align.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o aligndialog.o aligndialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o moc_immix.o moc_immix.cpp In file included from /usr/include/QtCore/QString:1, from aligndialog.cpp:18: /usr/include/QtCore/qstring.h: In member function ‘int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const’: /usr/include/QtCore/qstring.h:1254:33: warning: implicitly-declared ‘constexpr QLatin1String::QLatin1String(const QLatin1String&)’ is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/QtCore/qstring.h:658:27: note: because ‘QLatin1String’ has user-provided ‘QLatin1String& QLatin1String::operator=(const QLatin1String&)’ 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/QtCore/qstring.h:634:45: note: initializing argument 3 of ‘static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)’ 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/QtCore/qstring.h: In static member function ‘static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)’: /usr/include/QtCore/qstring.h:1260:33: warning: implicitly-declared ‘constexpr QLatin1String::QLatin1String(const QLatin1String&)’ is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/QtCore/qstring.h:658:27: note: because ‘QLatin1String’ has user-provided ‘QLatin1String& QLatin1String::operator=(const QLatin1String&)’ 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/QtCore/qstring.h:634:45: note: initializing argument 3 of ‘static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)’ 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/QtCore/qstring.h: In member function ‘QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const’: /usr/include/QtCore/qstring.h:1278:23: warning: implicitly-declared ‘constexpr QLatin1String::QLatin1String(const QLatin1String&)’ is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ~~~~~~~^~~~~~~~~~ /usr/include/QtCore/qstring.h:658:27: note: because ‘QLatin1String’ has user-provided ‘QLatin1String& QLatin1String::operator=(const QLatin1String&)’ 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/QtCore/qstring.h:1125:31: note: initializing argument 1 of ‘int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const’ 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ correlator.cpp: In destructor ‘Correlator::~Correlator()’: correlator.cpp:64:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 64 | if (refGray) | ^~ correlator.cpp:66:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 66 | if (fTargGray) | ^~ correlator.cpp: In member function ‘void Correlator::calculateCorrelation()’: correlator.cpp:178:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 178 | if ( ! Correlation || ! fRefGray || ! fTargGray ) | ^~ correlator.cpp:183:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 183 | double targr, targi ; | ^~~~~~ correlator.cpp: In member function ‘void Correlator::findCorrelMax(double&, double&, double&, double&, double&, double&)’: correlator.cpp:208:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 208 | if ( ! Correlation ) | ^~ correlator.cpp:211:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 211 | corMax = Correlation[0][0] ; | ^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o moc_QNImageDialog.o moc_QNImageDialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o moc_initialwindow.o moc_initialwindow.cpp /usr/lib64/qt4/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. align.h -o moc_align.cpp /usr/lib64/qt4/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. aligndialog.h -o moc_aligndialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o qrc_resource.o qrc_resource.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o moc_align.o moc_align.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include -I. -I. -I. -o moc_aligndialog.o moc_aligndialog.cpp In file included from aligndialog.cpp:22: align.h: At global scope: align.h:137:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 137 | Exiv2::Image::AutoPtr imageExifRead ; | ^~~~~~~ align.h:138:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 138 | Exiv2::Image::AutoPtr imageExifWrite ; | ^~~~~~~ In file included from align.cpp:19: align.h:137:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 137 | Exiv2::Image::AutoPtr imageExifRead ; | ^~~~~~~ align.h:138:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 138 | Exiv2::Image::AutoPtr imageExifWrite ; | ^~~~~~~ align.cpp: In member function ‘void AlignmentManager::finalProcessing()’: align.cpp:175:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 175 | Exiv2::Image::AutoPtr imageExifRead = Exiv2::ImageFactory::open(imw->displayList[0]->filePath[0].toStdString()); | ^~~~~~~ align.cpp:176:5: error: ‘imageExifRead’ was not declared in this scope 176 | imageExifRead->readMetadata(); | ^~~~~~~~~~~~~ align.cpp:177:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 177 | Exiv2::Image::AutoPtr imageExifWrite = Exiv2::ImageFactory::open(newPremsFileName.toStdString()); | ^~~~~~~ align.cpp:178:5: error: ‘imageExifWrite’ was not declared in this scope 178 | imageExifWrite->setExifData(imageExifRead->exifData()); | ^~~~~~~~~~~~~~ align.cpp: In member function ‘void Aligner::align(int)’: align.cpp:376:9: error: ‘imageExifRead’ was not declared in this scope 376 | imageExifRead = Exiv2::ImageFactory::open(imgDisp->filePath[1].toStdString()); | ^~~~~~~~~~~~~ align.cpp:378:9: error: ‘imageExifWrite’ was not declared in this scope 378 | imageExifWrite = Exiv2::ImageFactory::open(newFileName.toStdString()); | ^~~~~~~~~~~~~~ make: *** [Makefile:304: aligndialog.o] Error 1 make: *** Waiting for unfinished jobs.... initialwindow.cpp: In member function ‘virtual void InitialWindow::dragEnterEvent(QDragEnterEvent*)’: initialwindow.cpp:74:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 74 | if (event->mimeData()->hasUrls()) | ^ initialwindow.cpp: In member function ‘virtual void InitialWindow::dragMoveEvent(QDragMoveEvent*)’: initialwindow.cpp:86:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 86 | if (event->mimeData()->hasUrls()) | ^ make: *** [Makefile:295: align.o] Error 1 In file included from immix.cpp:46: align.h:137:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 137 | Exiv2::Image::AutoPtr imageExifRead ; | ^~~~~~~ align.h:138:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 138 | Exiv2::Image::AutoPtr imageExifWrite ; | ^~~~~~~ immix.cpp: In member function ‘void ImmixWin::StartAverage()’: immix.cpp:369:43: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 369 | Exiv2::Image::AutoPtr imageExifRead = Exiv2::ImageFactory::open(displayList[0]->filePath[0].toStdString()); | ^~~~~~~ immix.cpp:370:29: error: ‘imageExifRead’ was not declared in this scope 370 | imageExifRead->readMetadata(); | ^~~~~~~~~~~~~ immix.cpp:371:43: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 371 | Exiv2::Image::AutoPtr imageExifWrite = Exiv2::ImageFactory::open(file.toStdString()); | ^~~~~~~ immix.cpp:372:29: error: ‘imageExifWrite’ was not declared in this scope 372 | imageExifWrite->setExifData(imageExifRead->exifData()); | ^~~~~~~~~~~~~~ make: *** [Makefile:281: immix.o] Error 1 In file included from moc_align.cpp:9: align.h:137:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 137 | Exiv2::Image::AutoPtr imageExifRead ; | ^~~~~~~ align.h:138:19: error: ‘AutoPtr’ in ‘class Exiv2::Image’ does not name a type 138 | Exiv2::Image::AutoPtr imageExifWrite ; | ^~~~~~~ make: *** [Makefile:320: moc_align.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.lq2Z3N (%build) Bad exit status from /var/tmp/rpm-tmp.lq2Z3N (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/immix.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/immix.spec