Description of problem:
Package postgresql fails to build from source in Fedora Rawhide.
Version-Release number of selected component (if applicable):
15.1-2.fc38
Steps to Reproduce:
koji build --scratch f39 postgresql-15.1-2.fc38.src.rpm
Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/postgresql
I don't think this has anything to do with Python --- it looks like an LLVM compatibility issue. Postgres has been letting LLVM's opaque-pointer changes slide, so there's no upstream fix for this yet. I'll try to stir up some action, but I think the only short-term fix is to delete --with-llvm from the configure options for rawhide.
According to Koschei history this failure first appeared with an upgrade of llvm-devel from 15.0.7-2.fc38 to 16.0.0-2.fc38 <https://koschei.fedoraproject.org/build/15267356> and was fixed in postgresql-15.4-1.fc38 and postgresql-15.3-1.fc39.