ng: implicitly-declared 'constexpr Ogre::Quaternion::Quaternion(const Ogre::Quaternion&)' is deprecated [-Wdeprecated-copy] 619 | Quaternion neworientation = kf->getRotation(); | ^ In file included from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreVector3.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreSimpleSpline.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreAnimationTrack.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/src/OgreAnimationTrack.cpp:29: /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreQuaternion.h:172:28: note: because 'Ogre::Quaternion' has user-provided 'Ogre::Quaternion& Ogre::Quaternion::operator=(const Ogre::Quaternion&)' 172 | inline Quaternion& operator= (const Quaternion& rkQ) | ^~~~~~~~ In file included from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreAtomicScalar.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreSharedPtr.h:32, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreResource.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreResourceManager.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreArchiveManager.h:33, from /builddir/build/BUILD/ogre-1.9.0/OgreMain/src/OgreArchiveManager.cpp:30: /builddir/build/BUILD/ogre-1.9.0/OgreMain/src/OgreArchiveManager.cpp: In destructor 'virtual Ogre::ArchiveManager::~ArchiveManager()': /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreException.h:334:37: warning: 'throw' will always call 'terminate' [-Wterminate] 334 | #define OGRE_EXCEPT(num, desc, src) throw Ogre::ExceptionFactory::create( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 335 | Ogre::ExceptionCodeType(), desc, src, __FILE__, __LINE__ ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ogre-1.9.0/OgreMain/src/OgreArchiveManager.cpp:124:17: note: in expansion of macro 'OGRE_EXCEPT' 124 | OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND, "Cannot find an archive factory " | ^~~~~~~~~~~ /builddir/build/BUILD/ogre-1.9.0/OgreMain/include/OgreException.h:334:37: note: in C++11 destructors default to 'noexcept' 334 | #define OGRE_EXCEPT(num, desc, src) throw Ogre::ExceptionFactory::create( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 335 | Ogre::ExceptionCodeType(), desc, src, __FILE__, __LINE__ ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ogre-1.9.0/OgreMain/src/OgreArchiveManager.cpp:124:17: note: in expansion of macro 'OGRE_EXCEPT' 124 | OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND, "Cannot find an archive factory " | ^~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/ogre-1.9.0/riscv64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:1529: OgreMain/CMakeFiles/OgreMain.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/ogre-1.9.0/riscv64-redhat-linux-gnu' gmake: *** [Makefile:174: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Ovy3OU (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Ovy3OU (%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/ogre.spec