D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libdbi-drivers-0.9.0-9.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.loOKps + 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/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/libdbi-drivers-0.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libdbi-drivers-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/libdbi-drivers-0.9.0-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + xargs chmod 755 + find -type d + 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 + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.70yX6Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libdbi-drivers-0.9.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + sh autogen.sh 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' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 a 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, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of 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 Using autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later , This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille., if you have problems while building then set the environemnt variable AUTOCONF to a different autoconf version and rerun autogen.sh + 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 + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --disable-static --with-mysql --with-pgsql --with-sqlite --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 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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 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 objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip 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 mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 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... yes checking sqlite.h usability... yes checking sqlite.h presence... yes checking for sqlite.h... yes checking for library containing sqlite_exec... -lsqlite checking for SQLite3 support... yes checking sqlite3.h usability... yes checking sqlite3.h presence... 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 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 + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c dbd_mysql.c -fPIC -DPIC -o .libs/dbd_mysql.o /usr/include/dbi/dbd.h: In function 'dbd_connect': dbd_mysql.c:231:8: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SET NAMES '%s'", dbd_encoding_from_iana(encoding)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:238:6: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SET NAMES '%s'", dbd_encoding_from_iana(encoding)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_get_encoding': dbd_mysql.c:312:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SHOW CREATE DATABASE %s", conn->current_db); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:337:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SHOW VARIABLES LIKE '%s'", "character_set_connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:355:6: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SHOW VARIABLES LIKE '%s'", "character_set"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_dbs': dbd_mysql.c:466:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SHOW DATABASES LIKE '%s'", pattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_tables': dbd_mysql.c:482:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SHOW TABLES FROM %s", db); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_mysql.c:488:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SHOW TABLES FROM %s LIKE '%s'", db, pattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_savepoint': dbd_mysql.c:631:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: 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] asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_release_savepoint': dbd_mysql.c:669:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dbd_mysql.Tpo .deps/dbd_mysql.Plo 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' 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -avoid-version -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -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 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/lib64/ -lmariadb -lz -lpthread -lssl -lcrypto /usr/lib64/libdbi.so -ldl -lm -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' 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_pgsql.lo -MD -MP -MF .deps/dbd_pgsql.Tpo -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_pgsql.lo -MD -MP -MF .deps/dbd_pgsql.Tpo -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] asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ ^~~~~~~~~~~~~~~ dbd_pgsql.c:246:6: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 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] asprintf( &conninfo, fmt, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ ^~~~~~~~~~~~~~~ dbd_pgsql.c:246:6: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 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] asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:249:6: note: in expansion of macro 'CONNINFO_APPEND' 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] asprintf( &conninfo, fmt, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:249:6: note: in expansion of macro 'CONNINFO_APPEND' 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] asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ ^~~~~~~~~~~~~~~ dbd_pgsql.c:261:3: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 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] asprintf( &conninfo, fmt, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:118:9: note: in expansion of macro 'CONNINFO_APPEND' CONNINFO_APPEND( conninfo, fmt, key, value_escaped ); \ ^~~~~~~~~~~~~~~ dbd_pgsql.c:261:3: note: in expansion of macro 'CONNINFO_APPEND_ESCAPED' 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] asprintf( &conninfo, "%s " fmt, tmp, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:265:6: note: in expansion of macro 'CONNINFO_APPEND' 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] asprintf( &conninfo, fmt, key, value ); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_pgsql.c:265:6: note: in expansion of macro 'CONNINFO_APPEND' CONNINFO_APPEND( conninfo, "%s='%d'", "port", 5432 ); ^~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_get_encoding': dbd_pgsql.c:368:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT encoding FROM pg_database WHERE datname='%s'", conn->current_db); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_dbs': dbd_pgsql.c:433:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT datname FROM pg_database WHERE datname LIKE '%s'", pattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_savepoint': dbd_pgsql.c:562:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: 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] asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_release_savepoint': dbd_pgsql.c:600:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_get_seq_last': dbd_pgsql.c:646:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT currval('%s')", sequence); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_get_seq_next': dbd_pgsql.c:668:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT nextval('%s')", sequence); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dbd_pgsql.Tpo .deps/dbd_pgsql.Plo 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -avoid-version /usr/lib64 -lpq -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -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 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lpq /usr/lib64/libdbi.so -ldl -lm -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]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -DDBDIR=\"/var/lib/libdbi/sqlite\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_sqlite.lo -MD -MP -MF .deps/dbd_sqlite.Tpo -c -o dbd_sqlite.lo dbd_sqlite.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include/dbi -DDBDIR=\"/var/lib/libdbi/sqlite\" -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_sqlite.lo -MD -MP -MF .deps/dbd_sqlite.Tpo -c dbd_sqlite.c -fPIC -DPIC -o .libs/dbd_sqlite.o dbd_sqlite.c: In function 'dbd_list_dbs': dbd_sqlite.c:382:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] retval = readdir_r(dp, entry, &result); ^~~~~~ In file included from dbd_sqlite.c:50:0: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ dbd_sqlite.c:377:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_cwd, _POSIX_PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite.c:378:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(sq_datadir); ^~~~~~~~~~~~~~~~~ dbd_sqlite.c:447:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_cwd); ^~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_tables': dbd_sqlite.c:493:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT name FROM sqlite_master WHERE type='table' ORDER BY name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_sqlite.c:496:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT name FROM sqlite_master WHERE type='table' AND name LIKE '%s' ORDER BY name", pattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_savepoint': dbd_sqlite.c:654:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_rollback_to_savepoint': dbd_sqlite.c:673:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_release_savepoint': dbd_sqlite.c:692:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dbd_sqlite.Tpo .deps/dbd_sqlite.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite' /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 -module -avoid-version -lsqlite -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libdbdsqlite.la -rpath /usr/lib64/dbd dbd_sqlite.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/dbd_sqlite.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lsqlite /usr/lib64/libdbi.so -ldl -lm -L/usr/lib64 -Wl,-soname -Wl,libdbdsqlite.so -o .libs/libdbdsqlite.so libtool: link: ( cd ".libs" && rm -f "libdbdsqlite.la" && ln -s "../libdbdsqlite.la" "libdbdsqlite.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/sqlite' 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -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] retval = readdir_r(dp, entry, &result); ^~~~~~ In file included from dbd_sqlite3.c:50:0: /usr/include/dirent.h:183:12: note: declared here 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] 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] chdir(sq_datadir); ^~~~~~~~~~~~~~~~~ dbd_sqlite3.c:491:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_cwd); ^~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_tables': dbd_sqlite3.c:537:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 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] 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] asprintf(&sql_cmd, "INSERT INTO libdbi_tablenames VALUES ('%s')", dbi_result_get_string(dbi_result, "name")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_savepoint': dbd_sqlite3.c:757:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: 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] asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_release_savepoint': dbd_sqlite3.c:795:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dbd_sqlite3.Tpo .deps/dbd_sqlite3.Plo 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -avoid-version -lsqlite3 -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -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 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lsqlite3 /usr/lib64/libdbi.so -ldl -lm -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_firebird.lo -MD -MP -MF .deps/dbd_firebird.Tpo -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_firebird.lo -MD -MP -MF .deps/dbd_firebird.Tpo -c dbd_firebird.c -fPIC -DPIC -o .libs/dbd_firebird.o dbd_firebird.c: In function 'dbd_get_engine_version': dbd_firebird.c:249:27: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] while (start>version && isdigit((int)(*(start-1)))) { ^~~~~~~ dbd_firebird.c: In function 'dbd_query': dbd_firebird.c:357:25: warning: initialization makes integer from pointer without a cast [-Wint-conversion] isc_stmt_handle stmt = NULL; /* statement handle */ ^~~~ dbd_firebird.c:375:10: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ dbd_firebird.c:389:10: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ dbd_firebird.c:409:11: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ dbd_firebird.c:423:12: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ dbd_firebird.c:466:12: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ dbd_firebird.c:499:11: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from dbd_firebird.c:45:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_tables': dbd_firebird.c:284:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "SELECT RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$SYSTEM_FLAG = 0 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " AND RDB$RELATION_NAME LIKE '%s'", pattern); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_savepoint': dbd_firebird.c:558:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: 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] asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_release_savepoint': dbd_firebird.c:596:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "RELEASE SAVEPOINT %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dbd_firebird.Tpo .deps/dbd_firebird.Plo 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' /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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT utility.lo -MD -MP -MF .deps/utility.Tpo -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.c -fPIC -DPIC -o .libs/utility.o utility.c: In function '_dbd_real_connect': utility.c:102:3: warning: 'isc_interprete' is deprecated [-Wdeprecated-declarations] isc_interprete(msg, &pvector); ^~~~~~~~~~~~~~ In file included from utility.c:16:0: /usr/include/fbembed/ibase.h:787:39: note: declared here ISC_LONG FB_API_DEPRECATED ISC_EXPORT isc_interprete(ISC_SCHAR*, ^~~~~~~~~~~~~~ utility.c: In function '_get_row_data': utility.c:234:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion] isc_blob_handle blob_handle = NULL; /* Blob handle. */ ^~~~ utility.c: In function 'return_generator_value': utility.c:396:2: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] asprintf(&sql_cmd, "SELECT GEN_ID( %s ,%d ) FROM RDB$DATABASE",sequence, type ); ^~~~~~~~ vsprintf mv -f .deps/utility.Tpo .deps/utility.Plo 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' /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 -module -avoid-version -lfbembed -no-undefined -ldbi -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libdbdfirebird.la -rpath /usr/lib64/dbd dbd_firebird.lo utility.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/dbd_firebird.o .libs/utility.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lfbembed /usr/lib64/libdbi.so -ldl -lm -L/usr/lib64 -Wl,-soname -Wl,libdbdfirebird.so -o .libs/libdbdfirebird.so libtool: link: ( cd ".libs" && rm -f "libdbdfirebird.la" && ln -s "../libdbdfirebird.la" "libdbdfirebird.la" ) 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' Making all in freetds make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/freetds' /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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_freetds.lo -MD -MP -MF .deps/dbd_freetds.Tpo -c -o dbd_freetds.lo dbd_freetds.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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT dbd_freetds.lo -MD -MP -MF .deps/dbd_freetds.Tpo -c dbd_freetds.c -fPIC -DPIC -o .libs/dbd_freetds.o dbd_freetds.c: In function 'dbd_connect': dbd_freetds.c:236:12: error: 'CS_TDS_80' undeclared (first use in this function); did you mean 'CS_TDS_70'? num = CS_TDS_80; ^~~~~~~~~ CS_TDS_70 dbd_freetds.c:236:12: note: each undeclared identifier is reported only once for each function it appears in /usr/include/dbi/dbd.h: In function 'dbd_list_dbs': dbd_freetds.c:459:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, ^~~~~~~~~~~~~~~~~~ " create table #t (\n" ~~~~~~~~~~~~~~~~~~~~~~ " DATABASE_NAME sysname NOT NULL,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " DATABASE_SIZE int NOT NULL,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " REMARKS varchar(254)\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " )\n" ~~~~~~~~~ " Insert Into #t exec sp_databases\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " Select * From #t Where DATABASE_NAME Like '%%%s%%'\n" " Drop table #t", pattern); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_list_tables': dbd_freetds.c:492:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "create table #t (\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_QUALIFIER sysname,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_OWNER sysname,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_NAME sysname NOT NULL,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_TYPE sysname,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " REMARKS varchar(254)\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " )\n" ~~~~~~~~~~ "Insert Into #t exec sp_tables\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Select TABLE_NAME From #t Where TABLE_TYPE='TABLE'\n" "Drop table #t\n"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbd_freetds.c:504:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "create table #t (\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_QUALIFIER sysname,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_OWNER sysname,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_NAME sysname NOT NULL,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " TABLE_TYPE sysname,\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " REMARKS varchar(254)\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " )\n" ~~~~~~~~~~ "Insert Into #t exec sp_tables\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Select TABLE_NAME From #t Where TABLE_TYPE='TABLE' And TABLE_NAME Like '%%%s%%'\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Drop table #t\n", pattern); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_savepoint': dbd_freetds.c:773:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "SAVE TRANSACTION %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_rollback_to_savepoint': dbd_freetds.c:792:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&query, "ROLLBACK TRANSACTION %s", savepoint); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dbi/dbd.h: In function 'dbd_select_db': dbd_freetds.c:814:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&sql_cmd, "USE %s ", db); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:509: dbd_freetds.lo] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libdbi-drivers-0.9.0/drivers/freetds' make[2]: *** [Makefile:403: all-recursive] Error 1 make[1]: *** [Makefile:454: all-recursive] Error 1 make: *** [Makefile:384: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.70yX6Y (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.70yX6Y (%build) I: [iurt_root_command] ERROR: chroot