D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/sqliteodbc-0.9998-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3o7FAX
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.30Jx2T
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/sqliteodbc-0.9998-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/sqliteodbc-0.9998-build
+ rm -rf sqliteodbc-0.9998
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sqliteodbc-0.9998.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sqliteodbc-0.9998
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for i in README
+ sed 's#\r##g' README
+ touch -r README README.tmp
+ mv README.tmp README
+ for i in ChangeLog
+ iconv -f ISO-8859-1 -t UTF-8 -o ChangeLog.tmp ChangeLog
+ touch -r ChangeLog ChangeLog.tmp
+ mv ChangeLog.tmp ChangeLog
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.G9evVb
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/sqliteodbc-0.9998-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd sqliteodbc-0.9998
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ 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)
Modifying source/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
+ ./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
configure: WARNING: unrecognized options: --disable-dependency-tracking
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 for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 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 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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
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 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... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for SQLite header and library... no
configure: WARNING: SQLite header files and/or library not found
checking for sqlite_libversion in -lsqlite... no
checking for sqlite_compile in -lsqlite... no
checking for sqlite_encode_binary in -lsqlite... no
checking for sqliteAtoF in -lsqlite... no
checking for sqlite_mprintf in -lsqlite... no
checking for sqlite_trace in -lsqlite... no
configure: WARNING: SQLite library too old, need 2.8.0 or later
checking for SQLite3 header and library... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for sqlite3_column_table_name in -lsqlite3... yes
checking for sqlite3_column_database_name in -lsqlite3... yes
checking for sqlite3_column_origin_name in -lsqlite3... yes
checking for sqlite3_overload_function in -lsqlite3... yes
checking for sqlite3_prepare_v2 in -lsqlite3... yes
checking for sqlite3_clear_bindings in -lsqlite3... yes
checking for sqlite3_create_module_v2 in -lsqlite3... yes
checking for sqlite3_vfs_register in -lsqlite3... yes
checking for sqlite3_table_column_metadata in -lsqlite3... yes
checking for sqlite3_profile in -lsqlite3... yes
checking for sqlite3_strnicmp in -lsqlite3... yes
checking for sqlite3_close_v2 in -lsqlite3... yes
checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for SQLite4 header and library... no
configure: WARNING: SQLite4 header file and source not found
checking for libxml2 header and library... yes
checking for ODBC headers and libraries... yes
checking for SQLLEN availability... yes
checking for SQLULEN availability... yes
checking for SQLROWCOUNT availability... no
checking for SQLSETPOSIROW availability... yes
checking for SQLROWOFFSET availability... no
checking for SQLROWSETSIZE availability... no
checking for SQLColAttribute signature has SQLLEN... yes
checking for SQLSetStmtOption signature has SQLULEN... yes
checking for SQLWCHAR availability... yes
checking for SQLBIGINT availability... yes
checking for ptrdiff_t availability... yes
checking for dlopen in -ldl... yes
checking for SQLGetPrivateProfileString via dlopen... no
checking va_list usage... NOT using sqlite_exec_vprintf/sqlite_vmprintf
checking for usleep... yes
checking for nanosleep... yes
checking for localeconv... yes
checking for localtime_r... yes
checking for gmtime_r... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqliteodbc.spec
config.status: creating debian/changelog
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ make -j16
./libtool --mode=compile gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\"  -c \
	    -I/usr/include -DHAVE_UNIXODBC=1 -I/usr/include -DHAVE_ODBCINSTEXT_H=1 -Imissing -DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1 -DHAVE_SQLSETPOSIROW=1 -DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR -DSETSTMTOPTION_LAST_ARG_TYPE=SQLULEN -DHAVE_SQLWCHAR=1 -DHAVE_LONG_LONG=1 -DPTRDIFF_T=ptrdiff_t -DCANT_PASS_VALIST_AS_CHARPTR=1 -DHAVE_USLEEP=1 -DHAVE_NANOSLEEP=1 -DHAVE_LOCALECONV=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 \
	    -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1  sqlite3odbc.c
./libtool --mode=compile gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\"  -c \
	    -I/usr/include \
	    -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1  blobtoxy.c
./libtool --mode=compile gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\"  -c \
	    -I/usr/include \
	    -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1  impexp.c
./libtool --mode=compile gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\"  -c \
	    -I/usr/include \
	    -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1  csvtable.c
./libtool --mode=compile gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\"  -c \
	    -I/usr/include \
	    -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1  zipfile.c
