c1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c connection.c -fPIC -DPIC -o .libs/psqlodbcw_la-connection.o In file included from connection.c:22: connection.h:14:10: fatal error: pqexpbuffer.h: No such file or directory 14 | #include "pqexpbuffer.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:682: psqlodbcw_la-connection.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/psqlodbc-13.01.0000' make[1]: Entering directory '/builddir/build/BUILD/psqlodbc-13.01.0000' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -DUNICODE_SUPPORT -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 -fcommon -c -o psqlodbcw_la-bind.lo `test -f 'bind.c' || echo './'`bind.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -DUNICODE_SUPPORT -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 -fcommon -c bind.c -fPIC -DPIC -o .libs/psqlodbcw_la-bind.o In file included from bind.c:23: statement.h:15:10: fatal error: pqexpbuffer.h: No such file or directory 15 | #include "pqexpbuffer.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:668: psqlodbcw_la-bind.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/psqlodbc-13.01.0000' make[1]: Entering directory '/builddir/build/BUILD/psqlodbc-13.01.0000' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -DUNICODE_SUPPORT -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 -fcommon -c -o psqlodbcw_la-info.lo `test -f 'info.c' || echo './'`info.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -DUNICODE_SUPPORT -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 -fcommon -c info.c -fPIC -DPIC -o .libs/psqlodbcw_la-info.o make[1]: Leaving directory '/builddir/build/BUILD/psqlodbc-13.01.0000' In file included from info.c:34: connection.h:14:10: fatal error: pqexpbuffer.h: No such file or directory 14 | #include "pqexpbuffer.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:661: psqlodbcw_la-info.lo] Error 1 make: *** [Makefile:479: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.XiSe8m (%build) Bad exit status from /var/tmp/rpm-tmp.XiSe8m (%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/postgresql-odbc.spec