D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/getoptpp-1-5.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BKD1yg
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf getoptpp
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/getopt_pp-2.18.tgz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd getoptpp
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/getoptpp-makefile.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ofsQZ5
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd getoptpp
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ /usr/bin/make -O -j4 V=1 VERBOSE=1
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -fPIC   -c -o src/getopt_pp.o src/getopt_pp.cpp
In file included from src/getopt_pp.cpp:31:
./getoptpp/getopt_pp.h:576:33: error: ISO C++17 does not allow dynamic exception specifications
  576 |     void end_of_options() const throw(GetOptEx)
      |                                 ^~~~~
./getoptpp/getopt_pp.h:596:63: error: ISO C++17 does not allow dynamic exception specifications
  596 |     GETOPT_INLINE GetOpt_pp& operator >> (const _Option& opt) throw(GetOptEx);
      |                                                               ^~~~~
./getoptpp/getopt_pp.h:602:85: error: ISO C++17 does not allow dynamic exception specifications
  602 |     template <class T> inline T getopt(char short_opt, const std::string& long_opt) throw(GetOptEx)
      |                                                                                     ^~~~~
./getoptpp/getopt_pp.h:617:56: error: ISO C++17 does not allow dynamic exception specifications
  617 |     template <class T> inline T getopt(char short_opt) throw(GetOptEx)
      |                                                        ^~~~~
src/getopt_pp.cpp:221:70: error: ISO C++17 does not allow dynamic exception specifications
  221 | GETOPT_INLINE GetOpt_pp& GetOpt_pp::operator >> (const _Option& opt) throw(GetOptEx)
      |                                                                      ^~~~~
make: *** [<builtin>: src/getopt_pp.o] Error 1
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ofsQZ5 (%build)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ofsQZ5 (%build)
I: [iurt_root_command] ERROR: chroot