./libtool --mode=compile gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\"  -c \
	    -I/usr/include \
	    -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1  -I/usr/include/libxml2 xpath.c
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 blobtoxy.c  -fPIC -DPIC -o .libs/blobtoxy.o
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 impexp.c  -fPIC -DPIC -o .libs/impexp.o
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 -I/usr/include/libxml2 xpath.c  -fPIC -DPIC -o .libs/xpath.o
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 csvtable.c  -fPIC -DPIC -o .libs/csvtable.o
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_UNIXODBC=1 -I/usr/include -DHAVE_ODBCINSTEXT_H=1 -Imissing -DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1 -DHAVE_SQLSETPOSIROW=1 -DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR -DSETSTMTOPTION_LAST_ARG_TYPE=SQLULEN -DHAVE_SQLWCHAR=1 -DHAVE_LONG_LONG=1 -DPTRDIFF_T=ptrdiff_t -DCANT_PASS_VALIST_AS_CHARPTR=1 -DHAVE_USLEEP=1 -DHAVE_NANOSLEEP=1 -DHAVE_LOCALECONV=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 sqlite3odbc.c  -fPIC -DPIC -o .libs/sqlite3odbc.o
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 zipfile.c  -fPIC -DPIC -o .libs/zipfile.o
sqlite3odbc.c: In function 's3stmt_step':
sqlite3odbc.c:4528:24: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
 4528 |             s->rowfree = freerows;
      |                        ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c: In function 'drvtableprivileges':
sqlite3odbc.c:6306:24: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
 6306 |             s->rowfree = sqlite3_free_table;
      |                        ^
In file included from sqlite3odbc.h:49,
                 from sqlite3odbc.c:25:
/usr/include/sqlite3.h:3077:17: note: 'sqlite3_free_table' declared here
 3077 | SQLITE_API void sqlite3_free_table(char **result);
      |                 ^~~~~~~~~~~~~~~~~~
sqlite3odbc.c: In function 'drvprimarykeys':
sqlite3odbc.c:6726:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
 6726 |     s->rowfree = freerows;
      |                ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c: In function 'drvspecialcolumns':
sqlite3odbc.c:7119:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
 7119 |     s->rowfree = freerows;
      |                ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c: In function 'drvforeignkeys':
sqlite3odbc.c:7561:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
 7561 |         s->rowfree = freerows;
      |                    ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c:7705:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
 7705 |         s->rowfree = freerows;
      |                    ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c: In function 'freeresult':
sqlite3odbc.c:13825:13: error: too many arguments to function 's->rowfree'; expected 0, have 1
13825 |             s->rowfree(s->rows);
      |             ^          ~~~~~~~
sqlite3odbc.h:257:12: note: declared here
  257 |     void (*rowfree)();          /**< Free function for rows */
      |            ^~~~~~~
sqlite3odbc.c: In function 'drvtables':
sqlite3odbc.c:14703:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(void *)' [-Wincompatible-pointer-types]
14703 |         s->rowfree = sqlite3_free;
      |                    ^
/usr/include/sqlite3.h:3203:17: note: 'sqlite3_free' declared here
 3203 | SQLITE_API void sqlite3_free(void*);
      |                 ^~~~~~~~~~~~
sqlite3odbc.c:14840:24: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
14840 |             s->rowfree = sqlite3_free_table;
      |                        ^
/usr/include/sqlite3.h:3077:17: note: 'sqlite3_free_table' declared here
 3077 | SQLITE_API void sqlite3_free_table(char **result);
      |                 ^~~~~~~~~~~~~~~~~~
sqlite3odbc.c: In function 'drvcolumns':
sqlite3odbc.c:15211:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
15211 |     s->rowfree = freerows;
      |                ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c: In function 'drvgettypeinfo':
sqlite3odbc.c:15786:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(void *)' [-Wincompatible-pointer-types]
15786 |     s->rowfree = sqlite3_free;
      |                ^
/usr/include/sqlite3.h:3203:17: note: 'sqlite3_free' declared here
 3203 | SQLITE_API void sqlite3_free(void*);
      |                 ^~~~~~~~~~~~
sqlite3odbc.c: In function 'drvstatistics':
sqlite3odbc.c:16166:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
16166 |     s->rowfree = freerows;
      |                ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
sqlite3odbc.c: In function 'drvexecute':
sqlite3odbc.c:18779:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(char **)' [-Wincompatible-pointer-types]
18779 |     s->rowfree = freerows;
      |                ^
sqlite3odbc.c:2150:1: note: 'freerows' declared here
 2150 | freerows(char **rowp)
      | ^~~~~~~~
make: *** [Makefile:98: sqlite3odbc.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 -I/usr/include/libxml2 xpath.c -o xpath.o >/dev/null 2>&1
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 blobtoxy.c -o blobtoxy.o >/dev/null 2>&1
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 zipfile.c -o zipfile.o >/dev/null 2>&1
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 csvtable.c -o csvtable.o >/dev/null 2>&1
libtool: compile:  gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDRIVER_VER_INFO=\"0.9998\" -c -I/usr/include -DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3COLUMNDATABASENAME=1 -DHAVE_SQLITE3COLUMNORIGINNAME=1 -DHAVE_SQLITE3LOADEXTENSION=1 -DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3PROFILE=1 -DHAVE_SQLITE3STRNICMP=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 -DHAVE_SQLITE3CLOSEV2=1 impexp.c -o impexp.o >/dev/null 2>&1
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.G9evVb (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.G9evVb (%build)
I: [iurt_root_command] ERROR: chroot