ous-unwind-tables -fstack-clash-protection -I/usr/include/graphviz -c -o gda-mdb-provider.lo gda-mdb-provider.c libtool: compile: gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"5.2.10\" "-DPACKAGE_STRING=\"GNU Data Access 5.2.10\"" "-DPACKAGE_BUGREPORT=\"https://bugzilla.gnome.org/enter_bug.cgi?product=libgda\"" -DPACKAGE_URL=\"http://www.gnome-db.org\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_INT_P=8 -DHAVE_LOCALTIME_R=1 -DUSE_MLOCK=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GDU=1 -DGETTEXT_PACKAGE=\"libgda-5.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_UI=1 -DHAVE_GDKPIXBUF=1 -DHAVE_GTKSOURCEVIEW=1 -DHAVE_GOOCANVAS=1 -DHAVE_GRAPHVIZ=1 -DGRAPHVIZ_NEW_API=1 -DHAVE_GLADE=1 -DISO_CODES_PREFIX=\"/usr\" "-DHAVE_LIBCRYPTO=/**/" -DHAVE_ICONV=1 -DICONV_CONST= -DMDB_WITH_WRITE_SUPPORT=1 -DMDB_BIND_COLUMN_FOUR_ARGS=1 -DMDB_V07=1 -DHAVE_LIBSOUP=1 -DHAVE_LIBSECRET=1 -DHAVE_READLINE=1 -DHAVE_HISTORY=1 -DHAVE_TERMIOS_H=1 -I. -I../.. -I../../libgda -I../../libgda/sqlite -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -DLIBGDA_ABI_NAME=\"libgda-5.0\" -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DLIBGDA_DATA_DIR=\"/usr/share/libgda-5.0\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/graphviz -c gda-mdb-provider.c -fPIC -DPIC -o .libs/gda-mdb-provider.o gda-mdb-provider.c: In function 'gda_mdb_provider_open_connection': gda-mdb-provider.c:303:32: warning: passing argument 1 of 'mdb_set_date_fmt' from incompatible pointer type [-Wincompatible-pointer-types] 303 | mdb_set_date_fmt (cdata->mdb, "%Y-%m-%d %H:%M:%S"); | ~~~~~^~~~~ | | | MdbHandle * In file included from gda-mdb.h:33, from gda-mdb-provider.c:37: /usr/include/mdbtools.h:498:30: note: expected 'const char *' but argument is of type 'MdbHandle *' 498 | extern void mdb_set_date_fmt(const char *); | ^~~~~~~~~~~~ gda-mdb-provider.c:303:9: error: too many arguments to function 'mdb_set_date_fmt' 303 | mdb_set_date_fmt (cdata->mdb, "%Y-%m-%d %H:%M:%S"); | ^~~~~~~~~~~~~~~~ /usr/include/mdbtools.h:498:13: note: declared here 498 | extern void mdb_set_date_fmt(const char *); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:696: gda-mdb-provider.lo] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/libgda-5.2.10/providers/mdb' make[2]: *** [Makefile:753: all-recursive] Error 1 make[1]: *** [Makefile:551: all-recursive] Error 1 make: *** [Makefile:742: all-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tXHDB6 (%build) Bad exit status from /var/tmp/rpm-tmp.tXHDB6 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libgda5.spec