tack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_REENTRANT -c connection-factory.cxx -fPIC -DPIC -o .libs/connection-factory.o libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../.. -DLIBODB_MYSQL_DYNAMIC_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_REENTRANT -c connection.cxx -fPIC -DPIC -o .libs/connection.o libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../.. -DLIBODB_MYSQL_DYNAMIC_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_REENTRANT -c enum.cxx -fPIC -DPIC -o .libs/enum.o BUILDSTDERR: In file included from ../../odb/mysql/mysql.hxx:10, BUILDSTDERR: from ../../odb/mysql/enum.hxx:16, BUILDSTDERR: from enum.cxx:8: BUILDSTDERR: ../../odb/mysql/mysql-types.hxx:16:12: fatal error: mysql/mysql_time.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [Makefile:438: enum.lo] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from ../../odb/mysql/mysql.hxx:10, BUILDSTDERR: from connection-factory.cxx:17: BUILDSTDERR: ../../odb/mysql/mysql-types.hxx:16:12: fatal error: mysql/mysql_time.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [Makefile:438: connection-factory.lo] Error 1 BUILDSTDERR: In file included from ../../odb/mysql/mysql.hxx:10, BUILDSTDERR: from database.cxx:8: BUILDSTDERR: ../../odb/mysql/mysql-types.hxx:16:12: fatal error: mysql/mysql_time.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [Makefile:438: database.lo] Error 1 BUILDSTDERR: In file included from ../../odb/mysql/mysql.hxx:10, BUILDSTDERR: from ../../odb/mysql/database.hxx:18, BUILDSTDERR: from connection.cxx:8: BUILDSTDERR: ../../odb/mysql/mysql-types.hxx:16:12: fatal error: mysql/mysql_time.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. make[2]: Leaving directory '/builddir/build/BUILD/libodb-mysql-2.4.0/odb/mysql' BUILDSTDERR: make[2]: *** [Makefile:438: connection.lo] Error 1 BUILDSTDERR: make[1]: *** [Makefile:295: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/libodb-mysql-2.4.0/odb/mysql' BUILDSTDERR: make: *** [Makefile:418: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.N3hYfA (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.N3hYfA (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/libodb-mysql.spec