python-mapnik fails to build with Python 3.10.0a5. + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/python-mapnik-7da019cf9eb12af8f8aa88b7d75789dfcd1e901b/datadir -l /builddir/build/BUILD/python-mapnik-7da019cf9eb12af8f8aa88b7d75789dfcd1e901b/datadir/start.log start -o '-k /tmp -p 47276' -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 47276 + __pgtests_passwd mockbuild mockbuild + psql -d postgres --set=user=mockbuild --set=pass=mockbuild -tA psql: symbol lookup error: psql: undefined symbol: PQgssEncInUse, version RHPG_10 + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/python-mapnik-7da019cf9eb12af8f8aa88b7d75789dfcd1e901b/datadir -w waiting for server to shut down.... 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/python-mapnik-7da019cf9eb12af8f8aa88b7d75789dfcd1e901b/datadir + __clean_trap_action pgtests_cleanup + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_cleanup + : + __TRAP_ACTIONS= error: Bad exit status from /var/tmp/rpm-tmp.gmSXhd (%check) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01958510-python-mapnik/ For all our attempts to build python-mapnik with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-mapnik/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This appears to be because you're using a broken version of psql and nothing to do with this package.
I wonder where is the problem thou. What does broken version of psql mean? We use psql from rawhide, rebuilt for Python 3.10. Honza, could you please help here?
Well it looks like it is linked against the wrong version of libpq or something - maybe it just needs a rebuild, or maybe it was a transient issue. There's a whole thread on devel about playing around with how libpq is built I think?
Another rebuild of postgresql indeed helped. Sorry for the noise.