ault max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Europe/London creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctl -D /builddir/build/BUILD/psycopg2-2.9.3/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/psycopg2-2.9.3/datadir -l /builddir/build/BUILD/psycopg2-2.9.3/datadir/start.log start -o '-k /tmp -p 54154' -w waiting for server to start.... done server started + __TRAP_ACTIONS='pgtests_stop pgtests_cleanup ' + __pgtests_create_admins_db + createdb -h /tmp mockbuild --owner mockbuild -p 54154 + __pgtests_passwd mockbuild mockbuild + psql -d postgres --set=user=mockbuild --set=pass=mockbuild -tA ALTER ROLE + for _pgt_user in $PGTESTS_USERS + save_IFS=' ' + IFS=: + _user= + _pass= + for _part in $_pgt_user + test -z '' + _user=test + for _part in $_pgt_user + test -z test + _pass=test + createuser test + __pgtests_passwd test test + psql -d postgres --set=user=test --set=pass=test -tA ALTER ROLE + IFS=' ' + for _pgt_db in $PGTESTS_DATABASES + save_IFS=' ' + IFS=: + _db= + _user= + for _part in $_pgt_db + test -z '' + _user=test + for _part in $_pgt_db + test -z test + _db=test + createdb test --owner test + IFS=' ' + export PSYCOPG2_TESTDB=test + PSYCOPG2_TESTDB=test + export PSYCOPG2_TESTDB_HOST=/tmp + PSYCOPG2_TESTDB_HOST=/tmp + export PSYCOPG2_TESTDB_PORT=54154 + PSYCOPG2_TESTDB_PORT=54154 + cmd='import tests; tests.unittest.main(defaultTest='\''tests.test_suite'\'')' + PYTHONPATH=/builddir/build/BUILDROOT/python-psycopg2-2.9.3-6.fc37.riscv64/usr/lib64/python3.11/site-packages + /usr/bin/python3 -c 'import tests; tests.unittest.main(defaultTest='\''tests.test_suite'\'')' --verbose Traceback (most recent call last): File "", line 1, in File "/builddir/build/BUILD/psycopg2-2.9.3/tests/__init__.py", line 35, in from . import test_async File "/builddir/build/BUILD/psycopg2-2.9.3/tests/test_async.py", line 35, in from .testutils import (ConnectingTestCase, StringIO, skip_before_postgres, File "/builddir/build/BUILD/psycopg2-2.9.3/tests/testutils.py", line 30, in import ctypes File "/usr/lib64/python3.11/ctypes/__init__.py", line 8, in from _ctypes import Union, Structure, Array ImportError: /usr/lib64/python3.11/lib-dynload/_ctypes.cpython-311-riscv64-linux-gnu.so: undefined symbol: ffi_type_longdouble waiting for server to shut down....+ __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/psycopg2-2.9.3/datadir -w done server stopped + __clean_trap_action pgtests_stop + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_stop = pgtests_stop + : + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_stop + __new_actions='pgtests_cleanup ' + __TRAP_ACTIONS='pgtests_cleanup ' + for __func in $__TRAP_ACTIONS + pgtests_cleanup + : + rm -r /builddir/build/BUILD/psycopg2-2.9.3/datadir + __clean_trap_action pgtests_cleanup + __new_actions= RPM build errors: + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_cleanup + : + __TRAP_ACTIONS= error: Bad exit status from /var/tmp/rpm-tmp.jnOtWC (%check) Bad exit status from /var/tmp/rpm-tmp.jnOtWC (%check) 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/python-psycopg2.spec