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/berry.spec'], chrootPath='/var/lib/mock/f40-build-2403757-60556/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/berry.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705968000 Wrote: /builddir/build/SRPMS/berry-1.0.0-21.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/berry.spec'], chrootPath='/var/lib/mock/f40-build-2403757-60556/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/berry.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705968000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KZRFbc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf berry + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/berry-1.0.0-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd berry + rm -rf /builddir/build/BUILD/berry-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/berry-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (berry-1.0.0_install.patch):' Patch #0 (berry-1.0.0_install.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Berry.pro patching file files/shortcuts/normal/Berry.desktop Patch #1 (berry-1.0.0_qt5-5.5.patch): + echo 'Patch #1 (berry-1.0.0_qt5-5.5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file asemantools/qtsingleapplication/qtlocalpeer.cpp + cp -p /builddir/build/SOURCES/berry-PACKAGE-LICENSING . + find . -type f '(' -name '*.cpp' -o -name '*.h' ')' -exec chmod a-x '{}' ';' + rm -rf debian + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rsI9lM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 berry + mkdir build + pushd build ~/build/BUILD/berry/build ~/build/BUILD/berry + /usr/lib64/qt5/bin/qmake 'QMAKE_CFLAGS_DEBUG=-O2 -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 -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 -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 -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= ../Berry.pro Info: creating stash file /builddir/build/BUILD/berry/build/.qmake.stash + /usr/bin/make -O -j8 V=1 VERBOSE=1 g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o structures.o ../structures.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o ../main.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o pluginmanager.o ../pluginmanager.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o iconprovider.o ../iconprovider.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o thumbnailloaderitem.o ../thumbnailloaderitem.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o pathhandler.o ../pathhandler.cpp ../pathhandler.cpp:121:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 121 | p->output = "image://"PATH_HANDLER_NAME"/"PATH_HANDLER_LLOCK"/" + QString::number(p->id); | ^ ../pathhandler.cpp:121:48: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 121 | p->output = "image://"PATH_HANDLER_NAME"/"PATH_HANDLER_LLOCK"/" + QString::number(p->id); | ^ ../pathhandler.cpp:126:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 126 | p->output = "image://"PATH_HANDLER_NAME"/"PATH_HANDLER_LLOCK_THUMB"/" + QString::number(p->id); | ^ ../pathhandler.cpp:126:48: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 126 | p->output = "image://"PATH_HANDLER_NAME"/"PATH_HANDLER_LLOCK_THUMB"/" + QString::number(p->id); | ^ g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o imagemetadata.o ../imagemetadata.cpp ../imagemetadata.cpp: In member function ‘bool ImageMetaData::init_exif()’: ../imagemetadata.cpp:108:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 108 | Exiv2::Image::AutoPtr exiv = Exiv2::ImageFactory::open( p->nsource.toUtf8().constData() ); | ^~~~~~~ ../imagemetadata.cpp:109:9: error: ‘exiv’ was not declared in this scope; did you mean ‘exit’? 109 | exiv->readMetadata(); | ^~~~ | exit ../imagemetadata.cpp:115:38: error: ‘const class Exiv2::Value’ has no member named ‘toLong’ 115 | p->ori_exiv = i->value().toLong(); | ^~~~~~ ../imagemetadata.cpp: In member function ‘bool ImageMetaData::setOriExif(int)’: ../imagemetadata.cpp:144:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ 144 | Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open( p->nsource.toUtf8().constData() ); | ^~~~~~~ ../imagemetadata.cpp:145:9: error: ‘image’ was not declared in this scope; did you mean ‘QImage’? 145 | image->readMetadata(); | ^~~~~ | QImage ../imagemetadata.cpp:161:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Value’ 161 | Exiv2::Value::AutoPtr v = pos->getValue(); | ^~~~~~~ ../imagemetadata.cpp:162:65: error: ‘v’ was not declared in this scope 162 | Exiv2::UShortValue* prv = dynamic_cast(v.release()); | ^ ../imagemetadata.cpp:163:25: error: ‘AutoPtr’ is not a member of ‘Exiv2::UShortValue’ {aka ‘Exiv2::ValueType’} 163 | Exiv2::UShortValue::AutoPtr rv = Exiv2::UShortValue::AutoPtr(prv); | ^~~~~~~ ../imagemetadata.cpp:165:5: error: ‘rv’ was not declared in this scope; did you mean ‘prv’? 165 | rv->value_[0] = (unsigned short)ori; | ^~ | prv ../imagemetadata.cpp:162:25: warning: unused variable ‘prv’ [-Wunused-variable] 162 | Exiv2::UShortValue* prv = dynamic_cast(v.release()); | ^~~ make: *** [Makefile:1132: imagemetadata.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o thumbnailloader.o ../thumbnailloader.cpp ../thumbnailloader.cpp: In member function ‘void ThumbnailLoader::load(const QString&)’: ../thumbnailloader.cpp:80:39: warning: ‘QDateTime QFileInfo::created() const’ is deprecated: Use either birthTime() or metadataChangeTime() [-Wdeprecated-declarations] 80 | file.created().toString("yyyy/MM/dd hh:mm:ss:zzz") + " " + | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qdir.h:44, from /usr/include/qt5/QtCore/QDir:1, from ../berry_macros.h:22, from ../thumbnailloader.cpp:24: /usr/include/qt5/QtCore/qfileinfo.h:139:15: note: declared here 139 | QDateTime created() const; | ^~~~~~~ g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o pathhandlerimageprovider.o ../pathhandlerimageprovider.cpp ../pathhandlerimageprovider.cpp: In member function ‘virtual QImage PathHandlerImageProvider::requestImage(const QString&, QSize*, const QSize&)’: ../pathhandlerimageprovider.cpp:33:55: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations] 33 | const QStringList & parts = id.split("/",QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qstringlist.h:41, from /usr/include/qt5/QtGui/qcolor.h:46, from /usr/include/qt5/QtGui/qimage.h:44, from /usr/include/qt5/QtQuick/qquickimageprovider.h:44, from /usr/include/qt5/QtQuick/QQuickImageProvider:1, from ../pathhandlerimageprovider.h:22, from ../pathhandlerimageprovider.cpp:19: /usr/include/qt5/QtCore/qstring.h:605:9: note: declared here 605 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ ../pathhandlerimageprovider.cpp:33:55: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations] 33 | const QStringList & parts = id.split("/",QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:9: note: declared here 605 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ ../pathhandlerimageprovider.cpp:33:41: warning: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] 33 | const QStringList & parts = id.split("/",QString::SkipEmptyParts); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:609:17: note: declared here 609 | QStringList split(const QString &sep, SplitBehavior behavior, | ^~~~~ g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o encrypttools.o ../encrypttools.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o passwordmanager.o ../passwordmanager.cpp ../passwordmanager.cpp:73:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 73 | return QFile::exists(path+"/"PASS_FILE_NAME); | ^ ../passwordmanager.cpp:119:32: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 119 | QString pass_file = path + "/"PASS_FILE_NAME; | ^ ../passwordmanager.cpp:128:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 128 | return QFile::exists(path+"/"PASS_FILE_NAME); | ^ ../passwordmanager.cpp:196:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 196 | QFile file(path+"/"PASS_FILE_NAME); | ^ g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o simpleqtcryptor.o ../SimpleQtCryptor/simpleqtcryptor.cpp ../SimpleQtCryptor/simpleqtcryptor.cpp: In static member function ‘static QByteArray SimpleQtCryptor::InitializationVector::getVector8()’: ../SimpleQtCryptor/simpleqtcryptor.cpp:539:33: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 539 | quint32 A = ((quint32)(qrand())) ^ ((quint32)(QTime::currentTime().msecsTo(QTime(23,59,59,999)))); | ~~~~~^~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from ../SimpleQtCryptor/simpleqtcryptor.h:34, from ../SimpleQtCryptor/simpleqtcryptor.cpp:19: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp:540:33: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 540 | quint32 B = ((quint32)(qrand())) ^ ((quint32)(QDate::currentDate().daysTo(QDate(2999,12,31)))); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp: In static member function ‘static QByteArray SimpleQtCryptor::InitializationVector::getVector16()’: ../SimpleQtCryptor/simpleqtcryptor.cpp:549:33: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 549 | quint32 A = ((quint32)(qrand())) ^ ((quint32)(QTime::currentTime().msecsTo(QTime(23,59,59,999)))); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp:550:33: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 550 | quint32 B = ((quint32)(qrand())) ^ ((quint32)(QDate::currentDate().daysTo(QDate(2999,12,31)))); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp:551:32: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 551 | quint32 C = (quint32)(qrand()); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp:552:32: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 552 | quint32 D = (quint32)(qrand()); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp: In static member function ‘static void SimpleQtCryptor::InitializationVector::initiate()’: ../SimpleQtCryptor/simpleqtcryptor.cpp:562:11: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 562 | qsrand((quint32)(QTime::currentTime().msecsTo(QTime(23,59,59,999)))); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1281:81: note: declared here 1281 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); | ^~~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp: In member function ‘SimpleQtCryptor::Error SimpleQtCryptor::Encryptor::encrypt(const QByteArray&, QByteArray&, bool)’: ../SimpleQtCryptor/simpleqtcryptor.cpp:324:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 324 | state = StateOn; | ~~~~~~^~~~~~~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp:325:5: note: here 325 | case StateOn: | ^~~~ ../SimpleQtCryptor/simpleqtcryptor.cpp: In member function ‘SimpleQtCryptor::Error SimpleQtCryptor::Decryptor::decrypt(const QByteArray&, QByteArray&, bool)’: ../SimpleQtCryptor/simpleqtcryptor.cpp:420:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 420 | if ( tmpOut.startsWith(expectHeader) ) { | ^~ ../SimpleQtCryptor/simpleqtcryptor.cpp:431:5: note: here 431 | case StateOn: | ^~~~ In member function ‘void SimpleQtCryptor::Key::expandKeySerpent()’, inlined from ‘void SimpleQtCryptor::Key::expandKeySerpent()’ at ../SimpleQtCryptor/simpleqtcryptor.cpp:220:6: ../SimpleQtCryptor/simpleqtcryptor.cpp:252:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 252 | delete s; | ^ ../SimpleQtCryptor/simpleqtcryptor.cpp:229:38: note: returned from ‘void* operator new [](std::size_t)’ 229 | s = new quint32[SSIZE_SERPENT + 8]; | ^ g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o fileencrypter.o ../fileencrypter.cpp g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../berry -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o berry.o ../berry.cpp error: Bad exit status from /var/tmp/rpm-tmp.rsI9lM (%build) RPM build warnings: RPM build errors: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.rsI9lM (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/berry.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/berry.spec