D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/advancecomp-2.1-6.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DszcF6
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf advancecomp-2.1
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/advancecomp-2.1.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd advancecomp-2.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/advancecomp-1.19-mga-option-doc.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/advancecomp-2.1-mga-bzip2-test.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/advancecomp-2.1-git-CVE-2019-9210.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/advancecomp-2.1-git-png-overread.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/advancecomp-2.1-git-CVE-2019-8383.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.Bk7wH3
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd advancecomp-2.1
+ '[' 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
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-bzip2
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking for aarch64-mageia-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for aarch64-mageia-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for aarch64-mageia-linux-gnu-g++... no
checking for aarch64-mageia-linux-gnu-c++... no
checking for aarch64-mageia-linux-gnu-gpp... no
checking for aarch64-mageia-linux-gnu-aCC... no
checking for aarch64-mageia-linux-gnu-CC... no
checking for aarch64-mageia-linux-gnu-cxx... no
checking for aarch64-mageia-linux-gnu-cc++... no
checking for aarch64-mageia-linux-gnu-cl.exe... no
checking for aarch64-mageia-linux-gnu-FCC... no
checking for aarch64-mageia-linux-gnu-KCC... no
checking for aarch64-mageia-linux-gnu-RCC... no
checking for aarch64-mageia-linux-gnu-xlC_r... no
checking for aarch64-mageia-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gawk... (cached) gawk
checking for tar... tar
checking for gzip... gzip
checking for groff... no
checking for col... col
checking for valgrind... no
checking for wine... no
checking for advd2... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for adler32 in -lz... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for getopt... yes
checking for getopt_long... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
/usr/bin/make  all-am
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
gcc -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o getopt.o getopt.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
gcc -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o snprintf.o snprintf.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o siglock.o siglock.cc
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o data.o data.cc
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
gcc -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o portable.o portable.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o compress.o compress.cc
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o file.o file.cc
In file included from file.cc:23:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
file.cc:101:38: error: ISO C++17 does not allow dynamic exception specifications
  101 | bool file_exists(const string& path) throw (error)
      |                                      ^~~~~
file.cc:117:70: error: ISO C++17 does not allow dynamic exception specifications
  117 | void file_write(const string& path, const char* data, unsigned size) throw (error)
      |                                                                      ^~~~~
file.cc:137:63: error: ISO C++17 does not allow dynamic exception specifications
  137 | void file_read(const string& path, char* data, unsigned size) throw (error)
      |                                                               ^~~~~
file.cc:145:80: error: ISO C++17 does not allow dynamic exception specifications
  145 | void file_read(const string& path, char* data, unsigned offset, unsigned size) throw (error)
      |                                                                                ^~~~~
file.cc:169:38: error: ISO C++17 does not allow dynamic exception specifications
  169 | time_t file_time(const string& path) throw (error)
      |                                      ^~~~~
file.cc:181:49: error: ISO C++17 does not allow dynamic exception specifications
  181 | void file_utime(const string& path, time_t tod) throw (error)
      |                                                 ^~~~~
file.cc:195:40: error: ISO C++17 does not allow dynamic exception specifications
  195 | unsigned file_size(const string& path) throw (error)
      |                                        ^~~~~
file.cc:207:36: error: ISO C++17 does not allow dynamic exception specifications
  207 | crc_t file_crc(const string& path) throw (error)
      |                                    ^~~~~
file.cc:230:58: error: ISO C++17 does not allow dynamic exception specifications
  230 | void file_copy(const string& path1, const string& path2) throw (error)
      |                                                          ^~~~~
file.cc:252:58: error: ISO C++17 does not allow dynamic exception specifications
  252 | void file_move(const string& path1, const string& path2) throw (error)
      |                                                          ^~~~~
file.cc:274:39: error: ISO C++17 does not allow dynamic exception specifications
  274 | void file_remove(const string& path1) throw (error)
      |                                       ^~~~~
file.cc:284:60: error: ISO C++17 does not allow dynamic exception specifications
  284 | void file_rename(const string& path1, const string& path2) throw (error)
      |                                                            ^~~~~
file.cc:412:43: error: ISO C++17 does not allow dynamic exception specifications
  412 | void file_mktree(const std::string& path) throw (error)
      |                                           ^~~~~
make[1]: *** [Makefile:833: file.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o rezip.o rezip.cc
In file included from rezip.cc:24:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
make[1]: *** [Makefile:833: rezip.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o zip.o zip.cc
In file included from zip.cc:25:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
make[1]: *** [Makefile:833: zip.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o repng.o repng.cc
In file included from pngex.h:26,
                 from repng.cc:23:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
make[1]: *** [Makefile:833: repng.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o pngex.o pngex.cc
In file included from pngex.h:26,
                 from pngex.cc:26:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
make[1]: *** [Makefile:833: pngex.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o remng.o remng.cc
In file included from pngex.h:26,
                 from remng.cc:23:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
make[1]: *** [Makefile:833: remng.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o mngex.o mngex.cc
In file included from pngex.h:26,
                 from mngex.h:24,
                 from mngex.cc:23:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | void file_write(const std::string& path, const char* data, unsigned size) throw (error);
      |                                                                           ^~~~~
file.h:72:68: error: ISO C++17 does not allow dynamic exception specifications
   72 | void file_read(const std::string& path, char* data, unsigned size) throw (error);
      |                                                                    ^~~~~
file.h:73:85: error: ISO C++17 does not allow dynamic exception specifications
   73 | void file_read(const std::string& path, char* data, unsigned offset, unsigned size) throw (error);
      |                                                                                     ^~~~~
file.h:74:43: error: ISO C++17 does not allow dynamic exception specifications
   74 | time_t file_time(const std::string& path) throw (error);
      |                                           ^~~~~
file.h:75:54: error: ISO C++17 does not allow dynamic exception specifications
   75 | void file_utime(const std::string& path, time_t tod) throw (error);
      |                                                      ^~~~~
file.h:76:45: error: ISO C++17 does not allow dynamic exception specifications
   76 | unsigned file_size(const std::string& path) throw (error);
      |                                             ^~~~~
file.h:77:41: error: ISO C++17 does not allow dynamic exception specifications
   77 | crc_t file_crc(const std::string& path) throw (error);
      |                                         ^~~~~
file.h:78:68: error: ISO C++17 does not allow dynamic exception specifications
   78 | void file_copy(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:79:68: error: ISO C++17 does not allow dynamic exception specifications
   79 | void file_move(const std::string& path1, const std::string& path2) throw (error);
      |                                                                    ^~~~~
file.h:80:44: error: ISO C++17 does not allow dynamic exception specifications
   80 | void file_remove(const std::string& path1) throw (error);
      |                                            ^~~~~
file.h:81:44: error: ISO C++17 does not allow dynamic exception specifications
   81 | void file_mktree(const std::string& path1) throw (error);
      |                                            ^~~~~
make[1]: *** [Makefile:833: mngex.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
g++ -DHAVE_CONFIG_H -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o zipsh.o zipsh.cc
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/advancecomp-2.1'
make: *** [Makefile:647: all] Error 2
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Bk7wH3 (%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.Bk7wH3 (%build)
I: [iurt_root_command] ERROR: chroot