Bug 2186381

Summary: postgresql: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: postgresqlAssignee: Filip Januš <fjanus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: anon.amish, devrim, fjanus, hhorak, jmlich83, mkulik, osloup, pkubat, ppisar, praiskup, tgl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/postgresql
Whiteboard:
Fixed In Version: postgresql-15.4-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-13 07:36:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2135404, 2168842, 2231791    

Description Tomáš Hrnčiar 2023-04-13 05:39:43 UTC
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

Comment 1 Tom Lane 2023-04-14 14:21:11 UTC
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.

Comment 2 Tomáš Hrnčiar 2023-04-17 08:13:21 UTC
I have added the PYTHON3.12 tracker so postgresql is ignored by our tooling, feel free to ignore the label.

Comment 3 Fedora Release Engineering 2023-08-16 07:13:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 4 Petr Pisar 2023-09-13 07:36:06 UTC
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.