D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libdbi-drivers-0.9.0-15.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XDy9FX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libdbi-drivers-0.9.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libdbi-drivers-0.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libdbi-drivers-0.9.0 + rm -rf /home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/libdbi-drivers-0.9.0-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/freetds-1.0-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -type d + xargs chmod 755 + perl -pi -e 's|/lib\b|/lib64|g' acinclude.m4 + mv tests/test_sqlite.sh tests/test_sqlite.sh.orig + cat + chmod 755 tests/test_db2.sh tests/test_firebird.sh tests/test_freetds.sh tests/test_ingres.sh tests/test_libdbi.sh tests/test_msql.sh tests/test_mysql.sh tests/test_oracle.sh tests/test_pgsql.sh tests/test_sqlite.sh tests/test_sqlite3.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oamHgu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libdbi-drivers-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:5: 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:5: the top level configure.in:7: warning: The macro 'AC_LIBTOOL_WIN32_DLL' is obsolete. configure.in:7: You should run autoupdate. m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:7: the top level configure.in:7: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.in:7: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:7: the top level configure.in:35: warning: The macro 'AC_PROG_LD' is obsolete. configure.in:35: You should run autoupdate. m4/libtool.m4:3353: AC_PROG_LD is expanded from... configure.in:35: the top level configure.in:256: warning: AC_OUTPUT should be used without arguments. configure.in:256: 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:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:5: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:34: installing './compile' configure.in:5: installing './missing' drivers/db2/Makefile.am:33: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' drivers/db2/Makefile.am: installing './depcomp' drivers/firebird/Makefile.am:33: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/freetds/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/ingres/Makefile.am:33: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/msql/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/mysql/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/oracle/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/pgsql/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/sqlite/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/sqlite3/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/Makefile.am:17: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' tests/cgreen/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/cgreen/Makefile.am:9: warning: source file 'src/unit.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. tests/cgreen/Makefile.am:9: warning: source file 'src/messaging.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/breadcrumb.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/reporter.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/assertions.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/vector.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/mocks.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/constraint.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/parameters.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/text_reporter.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/cdash_reporter.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + 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 + /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=x86_64-mageia-linux-gnu --build=x86_64-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 --disable-static --with-mysql --with-pgsql --with-sqlite3 --with-freetds --with-freetds-incdir=/usr/include --with-freetds-libdir=/usr/lib64 --with-firebird --with-firebird-incdir=/usr/include/fbembed --with-dbi-incdir=/usr/include/dbi --with-dbi-libdir=/usr/lib64 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 nested variables... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-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 x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 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 -m elf_x86_64) 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 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... no checking how to run the C preprocessor... gcc -E checking for libdbi framework... checking for MySQL support... yes checking for mysql_config... yes checking for MySQL includes... -I/usr/include/mysql -I/usr/include/mysql/mysql checking for MySQL libraries... checking for PostgreSQL support... yes checking for pg_config... yes checking for PostgreSQL includes... -I/usr/include checking for PostgreSQL libraries... /usr/lib64 checking for SQLite support... no checking for SQLite3 support... yes checking for sqlite3.h... yes checking for library containing sqlite3_exec... -lsqlite3 checking for Msql support... no checking for Oracle support... no checking for Firebird/Interbase support... yes checking for library containing isc_dsql_fetch... -lfbembed checking for isql-fb... no checking for isql... no checking for Freetds support... yes checking CS_TDS_80... CS_TDS_71 checking for Ingres support... no checking for IBM DB2 support... no checking for strtoll... yes checking for atoll... yes checking for vasprintf... yes checking for asprintf... yes checking for libdbi library... yes: libs in /usr/lib64 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 libdbi-drivers.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/include/Makefile config.status: creating drivers/Makefile config.status: creating drivers/mysql/Makefile config.status: creating drivers/pgsql/Makefile config.status: creating drivers/sqlite/Makefile config.status: creating drivers/sqlite3/Makefile config.status: creating drivers/msql/Makefile config.status: creating drivers/oracle/Makefile config.status: creating drivers/firebird/Makefile config.status: creating drivers/freetds/Makefile config.status: creating drivers/ingres/Makefile config.status: creating drivers/db2/Makefile config.status: creating tests/Makefile config.status: creating tests/cgreen/Makefile config.status: creating tests/test_dbi.cfg config.status: creating tests/plugin_settings.sh config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in drivers Making all in mysql make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include/mysql -I/usr/include/mysql/mysql -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dbd_mysql.lo dbd_mysql.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include/mysql -I/usr/include/mysql/mysql -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c dbd_mysql.c -fPIC -DPIC -o .libs/dbd_mysql.o dbd_mysql.c: In function 'dbd_connect': dbd_mysql.c:231:15: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | asprintf(&sql_cmd, "SET NAMES '%s'", dbd_encoding_from_iana(encoding)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:238:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | asprintf(&sql_cmd, "SET NAMES '%s'", dbd_encoding_from_iana(encoding)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c: In function 'dbd_get_encoding': dbd_mysql.c:312:11: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 312 | asprintf(&sql_cmd, "SHOW CREATE DATABASE %s", conn->current_db); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:337:11: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | asprintf(&sql_cmd, "SHOW VARIABLES LIKE '%s'", "character_set_connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:355:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 355 | asprintf(&sql_cmd, "SHOW VARIABLES LIKE '%s'", "character_set"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c: In function 'dbd_list_dbs': dbd_mysql.c:466:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 466 | asprintf(&sql_cmd, "SHOW DATABASES LIKE '%s'", pattern); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c: In function 'dbd_list_tables': dbd_mysql.c:482:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 482 | asprintf(&sql_cmd, "SHOW TABLES FROM %s", db); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:488:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 488 | asprintf(&sql_cmd, "SHOW TABLES FROM %s LIKE '%s'", db, pattern); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c: In function 'dbd_savepoint': dbd_mysql.c:631:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 631 | asprintf(&query, "SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c: In function 'dbd_rollback_to_savepoint': dbd_mysql.c:650:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 650 | asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c: In function 'dbd_release_savepoint': dbd_mysql.c:669:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 669 | asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -module -avoid-version -L/usr/lib64/ -lmariadb -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o libdbdmysql.la -rpath /usr/lib64/dbd dbd_mysql.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/dbd_mysql.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -L/usr/lib64/ -lmariadb -ldbi -L/usr/lib64 -Wl,-soname -Wl,libdbdmysql.so -o .libs/libdbdmysql.so libtool: link: ( cd ".libs" && rm -f "libdbdmysql.la" && ln -s "../libdbdmysql.la" "libdbdmysql.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Converting dbd_mysql.sgml to HTML... mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/mysql' Making all in pgsql make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/pgsql' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dbd_pgsql.lo dbd_pgsql.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c dbd_pgsql.c -fPIC -DPIC -o .libs/dbd_pgsql.o dbd_pgsql.c: In function '_dbd_real_connect': dbd_pgsql.c:126:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' 118 | CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ | ^~~~~~~~~~~~~~~ dbd_pgsql.c:246:13: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 246 | CONNINFO_APPEND_ESCAPED( conninfo, "%s='%s'", pgopt, optval ); | ^~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:130:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | asprintf( &conninfo, fmt, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' 118 | CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ | ^~~~~~~~~~~~~~~ dbd_pgsql.c:246:13: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 246 | CONNINFO_APPEND_ESCAPED( conninfo, "%s='%s'", pgopt, optval ); | ^~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:126:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:249:13: note: in expansion of macro 'CONNINFO_APPEND' 249 | CONNINFO_APPEND( conninfo, "%s='%d'", pgopt, optval_num ); | ^~~~~~~~~~~~~~~ dbd_pgsql.c:130:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | asprintf( &conninfo, fmt, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:249:13: note: in expansion of macro 'CONNINFO_APPEND' 249 | CONNINFO_APPEND( conninfo, "%s='%d'", pgopt, optval_num ); | ^~~~~~~~~~~~~~~ dbd_pgsql.c:126:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' 118 | CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ | ^~~~~~~~~~~~~~~ dbd_pgsql.c:261:17: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 261 | CONNINFO_APPEND_ESCAPED( conninfo, "%s='%s'", "dbname", dbname ); | ^~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:130:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | asprintf( &conninfo, fmt, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' 118 | CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ | ^~~~~~~~~~~~~~~ dbd_pgsql.c:261:17: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 261 | CONNINFO_APPEND_ESCAPED( conninfo, "%s='%s'", "dbname", dbname ); | ^~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:126:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:265:13: note: in expansion of macro 'CONNINFO_APPEND' 265 | CONNINFO_APPEND( conninfo, "%s='%d'", "port", 5432 ); | ^~~~~~~~~~~~~~~ dbd_pgsql.c:130:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | asprintf( &conninfo, fmt, key, value ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:265:13: note: in expansion of macro 'CONNINFO_APPEND' 265 | CONNINFO_APPEND( conninfo, "%s='%d'", "port", 5432 ); | ^~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_get_encoding': dbd_pgsql.c:368:11: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 368 | asprintf(&sql_cmd, "SELECT encoding FROM pg_database WHERE datname='%s'", conn->current_db); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_list_dbs': dbd_pgsql.c:433:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 433 | asprintf(&sql_cmd, "SELECT datname FROM pg_database WHERE datname LIKE '%s'", pattern); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_savepoint': dbd_pgsql.c:562:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | asprintf(&query, "SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_rollback_to_savepoint': dbd_pgsql.c:581:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 581 | asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_release_savepoint': dbd_pgsql.c:600:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 600 | asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_get_seq_last': dbd_pgsql.c:646:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | asprintf(&sql_cmd, "SELECT currval('%s')", sequence); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c: In function 'dbd_get_seq_next': dbd_pgsql.c:668:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 668 | asprintf(&sql_cmd, "SELECT nextval('%s')", sequence); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/pgsql' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/pgsql' /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -module -avoid-version /usr/lib64 -lpq -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o libdbdpgsql.la -rpath /usr/lib64/dbd dbd_pgsql.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/dbd_pgsql.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lpq -ldbi -L/usr/lib64 -Wl,-soname -Wl,libdbdpgsql.so -o .libs/libdbdpgsql.so libtool: link: ( cd ".libs" && rm -f "libdbdpgsql.la" && ln -s "../libdbdpgsql.la" "libdbdpgsql.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/pgsql' Making all in sqlite make[3]: Nothing to be done for 'all'. Making all in sqlite3 make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite3' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -DDBDIR=\"/var/lib/libdbi/sqlite3\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dbd_sqlite3.lo dbd_sqlite3.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -DDBDIR=\"/var/lib/libdbi/sqlite3\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c dbd_sqlite3.c -fPIC -DPIC -o .libs/dbd_sqlite3.o dbd_sqlite3.c: In function 'dbd_list_dbs': dbd_sqlite3.c:426:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] 426 | retval = readdir_r(dp, entry, &result); | ^~~~~~ In file included from dbd_sqlite3.c:50: /usr/include/dirent.h:185:12: note: declared here 185 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ dbd_sqlite3.c:421:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 421 | getcwd(old_cwd, _POSIX_PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite3.c:422:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 422 | chdir(sq_datadir); | ^~~~~~~~~~~~~~~~~ dbd_sqlite3.c:491:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 491 | chdir(old_cwd); | ^~~~~~~~~~~~~~ dbd_sqlite3.c: In function 'dbd_list_tables': dbd_sqlite3.c:537:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 537 | asprintf(&sql_cmd, "SELECT name FROM sqlite_master WHERE type='table' ORDER BY name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite3.c:540:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 540 | asprintf(&sql_cmd, "SELECT name FROM sqlite_master WHERE type='table' AND name LIKE '%s' ORDER BY name", pattern); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite3.c:547:7: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 547 | asprintf(&sql_cmd, "INSERT INTO libdbi_tablenames VALUES ('%s')", dbi_result_get_string(dbi_result, "name")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite3.c: In function 'dbd_savepoint': dbd_sqlite3.c:757:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 757 | asprintf(&query, "SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite3.c: In function 'dbd_rollback_to_savepoint': dbd_sqlite3.c:776:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 776 | asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite3.c: In function 'dbd_release_savepoint': dbd_sqlite3.c:795:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 795 | asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite3' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite3' /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -module -avoid-version -lsqlite3 -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o libdbdsqlite3.la -rpath /usr/lib64/dbd dbd_sqlite3.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/dbd_sqlite3.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lsqlite3 -ldbi -L/usr/lib64 -Wl,-soname -Wl,libdbdsqlite3.so -o .libs/libdbdsqlite3.so libtool: link: ( cd ".libs" && rm -f "libdbdsqlite3.la" && ln -s "../libdbdsqlite3.la" "libdbdsqlite3.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite3' Making all in msql make[3]: Nothing to be done for 'all'. Making all in oracle make[3]: Nothing to be done for 'all'. Making all in firebird make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/firebird' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include/fbembed -DDBDIR=\"/var/lib/libdbi/firebird\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utility.lo utility.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include/fbembed -DDBDIR=\"/var/lib/libdbi/firebird\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c utility.c -fPIC -DPIC -o .libs/utility.o utility.c: In function '_dbd_real_connect': utility.c:102:17: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 102 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ In file included from utility.c:16: /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ utility.c: In function '_get_row_data': utility.c:234:39: error: initialization of 'isc_blob_handle' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 234 | isc_blob_handle blob_handle = NULL; /* Blob handle. */ | ^~~~ utility.c: In function 'return_generator_value': utility.c:396:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 396 | asprintf(&sql_cmd, "SELECT GEN_ID( %s ,%d ) FROM RDB$DATABASE",sequence, type ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:519: utility.lo] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/firebird' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/firebird' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include/fbembed -DDBDIR=\"/var/lib/libdbi/firebird\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dbd_firebird.lo dbd_firebird.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -I/usr/include/fbembed -DDBDIR=\"/var/lib/libdbi/firebird\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c dbd_firebird.c -fPIC -DPIC -o .libs/dbd_firebird.o dbd_firebird.c: In function 'dbd_get_engine_version': dbd_firebird.c:249:41: error: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 249 | while (start>version && isdigit((int)(*(start-1)))) { | ^~~~~~~ dbd_firebird.c:50:1: note: include '' or provide a declaration of 'isdigit' 49 | #include "utility.h" +++ |+#include 50 | dbd_firebird.c: In function 'dbd_query': dbd_firebird.c:357:32: error: initialization of 'isc_stmt_handle' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 357 | isc_stmt_handle stmt = NULL; /* statement handle */ | ^~~~ dbd_firebird.c:375:24: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 375 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45: /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ dbd_firebird.c:389:24: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 389 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ dbd_firebird.c:409:32: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 409 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ dbd_firebird.c:423:40: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 423 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ dbd_firebird.c:466:40: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 466 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ dbd_firebird.c:499:32: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] 499 | isc_interprete(msg, &pvector); | ^~~~~~~~~~~~~~ /usr/include/fbembed/ibase.h:787:39: note: declared here 787 | ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, | ^~~~~~~~~~~~~~ dbd_firebird.c: In function 'dbd_list_tables': dbd_firebird.c:284:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | asprintf(&sql_cmd, "SELECT RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$SYSTEM_FLAG = 0 " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | " AND RDB$RELATION_NAME LIKE '%s'", pattern); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_firebird.c: In function 'dbd_savepoint': dbd_firebird.c:558:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 558 | asprintf(&query, "SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_firebird.c: In function 'dbd_rollback_to_savepoint': dbd_firebird.c:577:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 577 | asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_firebird.c: In function 'dbd_release_savepoint': dbd_firebird.c:596:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 596 | asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:519: dbd_firebird.lo] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/firebird' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/firebird' Converting dbd_firebird.sgml to HTML... mkdir -p dbd_firebird && cd dbd_firebird && openjade -t sgml -d ../../../doc/include/doc-html.dsl ../dbd_firebird.sgml make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/firebird' make[2]: *** [Makefile:406: all-recursive] Error 1 make[1]: *** [Makefile:458: all-recursive] Error 1 make: *** [Makefile:388: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oamHgu (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oamHgu (%build) I: [iurt_root_command] ERROR: chroot