D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: line 39: It's not recommended to have unversioned Obsoletes: Obsoletes:	lib64dbi0-devel
Installing /home/iurt/rpmbuild/SRPMS/libdbi-0.9.0-8.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hz3ZWm
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf libdbi-0.9.0
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/libdbi-0.9.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libdbi-0.9.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find -type d
+ xargs chmod 755
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DiFG54
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd libdbi-0.9.0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /usr/bin/autoconf --force
configure.in:21: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
configure.in:21: the top level
configure.in:22: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:22: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:781: AM_CONFIG_HEADER is expanded from...
configure.in:22: the top level
configure.in:50: warning: The macro `AC_PROG_LD' is obsolete.
configure.in:50: You should run autoupdate.
m4/libtool.m4:3333: AC_PROG_LD is expanded from...
configure.in:50: the top level
configure.in:225: warning: AC_OUTPUT should be used without arguments.
configure.in:225: You should run autoupdate.
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: automake --add-missing --copy --force-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:21: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:21: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:4: installing './compile'
configure.in:21: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ 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
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking for aarch64-mageia-linux-gnu-gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for aarch64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for aarch64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for aarch64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for mach-o/dyld.h... no
checking for dlfcn.h... (cached) yes
checking for dlopen... (cached) yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether readdir_r is declared... no
checking whether gmtime_r is declared... no
checking whether vasprintf is declared... yes
checking whether asprintf is declared... yes
checking for strtoll... yes
checking for readdir_r... yes
checking for gmtime_r... yes
checking for fpathconf... yes
checking for dirfd... yes
checking for vasprintf... yes
checking for atoll... yes
checking for timegm... yes
checking for asprintf... yes
checking for vasprintf... (cached) yes
checking for asprintf... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/dbi/dbi.h
config.status: creating libdbi.spec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating include/dbi/Makefile
config.status: creating dbi.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j4 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\"   -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o atoll.lo atoll.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c atoll.c  -fPIC -DPIC -o .libs/atoll.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c atoll.c -o atoll.o >/dev/null 2>&1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\"   -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o asprintf.lo asprintf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c asprintf.c  -fPIC -DPIC -o .libs/asprintf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c asprintf.c -o asprintf.o >/dev/null 2>&1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\"   -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o timegm.lo timegm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c timegm.c  -fPIC -DPIC -o .libs/timegm.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c timegm.c -o timegm.o >/dev/null 2>&1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\"   -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dbd_helper.lo dbd_helper.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dbd_helper.c  -fPIC -DPIC -o .libs/dbd_helper.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dbd_helper.c -o dbd_helper.o >/dev/null 2>&1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\"   -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dbi_main.lo dbi_main.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dbi_main.c  -fPIC -DPIC -o .libs/dbi_main.o
dbi_main.c: In function 'dbi_initialize_r':
dbi_main.c:203:25: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
  203 |                         status = readdir_r (dir, buffer, &driver_dirent);
      |                         ^~~~~~
In file included from dbi_main.c:91:
/usr/include/dirent.h:183:12: note: declared here
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
dbi_main.c: In function 'dbi_conn_error':
dbi_main.c:636:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  636 |                 asprintf(&(conn->full_errmsg), "%s%s", number_portion, conn->error_message ? conn->error_message : "");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbi_main.c: In function 'dbi_conn_queryf':
dbi_main.c:1151:9: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1151 |         vasprintf(&statement, formatstr, ap);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dbi_main.c -o dbi_main.o >/dev/null 2>&1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\"   -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dbi_result.lo dbi_result.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dbi_result.c  -fPIC -DPIC -o .libs/dbi_result.o
dbi_result.c: In function 'dbi_result_get_as_string_copy_idx':
dbi_result.c:1544:54: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 16 [-Wformat-truncation=]
 1544 |     snprintf(newstring, 32, "%04d-%02d-%02d %02d:%02d:%02d", utctime.tm_year+1900, utctime.tm_mon+1, utctime.tm_mday, utctime.tm_hour, utctime.tm_min, utctime.tm_sec);
      |                                                      ^
In file included from /usr/include/stdio.h:888,
                 from dbi_result.c:29:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 20 and 72 bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -DDBI_DRIVER_DIR=\"/usr/lib64/dbd\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dbi_result.c -o dbi_result.o >/dev/null 2>&1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -version-info 2:0:1 -no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libdbi.la -rpath /usr/lib64 dbi_main.lo dbi_result.lo dbd_helper.lo atoll.lo asprintf.lo timegm.lo  -lm
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/dbi_main.o .libs/dbi_result.o .libs/dbd_helper.o .libs/atoll.o .libs/asprintf.o .libs/timegm.o   -O2 -g -fstack-protector -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags    -lm -Wl,-soname -Wl,libdbi.so.1 -o .libs/libdbi.so.1.1.0
libtool: link: (cd ".libs" && rm -f "libdbi.so.1" && ln -s "libdbi.so.1.1.0" "libdbi.so.1")
libtool: link: (cd ".libs" && rm -f "libdbi.so" && ln -s "libdbi.so.1.1.0" "libdbi.so")
libtool: link: ar cru .libs/libdbi.a  dbi_main.o dbi_result.o dbd_helper.o atoll.o asprintf.o timegm.o
libtool: link: ranlib .libs/libdbi.a
libtool: link: ( cd ".libs" && rm -f "libdbi.la" && ln -s "../libdbi.la" "libdbi.la" )
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
Making all in include
Making all in dbi
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all-am'.
Making all in doc
make[2]: Nothing to be done for 'all'.
make[2]: Nothing to be done for 'all-am'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.beOHk1
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64
+ cd libdbi-0.9.0
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64 'INSTALL=/usr/bin/install -p'
Making install in src
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libdbi.la '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libdbi.so.1.1.0 /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/libdbi.so.1.1.0
libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64 && { ln -s -f libdbi.so.1.1.0 libdbi.so.1 || { rm -f libdbi.so.1 && ln -s libdbi.so.1.1.0 libdbi.so.1; }; })
libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64 && { ln -s -f libdbi.so.1.1.0 libdbi.so || { rm -f libdbi.so && ln -s libdbi.so.1.1.0 libdbi.so; }; })
libtool: install: /usr/bin/install -p .libs/libdbi.lai /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/libdbi.la
libtool: install: /usr/bin/install -p .libs/libdbi.a /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/libdbi.a
libtool: install: chmod 644 /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/libdbi.a
libtool: install: ranlib /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/libdbi.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/src'
Making install in include
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include'
Making install in dbi
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include/dbi'
make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include/dbi'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/include/dbi'
 /usr/bin/install -p -m 644 dbi.h dbi-dev.h dbd.h '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/include/dbi'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include/dbi'
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include/dbi'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include'
make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include'
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/include'
Making install in doc
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/doc'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/libdbi-0.9.0'
 /usr/bin/install -p -m 644 programmers-guide.pdf driver-guide.pdf '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/libdbi-0.9.0'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/libdbi-0.9.0/driver-guide'
 /usr/bin/install -p -m 644 driver-guide/contact.html driver-guide/copying-fdl.html driver-guide/databasedirectories.html driver-guide/description.html driver-guide/drivercaps.html driver-guide/driverdata.html driver-guide/driverfuncs-dbquery.html driver-guide/driverfuncs-infrastructure.html driver-guide/driverfuncs-publicdbquery.html driver-guide/driverfuncs.html driver-guide/driverinfrastructure.html driver-guide/gnugpl.html driver-guide/helperfuncs.html driver-guide/index.html driver-guide/intro.html driver-guide/terminology.html '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/libdbi-0.9.0/driver-guide'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/libdbi-0.9.0/programmers-guide'
 /usr/bin/install -p -m 644 programmers-guide/addtoproject.html programmers-guide/buildinstall.html programmers-guide/connerrors.html programmers-guide/contact.html programmers-guide/copying-fdl.html programmers-guide/description.html programmers-guide/errorhandling.html programmers-guide/errornumbers.html programmers-guide/gnugpl.html programmers-guide/index.html programmers-guide/intro.html programmers-guide/libdbi-and-drivers-versions.html programmers-guide/loadinglibdbi.html programmers-guide/package-library-version.html programmers-guide/quickstart-code.html programmers-guide/quickstart-debriefing.html programmers-guide/quickstart.html programmers-guide/reference-conn.html programmers-guide/reference-core.html programmers-guide/reference-database.html programmers-guide/reference-driver.html programmers-guide/reference-field-idx.html programmers-guide/reference-field-meta.html programmers-guide/reference-field.html programmers-guide/reference-query.html programmers-guide/reference-results.html programmers-guide/reference.html programmers-guide/savepoints.html programmers-guide/terminology.html programmers-guide/threads.html programmers-guide/transactions-savepoints.html programmers-guide/transactions.html programmers-guide/version-at-runtime.html programmers-guide/versioning.html '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/libdbi-0.9.0/programmers-guide'
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/doc'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0/doc'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 dbi.pc '/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/pkgconfig'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libdbi-0.9.0'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc
+ /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.9.0-8.mga9 --unique-debug-suffix -0.9.0-8.mga9.aarch64 --unique-debug-src-base libdbi-0.9.0-8.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/libdbi-0.9.0

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/libdbi.so.1.1.0
dwz: ./usr/lib64/libdbi.so.1.1.0-0.9.0-8.mga9.aarch64.debug: Unknown debugging section .debug_line_str
original debug info size: 160kB, size after compression: 160kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match.
315 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: lib64dbi1-0.9.0-8.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TCDORP
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd libdbi-0.9.0
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi1
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi1
+ cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi1
+ cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi1
+ cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi1
+ cp -pr README /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi1
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: lib64dbi1 = 0.9.0-8.mga9 lib64dbi1(aarch-64) = 0.9.0-8.mga9 libdbi.so.1()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit)
Processing files: lib64dbi-devel-0.9.0-8.mga9.aarch64
error: File not found: /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/*.la
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.abgPFm
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd libdbi-0.9.0
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ cp -pr README /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ cp -pr doc/programmers-guide /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ cp -pr doc/driver-guide /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ cp -pr doc/driver-guide.pdf doc/programmers-guide.pdf /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/share/doc/lib64dbi-devel
+ RPM_EC=0
++ jobs -p
+ exit 0


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    line 39: It's not recommended to have unversioned Obsoletes: Obsoletes:	lib64dbi0-devel
    File not found: /home/iurt/rpmbuild/BUILDROOT/libdbi-0.9.0-8.mga9.aarch64/usr/lib64/*.la
I: [iurt_root_command] ERROR: chroot