postgresql-15.4-1.fc40 fails to build in Fedora 40 because tests fail: echo "+++ regress check in src/pl/plperl +++" && PATH="/builddir/build/BUILD/postgresql-15.4/tmp_install/usr/bin:/builddir/build/BUILD/postgresql-15.4/src/pl/plperl:$PATH" LD_LIBRARY_PATH="/builddir/build/BUILD/postgresql-15.4/tmp_install/usr/lib64" ../../../src/test/regress/pg_regress --temp-instance=./tmp_check --inputdir=. --bindir= --dbname=pl_regression plperl_setup plperl plperl_lc plperl_trigger plperl_shared plperl_elog plperl_util plperl_init plperlu plperl_array plperl_call plperl_transaction plperl_plperlu +++ regress check in src/pl/plperl +++ ============== creating temporary instance ============== ============== initializing database system ============== ============== starting postmaster ============== running on port 51700 with PID 19381 ============== creating database "pl_regression" ============== CREATE DATABASE ALTER DATABASE ALTER DATABASE ALTER DATABASE ALTER DATABASE ALTER DATABASE ALTER DATABASE ============== running regression test queries ============== test plperl_setup ... ok 47 ms test plperl ... ok 46 ms test plperl_lc ... ok 21 ms test plperl_trigger ... ok 39 ms test plperl_shared ... ok 22 ms test plperl_elog ... FAILED 26 ms test plperl_util ... ok 28 ms test plperl_init ... ok 37 ms test plperlu ... ok 17 ms test plperl_array ... ok 29 ms test plperl_call ... FAILED 26 ms test plperl_transaction ... ok 40 ms test plperl_plperlu ... ok 32 ms ============== shutting down postmaster ============== ======================= 2 of 13 tests failed. ======================= The differences that caused some tests to fail can be viewed in the file "/builddir/build/BUILD/postgresql-15.4/src/pl/plperl/regression.diffs". A copy of the test summary that you see above is saved in the file "/builddir/build/BUILD/postgresql-15.4/src/pl/plperl/regression.out". A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/16277449>.
I have added a temporary workaround. https://src.fedoraproject.org/rpms/postgresql/c/826b475b082c65098f8e9536ca547a7ddd338dd7?branch=rawhide The issue must be investigated. It seems to be related to this RPM commit https://github.com/dmnks/rpm/commit/941ee8709cc2ff39490af8d0816d5f5e8847df00
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.