-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=FALSE -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_INCLUDEDIR_KF5:PATH=/usr/include/KF5 -DCMAKE_INSTALL_LIBEXECDIR_KF5:PATH=/usr/libexec/kf5 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_USE_RELATIVE_PATHS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DECM_MKSPECS_INSTALL_DIR:PATH=/usr/lib64/qt5/mkspecs/modules -DKDE_INSTALL_BINDIR:PATH=/usr/bin -DKDE_INSTALL_INCLUDEDIR:PATH=/usr/include -DKDE_INSTALL_KCFGDIR:PATH=/usr/share/config.kcfg -DKDE_INSTALL_LIBDIR:PATH=/usr/lib64 -DKDE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DKDE_INSTALL_METAINFODIR:PATH=/usr/share/metainfo -DKDE_INSTALL_PLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QMLDIR:PATH=/usr/lib64/qt5/qml -DKDE_INSTALL_QTPLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QTQUICKIMPORTSDIR:PATH=/usr/lib64/qt5/imports -DKDE_INSTALL_SYSCONFDIR:PATH=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test PAM_MESSAGE_CONST -- Performing Test PAM_MESSAGE_CONST - Success -- Found PAM: /usr/lib64/libpam.so;/usr/lib64/libdl.so -- Found libgcrypt: -lgcrypt -ldl -lgpg-error -- Found socat executable: /usr/bin/socat CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:53 (find_package): Could not find a configuration file for package "KF5Wallet" that is compatible with requested version "5.74". The following configuration files were considered but not accepted: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake, version: 5.73.0 /lib64/cmake/KF5Wallet/KF5WalletConfig.cmake, version: 5.73.0 Call Stack (most recent call first): CMakeLists.txt:43 (find_package) -- Could NOT find KF5Wallet , checked the following files: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (version 5.73.0) /lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (version 5.73.0) CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find KF5 (missing: Wallet) (Required is at least version "5.74") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:94 (find_package_handle_standard_args) CMakeLists.txt:43 (find_package) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/kwallet-pam-5.20.3/riscv64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Eum2Nq (%build) Bad exit status from /var/tmp/rpm-tmp.Eum2Nq (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/pam-kwallet.spec