As explained in the mailing list thread at <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/LXTYCRTWT5Q443VVTIWDUOB3BA3C2EFK/> "libpq-devel and postgresql-private-devel providing conflicting libpq.so symlink": The latest libpq-devel-14.1-2.fc36.x86_64 provides "pkgconfig(libpq) = 14.1" and the latest postgresql-private-devel-14.3-2.fc36.x86_64 provides "pkgconfig(libpq) = 14.3". That will apparently cause new builds of libreoffice (e.g., my scratch build (<https://koji.fedoraproject.org/koji/taskinfo?taskID=91173820>) to grow a dependency on postgresql-private-libs rather than on the expected libpq (as libreoffice-7.3.4.2-4.fc36.x86_64 still has). Which in turn causes new builds of libreoffice-flatpak-container to fail (because that bundles libpq rather than postgresql-private-libs), blocking a fix for <https://github.com/fedora-silverblue/issue-tracker/issues/336> "LibreOffice flatpak ignores OSTree layers, can't find installed JRE".
Hi Stephan, If you are blocked by this issue, I see two possibilities for how to fix(workaround) it fast. 1. I can update libpq in the released Fedora 36. Probably without problems, but it's a change that can affect someone. 2. Switched off pkgconfig in LibreOffice spec and built directly with libpq. From my point of view, the problem in pkgconfig, it should find a suitable component.
(In reply to Filip Januš from comment #1) > 1. I can update libpq in the released Fedora 36. Probably without > problems, but it's a change that can affect someone. > 2. Switched off pkgconfig in LibreOffice spec and built directly with > libpq. So I went with <https://src.fedoraproject.org/rpms/libreoffice/c/98b9b9b60e381737e4451f772e53e49d4c1998a9?branch=f36> "Related: rhbz#2121654 Work around pkgconfig(libpq) conflict" in libreoffice. That's arguably the better of the above two choices as long as the hijacking of the libpq-devel deliverables by postgresql-private-devel isn't fixed properly.
This issue was addressed by https://src.fedoraproject.org/rpms/postgresql/c/224667bda080f6b84fb4f54ffcec4d8d0a2b1aef?branch=rawhide in Rawhide.